]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.html.erb
Make it possible to associate an openID during account creation
[rails.git] / app / views / site / index.html.erb
index 12cc1d275e4d7c0817f7bb4a5dd369bd0c93f72f..150bdce4d59804d9a699f754b316f1f36ffa8dd9 100644 (file)
@@ -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);