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.
Since we are about to upgrade from Openlayers 2.x to 3.x, and that upgrade involves completely rebuilding our map configuration, it's worth taking a moment to explore an alternative: Leaflet.js (http://drupal.org/project/leaflet).
Comments
Comment #1
m.stentaTesting the Leaflet.js module now: https://www.drupal.org/project/leaflet
Will also need the Leaflet Widget module: https://www.drupal.org/project/leaflet_widget
Comment #2
m.stentaQuickly set the area geofield field formatter and widget to use Leaflet and Leaflet Widget, respectively.
Initial impressions:
Comment #3
m.stentaSee this related issue for a full list of everything we're doing with Openlayers currently.
Comment #4
m.stentaReasons NOT to switch to Leaflet.js:
Reasons TO switch to Leaflet.js:
Comment #5
m.stentaLeaflet widget cannot create complex geometries (yet).
Comment #6
m.stentaRelevant issues in the Leaflet Widget issue queue:
#2335993: Geo-code from another field
#2392651: WMS layer support
This is also neat: https://www.drupal.org/project/leaflet_label
And this nifty graphic: #1807358: Drupal Mapping Diagrams
Comment #7
m.stentaAt this point I'm leaning towards sticking with Openlayers.
If I change my mind, I'll either reopen this ticket for further consideration or start some new ones.