This commit is contained in:
randogoth 2023-05-20 20:50:07 +03:00
parent 2fbf52dc2c
commit 07e250ff3b

View file

@ -52,7 +52,7 @@ function onLocationFound(e) {
area = showNfcTags.getBounds(); area = showNfcTags.getBounds();
area.extend(e.latlng); area.extend(e.latlng);
map.fitBounds(area); map.fitBounds(area);
map.zoomOut(1, {animate: false}); //map.zoomOut(1, {animate: false});
pageload = false; pageload = false;
} }
locationMarker = L.marker(e.latlng, {icon: bluedot}).addTo(map) locationMarker = L.marker(e.latlng, {icon: bluedot}).addTo(map)