X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/aba184e7beb17744ef48242c8dfdb5f8e17ee621..0944c1cf02ca3f2b17c9261e57a9a0b0c210a40d:/app/views/site/edit.rhtml
diff --git a/app/views/site/edit.rhtml b/app/views/site/edit.rhtml
index 20b049198..e1ef556e0 100644
--- a/app/views/site/edit.rhtml
+++ b/app/views/site/edit.rhtml
@@ -1,7 +1,7 @@
-
This editor isn't working yet - currently you can only browse the aerial photos.
+
You need a Flash player to use Potlatch, the
OpenStreetMap Flash editor. You can
download Flash Player from Adobe.com.
@@ -18,8 +18,8 @@ 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' %>
doSWF(<%= lat %>,<%= lon %>,12);