X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aba184e7beb17744ef48242c8dfdb5f8e17ee621..0f727ece17c09c975526d61b04c7ff13965b90e0:/app/views/site/edit.rhtml diff --git a/app/views/site/edit.rhtml b/app/views/site/edit.rhtml index 20b049198..f6145d676 100644 --- a/app/views/site/edit.rhtml +++ b/app/views/site/edit.rhtml @@ -1,8 +1,3 @@ -

This editor isn't working yet - currently you can only browse the aerial photos. -See Trac #402 for more details. -You may also want to look at JOSM for a -fully functional desktop client editor for Open Street Map.

-
You need a Flash player to use Potlatch, the OpenStreetMap Flash editor. You can download Flash Player from Adobe.com. @@ -18,9 +13,10 @@ fully functional desktop client editor for Open Street Map.

fo.addVariable('token','<%= @user.token %>'); fo.write("mapcontent"); } -<% lon = params['lon'] || '-0.1' %> -<% lat = params['lat'] || '51.5' %> +<% 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 %>);