Repository navigation
Pinned down leaflet.markercluster to the version that works with the current Leaflet - #2494
Merged
Merged
Conversation
tomkralidis
approved these changes
Nov 26, 2026
nikoder
pushed a commit
to nikoder/pygeoapi
that referenced
this pull request
Nov 30, 2026
…afLet 1.3 (geopython#2494) (cherry picked from commit 3a2f601)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
Related Issue / discussion
#2493
Additional information
The HTML encoding of the items endpoint fails with this error:
Uncaught TypeError: L.markerClusterGroup is not a function
As it fails, it never arrives to the code where it fits the map to the bounds.
Effectively, it fails because it cannot find the file:
Looking at the MarketCluster plugin README, it states this:
"For Leaflet 1.0–1.8, use 1.5.3."
Since we did not pinned down leaflet.markercluster, it was retrieving the latest version (2.0.0)
After pinning down the version, everything works again.
This PR applies the same pattern to the coverages and EDR, which had the same problem.
Dependency policy (RFC2)
Updates to public demo
Contributions and licensing
(as per https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md#contributions-and-licensing)