]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/embed.js.erb
L.hash expects parseHash to return false if there isn't a location
[rails.git] / app / assets / javascripts / embed.js.erb
index 50c294b41b0da937e3d09d8ec5e030b115d9f0e8..59ef7f070294aa23caf8b65caf6c6633e6e311c7 100644 (file)
@@ -22,6 +22,8 @@ window.onload = function () {
     new L.OSM.TransportMap().addTo(map);
   } else if (args.layer == "mapquest") {
     new L.OSM.MapQuestOpen().addTo(map);
+  } else if (args.layer == "hot") {
+    new L.OSM.HOT().addTo(map);
   }
 
   if (args.marker) {