X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b8b9c3d1e9e412178426e9ba1b612e14e09f2320..efc65b86a23032e7867314082f80e1da3654b51a:/app/assets/javascripts/leaflet.map.js diff --git a/app/assets/javascripts/leaflet.map.js b/app/assets/javascripts/leaflet.map.js index 6adf2138d..c81f92e72 100644 --- a/app/assets/javascripts/leaflet.map.js +++ b/app/assets/javascripts/leaflet.map.js @@ -47,7 +47,7 @@ L.OSM.Map = L.Map.extend({ this.noteLayer = new L.FeatureGroup(); this.noteLayer.options = { code: "N" }; - this.dataLayer = new L.OSM.DataLayer(null); + this.dataLayer = new L.OSM.DataLayer(null, { asynchronous: true }); this.dataLayer.options.code = "D"; this.gpsLayer = new L.OSM.GPS({