From: Richard Fairhurst Date: Fri, 18 May 2007 16:41:41 +0000 (+0000) Subject: zoom X-Git-Tag: live~8422 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/bac5d79c7282c3498c1eee2d00d32e1ab93d0c2e zoom --- 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 %>);