]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.map.js
Disabling asynchronous data layer rendering
[rails.git] / app / assets / javascripts / leaflet.map.js
index b301711a2679758deea332603d34acf13acc363d..2ea3352ab93b59e897ca63f04fcd384dd7b392ae 100644 (file)
@@ -43,7 +43,7 @@ L.OSM.Map = L.Map.extend({
     this.noteLayer = new L.FeatureGroup();
     this.noteLayer.options = { code: "N" };
 
-    this.dataLayer = new L.OSM.DataLayer(null, { asynchronous: true });
+    this.dataLayer = new L.OSM.DataLayer(null);
     this.dataLayer.options.code = "D";
 
     this.gpsLayer = new L.OSM.GPS({