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.
I'd love to use an alternative tileset from http://maps.stamen.com with OpenLayers and OSM in Drupal.
Is this possible from the UI? If not, what would be the most Drupal-ish way to get this done?
Thanks!
Comments
Comment #1
basvredelingCleaning up the issue queue for #2670484: Stable 7.x-2.0 release.
The best way would be to implement hook_openlayers_layer_types(). Define an openlayer layer type. Examples can be found in the plugins/layer_types directory. openlayers_layer_type_osm.inc / openlayers_layer_type_osm.js is a great example.
It's not really possible via the UI unless the map tile provider allows for a simple method like xyz images or wms / tms, etc. Which doesn't seem to be the case for Stamen maps.