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:
Ævar Arnfjörð Bjarmason 2009-06-29 02:17:02 +00:00
parent b46b3c4327
commit b06f4750e1

View file

@ -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