X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f2be4b9449f31be5f81d8f32d966d06e62955764..d736a158bee0ff17bdba30496b87e1bfe20e2910:/app/views/site/index.rhtml diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index 625f17a10..98ab2ff1a 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -12,6 +12,20 @@ +
+ + + + + + + +
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 %> <% mlon = params['mlon'] %> @@ -96,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();