When using Openlayers.Layer.Osm and Openlayers.Control.Attribution, the attribution information shows
But OpenStreetMap has changed to ODBL license. UPDATED I am using data from OSM and tiles from mapnik, how do i attribute both at once? asked 14 Mar '13, 05:05 amritkarma edited 18 Mar '13, 09:31 |
One Answer:
That's correct. The latest stable release (2.12) still has an outdated layer attribution. Yet this has already been fixed in the repository about 6 months ago. You can apply this change in your version manually or use the development version from GitHub. answered 14 Mar '13, 07:16 scai ♦ showing 5 of 6 show 1 more comments |
To answer your edit, there is an example attribution image shown at https://www.openstreetmap.org/copyright
Which matches the updated OpenLayers attribution :)
Github version says, resource identified as js but transferred with mime type as html. what is work around this?
What exactly are you trying to download? You can get the single file containing the layer attribution text or the whole OpenLayers project as a zip. But remember that his is not a stable release.
i was trying to add the script file directly (using html script tag), no more needed now, i changed the attribution info in app.
map.addLayer(new OpenLayers.Layer.OSM("OSM",null,{attribution: "© OpenStreetMap contributors (ODbL)"}));