]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_key.rhtml
Back out attempt to commit partial support for POIs as this is not at
[rails.git] / app / views / site / _key.rhtml
index 3208900788dbe37421be3865245132d309137c89..c6b6fe29a5912448f020c3a07dcb63cf5de60a7f 100644 (file)
@@ -8,8 +8,8 @@
     var zoomlevel = map.getZoom();
 
     if (zoomlevel<7 )      { var imgname = 'keymapnik6.png'; }
     var zoomlevel = map.getZoom();
 
     if (zoomlevel<7 )      { var imgname = 'keymapnik6.png'; }
-    else if (zoomlevel<12) { var imgname = 'keymapnik'+zoomlevel+'.png'; }
-    else                   { var imgname = 'keymapnik12.png'; }
+    else if (zoomlevel<13) { var imgname = 'keymapnik'+zoomlevel+'.png'; }
+    else                   { var imgname = 'keymapnik13.png'; }
 
     updateSidebar("Map key", "<p><img src='images/"+imgname+"' /></p>");
     openSidebar("210px");
 
     updateSidebar("Map key", "<p><img src='images/"+imgname+"' /></p>");
     openSidebar("210px");