This commit is contained in:
parent
a8264ac7db
commit
aa22f698b1
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@
|
|||
minZoom: 12
|
||||
});
|
||||
|
||||
var latlng = L.latLng(latitude, longitude);
|
||||
var latlng = leaflet.latLng(latitude, longitude);
|
||||
map.setView(latlng, 13);
|
||||
map.setMaxBounds(map.getBounds());
|
||||
|
||||
|
|
Loading…
Reference in a new issue