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