X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cdb9d2527a8524eea02856c27fff10ad5c138344..12f9bedbf5a949752a45184e760eada952bf8fc2:/app/views/site/index.rhtml?ds=sidebyside
diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml
index 6971e5faa..35e542699 100644
--- a/app/views/site/index.rhtml
+++ b/app/views/site/index.rhtml
@@ -1,11 +1,19 @@
- <%= start_form_tag :controller => 'way_tag', :action => 'search' %>
- <%= text_field 'query', 'query'%>
+ <%= start_form_tag :controller => 'geocoder', :action => 'search' %>
+ <%= text_field 'query', 'postcode'%>
+ <%= text_field 'query', 'place_name'%>
<%= submit_tag 'Search' %>
<%= end_form_tag %>
+
+eg SW15 6JH
+
+Essen
+
+
+
@@ -38,7 +46,7 @@
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"} );