]> git.openstreetmap.org Git - rails.git/blobdiff - public/javascripts/map.js
Lookup the user before setting the locale. Fixes #2068.
[rails.git] / public / javascripts / map.js
index c63461fe203be6c6559464f2c06f649e935ada0d..9773ab348c4505ff881dbabeaba6c155828b6247 100644 (file)
@@ -111,6 +111,13 @@ function addMarkerToMap(position, icon, description) {
 function addObjectToMap(url, zoom, callback) {
    var layer = new OpenLayers.Layer.GML("Objects", url, {
       format: OpenLayers.Format.OSM,
+      style: {
+          strokeColor: "blue",
+          strokeWidth: 3,
+          strokeOpacity: 0.5,
+          fillOpacity: 0.2,
+          fillColor: "lightblue"
+      },
       projection: new OpenLayers.Projection("EPSG:4326"),
       displayInLayerSwitcher: false
    });