]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.layers.js
Fix hiding of sidebar loading indicator
[rails.git] / app / assets / javascripts / leaflet.layers.js
index c294f13ef2ef749065a4753e3a0e5f13a369a03b..eedf718d3a262ceb332f99d9dd89a87f264f918e 100644 (file)
@@ -176,6 +176,7 @@ L.OSM.layers = function(options) {
 
       addOverlay(map.noteLayer, 'notes', OSM.MAX_NOTE_REQUEST_AREA);
       addOverlay(map.dataLayer, 'data', OSM.MAX_REQUEST_AREA);
+      addOverlay(map.gpsLayer, 'gps', Number.POSITIVE_INFINITY);
     }
 
     options.sidebar.addPane($ui);