X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c96b5b951c9d39a22cf770e2402ef296fa2a6dc4..2f55a3f0a80974922678d7677902d169b3481693:/app/views/site/index.rhtml diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index e83261a2b..670f10a20 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -5,11 +5,11 @@ -
+ <% lon = params['lon'] || '-0.1' %> <% lat = params['lat'] || '51.5' %> -<% zoom = params['zoom'] || '5' %> +<% zoom = params['zoom'] || '4' %> - - - + map.events.register("moveend", map, function() { + var lonlat = map.getCenter(); - <% unless @user %> -