]> git.openstreetmap.org Git - rails.git/blobdiff - public/export/embed.html
Tweak embed.html attribution to match Legal FAQ recommendation.
[rails.git] / public / export / embed.html
index 20e1d2ac9672c0fddb66917d8485626aac8178e9..63b2c13f5b717438fced178725a2fd439426adc1 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 = 'Map Data (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", {