Add attribution for OSM.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5234 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
height: 512px;
|
||||
border: 1px solid gray;
|
||||
}
|
||||
.olControlAttribution { bottom: 0px!important }
|
||||
</style>
|
||||
|
||||
<script src='http://dev.virtualearth.net/mapcontrol/v3/mapcontrol.js'></script>
|
||||
@@ -80,7 +81,8 @@
|
||||
"http://tile.openstreetmap.org/",
|
||||
{
|
||||
type: 'png', getURL: osm_getTileURL,
|
||||
displayOutsideMaxExtent: true
|
||||
displayOutsideMaxExtent: true,
|
||||
attribution: '<a href="http://www.openstreetmap.org/">OpenStreetMap</a>'
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user