This commit is contained in:
parent
a08da30a10
commit
e287ba1043
1 changed files with 3 additions and 3 deletions
|
@ -55,9 +55,9 @@
|
||||||
minZoom: 12
|
minZoom: 12
|
||||||
});
|
});
|
||||||
|
|
||||||
var latlng = leaflet.latLng(latitude, longitude);
|
const latlng = leaflet.latLng(latitude, longitude);
|
||||||
console.log(latitude)
|
alert(latitude)
|
||||||
console.log(longitude)
|
aler(longitude)
|
||||||
map.setView(latlng, 13);
|
map.setView(latlng, 13);
|
||||||
map.setMaxBounds(map.getBounds());
|
map.setMaxBounds(map.getBounds());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue