]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.rhtml
Update the links when the active layers change.
[rails.git] / app / views / site / index.rhtml
index a83053c070249f81f4ad63db24a9c8ce99026075..27bcd618e34a1b173add177bc00cc469748f4341 100644 (file)
@@ -114,6 +114,7 @@ by the OpenStreetMap project and it's contributors.
     map.events.register("zoomend", map, updateKey);
 
     map.events.register("moveend", map, updateLocation);
+    map.events.register("changelayer", map, updateLocation);
     updateLocation();
 
     handleResize();