]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.map.js.erb
Add halo to currently selected note
[rails.git] / app / assets / javascripts / leaflet.map.js.erb
index 63fab53064d05261270bf243374cd41244ad7b6f..75700913fc571792d13a21725f821137b25dc521 100644 (file)
@@ -49,7 +49,7 @@ L.OSM.Map = L.Map.extend({
       })
     ];
 
       })
     ];
 
-    this.noteLayer = new L.LayerGroup();
+    this.noteLayer = new L.FeatureGroup();
     this.noteLayer.options = {code: 'N'};
 
     this.dataLayer = new L.OSM.DataLayer(null);
     this.noteLayer.options = {code: 'N'};
 
     this.dataLayer = new L.OSM.DataLayer(null);