Fix #12
This commit is contained in:
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…
x
Reference in New Issue
Block a user