X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a805e0b545a37b19a4162e71850bef9aba9d6628..e336fc31c71c694397603aa05a9e48c99bc8fb5d:/app/assets/javascripts/leaflet.map.js.erb diff --git a/app/assets/javascripts/leaflet.map.js.erb b/app/assets/javascripts/leaflet.map.js.erb index 63fab5306..75700913f 100644 --- a/app/assets/javascripts/leaflet.map.js.erb +++ b/app/assets/javascripts/leaflet.map.js.erb @@ -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);