X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/51c11f2ef522182ef5ac8a74b3165f29762771d2..4e8ed960a7aaffca8feb7a676d2f858c8aa4ba00:/public/export/embed.html diff --git a/public/export/embed.html b/public/export/embed.html index ae82eb54a..af45a6b1f 100644 --- a/public/export/embed.html +++ b/public/export/embed.html @@ -37,13 +37,20 @@ attribution: attribution }); map.addLayer(mapnik); - } else { + } else if (args.layer == "osmarender") { var osmarender = new OpenLayers.Layer.OSM.Osmarender("Osmarender", { displayOutsideMaxExtent: true, wrapDateLine: true, attribution: attribution }); map.addLayer(osmarender); + } else if (args.layer == "cycle map") { + var cyclemap = new OpenLayers.Layer.OSM.CycleMap("Cycle Map", { + displayOutsideMaxExtent: true, + wrapDateLine: true, + attribution: attribution + }); + map.addLayer(cyclemap); } if (args.marker) {