I forgot to set fillColor/fillOpacity in commit [16214]. Without it
any area being rendered by OpenLayers would turn into a black hole since the default fillOpacity is 100%.
This commit is contained in:
parent
b46b3c4327
commit
b06f4750e1
1 changed files with 3 additions and 1 deletions
|
@ -114,7 +114,9 @@ function addObjectToMap(url, zoom, callback) {
|
||||||
style: {
|
style: {
|
||||||
strokeColor: "blue",
|
strokeColor: "blue",
|
||||||
strokeWidth: 3,
|
strokeWidth: 3,
|
||||||
strokeOpacity: 0.5
|
strokeOpacity: 0.5,
|
||||||
|
fillOpacity: 0.2,
|
||||||
|
fillColor: "lightblue"
|
||||||
},
|
},
|
||||||
projection: new OpenLayers.Projection("EPSG:4326"),
|
projection: new OpenLayers.Projection("EPSG:4326"),
|
||||||
displayInLayerSwitcher: false
|
displayInLayerSwitcher: false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue