Fix setPosition().
This commit is contained in:
parent
b8c500cdbc
commit
f4fa8ed40e
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ by the OpenStreetMap project and it's contributors.
|
|||
function setPosition(lat, lon, zoom) {
|
||||
var centre = new OpenLayers.LonLat(lon, lat);
|
||||
|
||||
map.setCenter(centre, zoom);
|
||||
setMapCenter(centre, zoom);
|
||||
|
||||
if (marker)
|
||||
removeMarkerFromMap(marker);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue