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 |
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 ♦ 1
To answer your edit, there is an example attribution image shown at http://www.openstreetmap.org/copyright
(14 Mar '13, 11:44)
EdLoach ♦
Which matches the updated OpenLayers attribution :)
(14 Mar '13, 15:48)
scai ♦
Github version says, resource identified as js but transferred with mime type as html. what is work around this?
(18 Mar '13, 09:30)
amritkarma
1
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.
(18 Mar '13, 10:04)
scai ♦
1
i was trying to add the script file directly (using html script tag), no more needed now, i changed the attribution info in app.
(21 Mar '13, 04:09)
amritkarma
map.addLayer(new OpenLayers.Layer.OSM("OSM",null,{attribution: "© OpenStreetMap contributors (ODbL)"}));
(15 Jul '13, 08:55)
amritkarma
showing 5 of 6
show 1 more comments
|