Skip to content

fixed maplibre-gl because it was fixed on the last version - #28

Merged
marcelreit merged 1 commit into
mainfrom
fix/maplibre-gl@5
Aug 7, 2026
Merged

marcelreit merged 1 commit into
mainfrom
fix/maplibre-gl@5

Conversation

@marcelreit

Copy link
Copy Markdown
Contributor

This pull request updates how MapLibre GL is loaded in the app to ensure compatibility and prevent future breakage due to upstream changes. The main change is pinning the CDN URLs for MapLibre GL's JS and CSS to major version 5, since version 6 dropped support for the UMD/global bundle required by the current loader. Additionally, a new documentation file, CLAUDE.md, has been added to provide guidance for contributors (especially those using Claude Code) on the repository's structure, commands, and architectural decisions.

Dependency management and compatibility:

  • Pin MapLibre GL CDN URLs to major version 5 in both src/app/layout.tsx and src/features/tankify/shared/components/map/maplibre/ensureMapLibre.ts to prevent breaking changes from v6, which removed the UMD/global bundle needed by the app’s dynamic loader. [1] [2]

Documentation improvements:

  • Add CLAUDE.md to document repository architecture, development workflow, API proxying patterns, and key design decisions, specifically targeting contributors using Claude Code.

@marcelreit marcelreit self-assigned this Aug 7, 2026
@marcelreit
marcelreit merged commit 67d153e into main Aug 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant