Commit 64d47f5f authored by Justine FERRON's avatar Justine FERRON
Browse files

retrait modif couleur appcomponent, uniquement dans export foncier

parent a1600ccb
......@@ -367,18 +367,18 @@ export class AppComponent implements OnInit, AfterViewInit, OnDestroy {
icon: new Icon ({
src: 'data/target.png'
}),
color: 'rgba(255, 0, 105, 0.87)',
color: 'rgba(1, 149, 254, 0.85)',
offset: 0,
scale: 0,
fill: new Fill ({
color: 'rgba(255, 0, 105, 0.87)'
color: 'rgba(0, 0, 0, 0.35)'
}),
size: 7,
spacing: 10,
angle: 0
}),
stroke: new Stroke({
color: 'rgba(255, 0, 105, 0.87)',
color: 'rgba(1, 149, 254, 0.85)',
width: 3
})
});
......@@ -386,8 +386,8 @@ export class AppComponent implements OnInit, AfterViewInit, OnDestroy {
this.drawLayerService.setPolygonStyleOptions({
settedStyle: {
size: 7,
color: 'rgba(255, 0, 105, 0.87)',
background: 'rgba(255, 0, 105, 0.87)',
color: 'rgba(1, 149, 254, 0.85)',
background: 'rgba(0, 0, 0, 0.35)',
pattern: defaultPattern,
text: null
}
......
......@@ -96,6 +96,8 @@ export class ExportFoncierModalComponent implements OnInit, OnDestroy {
this.exportForm.get('surface').setValue(areaInHa);
this.drawLayerService.getPolygonStyleOptions().subscribe((style: any) => {
style.settedStyle.color = 'rgba(255, 0, 105, 0.87)';
style.settedStyle.background = 'rgba(255, 0, 105, 0.87)';
feature.set('settedStyle', style.settedStyle);
let vectorSource = new VectorSource({
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment