no zoom
This commit is contained in:
parent
2fbf52dc2c
commit
07e250ff3b
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue