]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.rhtml
Bloomin Americans that can't spell...
[rails.git] / app / views / site / index.rhtml
index 1b1a85d5b49a2e54d5b2e9176ff216d454da7d30..febb1fdb9b8aa2993e4b4d3eeaf978706a6772d0 100644 (file)
@@ -67,7 +67,7 @@
     zoom = scaleToZoom(<%= params['scale'].to_f() %>);
     <% end %>
 
     zoom = scaleToZoom(<%= params['scale'].to_f() %>);
     <% end %>
 
-    map.setCentre(centre, zoom);
+    map.setCenter(centre, zoom);
     <% end %>
 
     <% if marker %>
     <% end %>
 
     <% if marker %>