]> git.openstreetmap.org Git - rails.git/blobdiff - public/export/embed.html
Create a branch to play around with some ideas for integrating OpenStreetBugs into...
[rails.git] / public / export / embed.html
index 55d11ebbe9fc5e6a826e37b0e6ea4942508173bd..35b93a2acdbb3ce59452cfd7cf9dbfb092663fb1 100644 (file)
@@ -3,6 +3,15 @@
   <head>
     <title>OpenStreetMap Embedded</title>
     <style type="text/css">
+        html {
+            width: 100%;
+            height: 100%;
+       }
+        body {
+            width: 100%;
+            height: 100%;
+            margin: 0px;
+        }
         #map {
             width: 100%;
             height: 100%;
@@ -31,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", {