X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/4f826acfca0ede6b7d4868e8bb45a608c44582ce..61ae5e7af0dd759ddb1acfcea10adcbede9da58c:/app/views/site/index.rhtml
diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml
index 670f10a20..31b0a480e 100644
--- a/app/views/site/index.rhtml
+++ b/app/views/site/index.rhtml
@@ -1,11 +1,24 @@
-
-
-
+
+ <%= 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, 95472 or H2L4C1
+
+
+eg:Essen
+
+
<% lon = params['lon'] || '-0.1' %>
<% lat = params['lat'] || '51.5' %>
@@ -36,7 +49,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"} );