]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/embed.js.erb
Update path to js-cookie
[rails.git] / app / assets / javascripts / embed.js.erb
index 12a5a46a844adcc0ab02699781be12f79b05314f..d3b1ad4b28e8bdeccf7bc7d19d848e0294daef78 100644 (file)
@@ -1,3 +1,5 @@
+//= depend_on settings.yml
+//= depend_on settings.local.yml
 //= require leaflet/dist/leaflet-src
 //= require leaflet.osm
 //= require i18n
@@ -37,6 +39,8 @@ window.onload = function () {
 
   if (!args.layer || args.layer === "mapnik" || args.layer === "osmarender" || args.layer === "mapquest") {
     new L.OSM.Mapnik(mapnikOptions).addTo(map);
+  } else if (args.layer === "cyclosm") {
+    new L.OSM.CyclOSM().addTo(map);
   } else if (args.layer === "cyclemap" || args.layer === "cycle map") {
     new L.OSM.CycleMap(thunderforestOptions).addTo(map);
   } else if (args.layer === "transportmap") {