|
|
@ -32,7 +32,7 @@ function leafletMap() {
|
|
|
|
showPopup: false,
|
|
|
|
showPopup: false,
|
|
|
|
locateOptions: {
|
|
|
|
locateOptions: {
|
|
|
|
enableHighAccuracy: true,
|
|
|
|
enableHighAccuracy: true,
|
|
|
|
maxZoom: localStorage.getItem("trackzoom") == null ? 16 : localStorage.getItem("trackzoom")
|
|
|
|
maxZoom: localStorage.getItem("trackzoom") == null ? 16 : localStorage.getItem("trackzoom") * 1
|
|
|
|
},
|
|
|
|
},
|
|
|
|
setView: "untilPanOrZoom",
|
|
|
|
setView: "untilPanOrZoom",
|
|
|
|
icon: "far fa-compass",
|
|
|
|
icon: "far fa-compass",
|
|
|
|