]> git.openstreetmap.org Git - rails.git/blobdiff - public/javascripts/map.js
I forgot to set fillColor/fillOpacity in commit [16214]. Without it
[rails.git] / public / javascripts / map.js
index 7c979822711c0c2388386212ffbb4c8d2aa34978..9773ab348c4505ff881dbabeaba6c155828b6247 100644 (file)
@@ -114,7 +114,9 @@ function addObjectToMap(url, zoom, callback) {
       style: {
           strokeColor: "blue",
           strokeWidth: 3,
-          strokeOpacity: 0.5
+          strokeOpacity: 0.5,
+          fillOpacity: 0.2,
+          fillColor: "lightblue"
       },
       projection: new OpenLayers.Projection("EPSG:4326"),
       displayInLayerSwitcher: false