for editing OpenStreetMap.</div>
<script type="text/javascript" src="/javascripts/swfobject.js"></script>
<script type="text/javascript">
for editing OpenStreetMap.</div>
<script type="text/javascript" src="/javascripts/swfobject.js"></script>
<script type="text/javascript">
fo.addVariable('lat',lat);
fo.addVariable('long',lon);
fo.addVariable('scale',sc);
fo.addVariable('lat',lat);
fo.addVariable('long',lon);
fo.addVariable('scale',sc);
-<% lon = params['lon'] || '-0.1' %>
-<% lat = params['lat'] || '51.5' %>
-<% zoom = params['zoom'] || '12' %>
+<% lon = params['lon'] || @user.home_lon || '-0.1' %>
+<% lat = params['lat'] || @user.home_lat || '51.5' %>
+<% zoom = params['zoom'] || 12 %>