task_24532 #13
|
@ -485,11 +485,6 @@ public abstract class OpenLayerMap {
|
||||||
wmsLayer.setSource(imageWMSSource);
|
wmsLayer.setSource(imageWMSSource);
|
||||||
|
|
||||||
wmsLayer.changed();
|
wmsLayer.changed();
|
||||||
|
|
||||||
wmsLayer.changed();
|
|
||||||
|
|
||||||
//map.addLayer(wmsLayer);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -647,7 +642,7 @@ public abstract class OpenLayerMap {
|
||||||
|
|
||||||
Style style = new Style();
|
Style style = new Style();
|
||||||
StrokeOptions strokeOptions = new StrokeOptions();
|
StrokeOptions strokeOptions = new StrokeOptions();
|
||||||
strokeOptions.setColor(new Color(255, 0, 0, 0.8));
|
strokeOptions.setColor(new Color(255, 255, 51, 0.8));
|
||||||
strokeOptions.setWidth(5);
|
strokeOptions.setWidth(5);
|
||||||
Stroke stroke = new Stroke(strokeOptions);
|
Stroke stroke = new Stroke(strokeOptions);
|
||||||
stroke.setWidth(2);
|
stroke.setWidth(2);
|
||||||
|
|
Loading…
Reference in New Issue