X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/516aef5d07eaaad43311bc60018648b952d95a1d..19965b2a5d89fdec9a6bb05f80b2b63dc632f267:/app/views/site/index.rhtml diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index 1d8444221..98ab2ff1a 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -8,7 +8,23 @@ <%= render :partial => 'key' %> <%= render :partial => 'search' %> -
+
+ +
+ +
+ + + + + + + +
http://creativecommons.org/licenses/by-sa/2.0/http://openstreetmap.org/
+Licensed under the Creative Commons Attribution-Share Alike 2.0 license +by the OpenStreetMap project and it's contributors. +
+
<% if params['mlon'] and params['mlat'] %> <% marker = true %> @@ -94,6 +110,8 @@ marker = addMarkerToMap(lonLatToMercator(new OpenLayers.LonLat(<%= mlon %>, <%= mlat %>))); <% end %> + map.events.register("zoomend", map, updateKey); + map.events.register("moveend", map, updateLocation); updateLocation();