Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Openstreetmap is now distributed in ODbL than CCBYSA.
Module should change according to license change.
openlayers.layers.inc:
// OpenStreetMap Mapnik $layer = new stdClass(); $layer->api_version = 1; $layer->name = 'osm_mapnik'; $layer->title = 'OSM Mapnik'; $layer->description = 'The main OpenStreetMap map'; $layer->data = array( 'baselayer' => TRUE, 'attribution' => t(' ©OpenStreetMap contributors:open license', array( '@openstreetmap' => 'http://www.openstreetmap.org/', '@odbl' => 'http://www.openstreetmap.org/copyright', ) ),
Comments
Comment #1
yarma CreditAttribution: yarma commentedHi,
be careful that only the raw data is now under ODbl, the default Mapnik tiles are still using CC-BY-SA.
So for a simple map display there is no change to do !
ref: http://www.openstreetmap.org/copyright/en
Comment #2
ifrikThe best solution is to credit it as stated on http://www.openstreetmap.org/copyright
© OpenStreetMap contributors
and link that to http://www.openstreetmap.org/copyright - instead of generally to OpenStreetMap and without the year.
Comment #3
ifrikThis should be fixed in 7 and backported to 6
Comment #4
ifrikComment #5
PolThanks, fixed on dev.