]> git.openstreetmap.org Git - rails.git/blobdiff - public/export/embed.html
Don't process overlay layers in old-style layer configurations
[rails.git] / public / export / embed.html
index 20e1d2ac9672c0fddb66917d8485626aac8178e9..35b93a2acdbb3ce59452cfd7cf9dbfb092663fb1 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", {