From: Ævar Arnfjörð Bjarmason Date: Mon, 29 Jun 2009 02:17:02 +0000 (+0000) Subject: I forgot to set fillColor/fillOpacity in commit [16214]. Without it X-Git-Tag: live~6907 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/b06f4750e1235e734c34846c05dcb90095ed2e56 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%. --- diff --git a/public/javascripts/map.js b/public/javascripts/map.js index 7c9798227..9773ab348 100644 --- a/public/javascripts/map.js +++ b/public/javascripts/map.js @@ -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