X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0944c1cf02ca3f2b17c9261e57a9a0b0c210a40d..bac5d79c7282c3498c1eee2d00d32e1ab93d0c2e:/app/views/site/edit.rhtml?ds=inline diff --git a/app/views/site/edit.rhtml b/app/views/site/edit.rhtml index e1ef556e0..c93927ae3 100644 --- a/app/views/site/edit.rhtml +++ b/app/views/site/edit.rhtml @@ -20,7 +20,8 @@ fully functional desktop client editor for OpenStreetMap.

--> } <% lon = params['lon'] || @user.home_lon || '-0.1' %> <% lat = params['lat'] || @user.home_lat || '51.5' %> +<% zoom = params['zoom'] || 12 %> - doSWF(<%= lat %>,<%= lon %>,12); + doSWF(<%= lat %>,<%= lon %>,<%= zoom %>);