<div id="geocoder">
- <%= start_form_tag :controller => 'site', :action => 'search' %>
+ <%= start_form_tag :controller => 'way_tag', :action => 'search' %>
<%= text_field 'query', 'query'%>
<%= submit_tag 'Search' %>
<%= end_form_tag %>
function init(){
OpenLayers.Util.onImageLoadError = function() {
- this.src = "http://<%= SERVER_URL %>/javascript/img/404.png";
+ this.src = "http://www.openstreetmap.org/javascript/img/404.png";
}
map = new OpenLayers.Map( "map",
{maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34), maxZoomLevel:18, maxResolution:156543, units:'meters', projection: "EPSG:41001"} );