How do I map a GeoJSON using the Leaflet module in Drupal 9?

Viewed 11

I have a GeoJSON I would like to map using Leaflet in Drupal 9. I have both the Leaflet and Geofield modules installed. Is this all I need? I've found a separate Leaflet GeoJSON module, is this also necessary?

When I've tried to change the Data Source under the map style settings the only option available is Location. It appears I need to create a new Geofield but I've found the documentation unclear about how to do that.

0 Answers
Related