X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0944c1cf02ca3f2b17c9261e57a9a0b0c210a40d..9db4f4e13c3a329dd9736c3d8db18c893f064ea2:/app/views/site/edit.rhtml
diff --git a/app/views/site/edit.rhtml b/app/views/site/edit.rhtml
index e1ef556e0..f6145d676 100644
--- a/app/views/site/edit.rhtml
+++ b/app/views/site/edit.rhtml
@@ -1,8 +1,3 @@
-
-
You need a Flash player to use Potlatch, the
OpenStreetMap Flash editor. You can
download Flash Player from Adobe.com.
@@ -20,7 +15,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 %>);