X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cbb7d974052c079dff81b70d40c0d134b14298ae..2408dd333f43c98c23c5539e90b327055a06659a:/app/views/user/account.rhtml diff --git a/app/views/user/account.rhtml b/app/views/user/account.rhtml index 9be6a1dbc..54702ace9 100644 --- a/app/views/user/account.rhtml +++ b/app/views/user/account.rhtml @@ -66,7 +66,7 @@ var map = createMap("map"); - map.setCentre(centre, zoom); + map.setCenter(centre, zoom); <% if marker %> marker = addMarkerToMap(lonLatToMercator(new OpenLayers.LonLat(<%= mlon %>, <%= mlat %>)), null, "Your location");