]> git.openstreetmap.org Git - rails.git/blobdiff - public/export/embed.html
Change the test for whether the CTs have been seen to use the
[rails.git] / public / export / embed.html
index 35b93a2acdbb3ce59452cfd7cf9dbfb092663fb1..bba67025572fc05642d44511f876b51032b2c5a5 100644 (file)
@@ -56,7 +56,7 @@
                    attribution: attribution
                 });
                 map.addLayer(osmarender);
-            } else if (args.layer == "cycle map") {
+            } else if (args.layer == "cyclemap" || args.layer == "cycle map") {
                 var cyclemap = new OpenLayers.Layer.OSM.CycleMap("Cycle Map", {
                    displayOutsideMaxExtent: true,
                    wrapDateLine: true,