X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6fae46122e103048f1d8308d5403f443296965a3..fe159b241720f5070fcd4b0b9e001b2b98950941:/app/views/site/_id.html.erb diff --git a/app/views/site/_id.html.erb b/app/views/site/_id.html.erb index 757326ec3..d93ee091e 100644 --- a/app/views/site/_id.html.erb +++ b/app/views/site/_id.html.erb @@ -10,7 +10,7 @@ params.id = mapParams.object.type[0] + mapParams.object.id; mapParams = OSM.parseHash(location.hash); if (mapParams.center) { - params.map = mapParams.zoom + '/' + mapParams.center.lat + '/' + mapParams.center.lon; + params.map = mapParams.zoom + '/' + mapParams.center.lat + '/' + mapParams.center.lng; } } else { <% if @lat && @lon -%>