Use GeoJson Export in Leaflet View Map

Created on 14 March 2025, about 2 months ago

Problem/Motivation

I have a view that renders ~ 10,000 nodes on a leaflet map. At least, that's what I am trying to do.
Loading all these entities crashes the site so I am looking for a way to accomplish this. While searching for a solution I found Views GeoJson module which allows me to export geofield data as GeoJson and makes it available at a custom path. However, I don't find a way to fetch this exported data in my views leaflet map.

Steps to reproduce

  • I am using the latest D10 version
  • I am using the latest Leaflet module version
  • I am using the latest Views GeoJson module version

Proposed resolution

I was hoping to find an option in the leaflet views setting where I could fetch the GeoJson data into my map. So far, I haven't found a way to do this in the UI. Does anybody know how this can be done?

💬 Support request
Status

Active

Version

10.2

Component

Miscellaneous

Created by

🇩🇪Germany ThuleNB

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024