]> git.openstreetmap.org Git - rails.git/commitdiff
Improvements to changeset bbox styling
authorAaron Lidman <aaronlidman@gmail.com>
Tue, 19 Nov 2013 01:29:55 +0000 (17:29 -0800)
committerAaron Lidman <aaronlidman@gmail.com>
Tue, 19 Nov 2013 01:29:55 +0000 (17:29 -0800)
app/assets/javascripts/index/history.js
app/assets/javascripts/leaflet.map.js.erb

index 367ad5214247013221eeda4e7f3402217c3c6170..75b02ec07066e1b484a2fa0d739e7bd0ad822cb8 100644 (file)
@@ -91,7 +91,7 @@ OSM.History = function(map) {
     for (var i = 0; i < changesets.length; ++i) {
       var changeset = changesets[i],
         rect = L.rectangle(changeset.bounds,
-          {weight: 1, color: "#FF9500", opacity: 1, fillColor: "#FFFFBF", fillOpacity: 0});
+          {weight: 2, color: "#FF9500", opacity: 1, fillColor: "#FFFFBF", fillOpacity: 0});
       rect.id = changeset.id;
       rect.addTo(group);
     }
index 69fd1f3e3da6531540a926d11d7f1579faddde60..bfb3685a1750e9fd772707c2922b5646c497426d 100644 (file)
@@ -178,10 +178,11 @@ L.OSM.Map = L.Map.extend({
     };
 
     var changesetStyle = {
-      weight: 1,
+      weight: 4,
       color: '#FF9500',
       opacity: 1,
-      fillOpacity: 0
+      fillOpacity: 0,
+      clickable: false
     };
 
     this._object = object;