Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attach to Mapbox GL JS if present #13

Merged
merged 1 commit into from
Feb 1, 2025
Merged

Attach to Mapbox GL JS if present #13

merged 1 commit into from
Feb 1, 2025

Conversation

1ec5
Copy link
Member

@1ec5 1ec5 commented Feb 1, 2025

If window.mapboxgl is present, assume it’s a copy of Mapbox GL JS and imbue this global object with the same set of helper methods as window.maplibregl.

Fixes OpenHistoricalMap/issues#941.

@1ec5 1ec5 added the enhancement New feature or request label Feb 1, 2025
@1ec5 1ec5 self-assigned this Feb 1, 2025
@1ec5 1ec5 merged commit 8bc67ff into main Feb 1, 2025
3 checks passed
@1ec5 1ec5 deleted the 1ec5-mapbox-941 branch February 1, 2025 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make MapLibre GL Dates plugin compatible with Mapbox GL JS
1 participant