master
Skylar Ittner 5 years ago
parent d3d41a5e75
commit 0447233d33

@ -34,7 +34,13 @@ function leafletMap() {
}
map.locateControl = L.control.locate({
flyTo: true,
flyTo: false, // Hopefully this will lower the number of map tile requests when location is found
showPopup: false,
locateOptions: {
enableHighAccuracy: true,
maxZoom: 18
},
setView: "untilPan",
icon: "far fa-compass",
iconLoading: "far fa-compass fa-spin"
}).addTo(map);

Loading…
Cancel
Save