<p>The OpenStreetMap database is currently in read-only mode while
essential database maintenance work is carried out.
</p>
<p>The OpenStreetMap database is currently in read-only mode while
essential database maintenance work is carried out.
</p>
-<%= render :partial => 'search', :locals => { :onopen => "resizeMap();", :onclose => "resizeMap();" } %>
+<%= render :partial => 'sidebar', :locals => { :onopen => "resizeMap();", :onclose => "resizeMap();" } %>
+<%= render :partial => 'search' %>
fo.addVariable('long',lon);
fo.addVariable('scale',sc);
fo.addVariable('token','<%= session[:token] %>');
fo.addVariable('long',lon);
fo.addVariable('scale',sc);
fo.addVariable('token','<%= session[:token] %>');
- $("map").style.left = (search_results_width) + "px";
- $("map").style.width = ($("content").offsetWidth - search_results_width) + "px";
+ $("map").style.left = (sidebar_width) + "px";
+ $("map").style.width = ($("content").offsetWidth - sidebar_width) + "px";