]> git.openstreetmap.org Git - rails.git/blobdiff - public/export/embed.html
Removed duplicate require_terms_seen definition
[rails.git] / public / export / embed.html
index 20e1d2ac9672c0fddb66917d8485626aac8178e9..bba67025572fc05642d44511f876b51032b2c5a5 100644 (file)
@@ -40,7 +40,7 @@
               projection: new OpenLayers.Projection("EPSG:900913")
             });
 
-            var attribution = 'Data by <a target="_parent" href="http://www.openstreetmap.org">OpenStreetMap</a>';
+            var attribution = '(C) <a target="_parent" href="http://www.openstreetmap.org">OpenStreetMap</a> and contributors, <a target="_parent" href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>';
             var args = OpenLayers.Util.getParameters();
             if (!args.layer || args.layer == "mapnik") {
                 var mapnik = new OpenLayers.Layer.OSM.Mapnik("Mapnik", {
@@ -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,