Skip to content

Pinned down leaflet.markercluster to the version that works with the current Leaflet - #2494

Merged
tomkralidis merged 1 commit into
geopython:masterfrom
doublebyte1:marker-cluster
Nov 26, 2026
Merged

tomkralidis merged 1 commit into
geopython:masterfrom
doublebyte1:marker-cluster

Conversation

@doublebyte1

@doublebyte1 doublebyte1 commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

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:

curl -I https://unpkg.com/leaflet.markercluster@2.0.0/dist/leaflet.markercluster-src.js
HTTP/2 404 
date: Thu, 26 Nov 2026 19:05:58 GMT
content-type: text/plain;charset=UTF-8
strict-transport-security: max-age=31536000; includeSubDomains; preload
x-content-type-options: nosniff
server: cloudflare
cf-ray: a60b2aef8ce7e3b1-LIS
alt-svc: h3=":443"; ma=86400

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.

Screenshot from 2026-11-26 19-10-44

This PR applies the same pattern to the coverages and EDR, which had the same problem.

Dependency policy (RFC2)

  • I have ensured that this PR meets RFC2 requirements

Updates to public demo

Contributions and licensing

(as per https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md#contributions-and-licensing)

  • I'd like to contribute [feature X|bugfix Y|docs|something else] to pygeoapi. I confirm that my contributions to pygeoapi will be compatible with the pygeoapi license guidelines at the time of contribution
  • I have already previously agreed to the pygeoapi Contributions and Licensing Guidelines

@github-actions github-actions Bot added AI generated Label for the detect-ai workflow classifier Human generated Label for the detect-ai workflow classifier labels Nov 26, 2026
@doublebyte1 doublebyte1 removed the AI generated Label for the detect-ai workflow classifier label Nov 26, 2026
@tomkralidis tomkralidis added this to the 0.25.0 milestone Nov 26, 2026
@tomkralidis tomkralidis added bug Something isn't working ui User interface labels Nov 26, 2026
@tomkralidis tomkralidis self-assigned this Nov 26, 2026
@tomkralidis
tomkralidis merged commit 3a2f601 into geopython:master Nov 26, 2026
8 checks passed
nikoder pushed a commit to nikoder/pygeoapi that referenced this pull request Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working Human generated Label for the detect-ai workflow classifier ui User interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants