I forgot to set fillColor/fillOpacity in commit [16214]. Without it
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 29 Jun 2009 02:17:02 +0000 (02:17 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 29 Jun 2009 02:17:02 +0000 (02:17 +0000)
any area being rendered by OpenLayers would turn into a black hole
since the default fillOpacity is 100%.

public/javascripts/map.js

index 7c97982..9773ab3 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