</script>
<% if @user.home_lat.nil? or @user.home_lon.nil? %>
- <% lon = h(params['lon']) || '-0.1' %>
- <% lat = h(params['lat']) || '51.5' %>
- <% zoom = h(params['zoom']) || '4' %>
+ <% lon = h(params['lon'] || '-0.1') %>
+ <% lat = h(params['lat'] || '51.5') %>
+ <% zoom = h(params['zoom'] || '4') %>
<% else %>
<% marker = true %>
<% mlon = @user.home_lon %>
<% end %>
<script type="text/javascript" src="/openlayers/OpenLayers.js"></script>
+<script type="text/javascript" src="/openlayers/OpenStreetMap.js"></script>
<%= javascript_include_tag 'map.js' %>
<script type="text/javascript">