Updated style of the highlighted layer
This commit is contained in:
parent
619c67c5ec
commit
58de632deb
|
@ -645,10 +645,10 @@ 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, 255, 255, 0.8));
|
strokeOptions.setColor(new Color(255, 255, 0, 0.8));
|
||||||
strokeOptions.setWidth(5);
|
strokeOptions.setWidth(5);
|
||||||
Stroke stroke = new Stroke(strokeOptions);
|
Stroke stroke = new Stroke(strokeOptions);
|
||||||
stroke.setWidth(3);
|
stroke.setWidth(2);
|
||||||
style.setStroke(stroke);
|
style.setStroke(stroke);
|
||||||
|
|
||||||
Vector vectorSource = OLFactory.createVectorSource();
|
Vector vectorSource = OLFactory.createVectorSource();
|
||||||
|
|
Loading…
Reference in New Issue