diff --git a/www/assets/js/map_leaflet.js b/www/assets/js/map_leaflet.js index dc18f69..5ea6251 100644 --- a/www/assets/js/map_leaflet.js +++ b/www/assets/js/map_leaflet.js @@ -36,6 +36,7 @@ function leafletMap() { map.locateControl = L.control.locate({ flyTo: false, // Hopefully this will lower the number of map tile requests when location is found showPopup: false, + keepCurrentZoomLevel: true, // Stop it from snapping back to max zoom locateOptions: { enableHighAccuracy: true, maxZoom: 18