X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/17e07539629ee8a1fdb5bebbb4c287720905066e..dc3af4040e6d7ea72a72bba7b1383d59a183f657:/app/views/site/index.html.erb diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index 12cc1d275..150bdce4d 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -191,6 +191,10 @@ end return getMapCenter(); } + function getZoom() { + return getMapZoom(); + } + function setPosition(lat, lon, zoom, min_lon, min_lat, max_lon, max_lat) { var centre = new OpenLayers.LonLat(lon, lat);