X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0166abe88a2c082500f208d6f6be1343e6d0bedd..a7df5b42410910743e86e28ad7458f05fc6e3924:/app/views/site/index.html.erb?ds=sidebyside 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);