X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f02729fa9a29089224502fecc7bf347fa73db0dd..dbd88d893f3c3fce9cafd666b94396988646d81f:/app/assets/javascripts/leaflet.layers.js diff --git a/app/assets/javascripts/leaflet.layers.js b/app/assets/javascripts/leaflet.layers.js index c294f13ef..eedf718d3 100644 --- a/app/assets/javascripts/leaflet.layers.js +++ b/app/assets/javascripts/leaflet.layers.js @@ -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);