]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.map.js
Fix heatmap month titles in Western Hemisphere
[rails.git] / app / assets / javascripts / leaflet.map.js
index 6adf2138d79c65c3826a10bce5b82a9617e0e3eb..c81f92e72847477b021a486db1550fece9f48ca9 100644 (file)
@@ -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({