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

Normalize Mapbox URLs within styles #209

Open
aparlato opened this issue Feb 6, 2025 · 0 comments
Open

Normalize Mapbox URLs within styles #209

aparlato opened this issue Feb 6, 2025 · 0 comments

Comments

@aparlato
Copy link
Collaborator

aparlato commented Feb 6, 2025

Followup to #208

We now normalize all style URL's, but those using a Mapbox protocol often still contain sprite and glyphs fields that also use that protocol.

We should normalize these URLs as well so that if a user chose to, they could render that style with another renderer that doesn't handle that protocol (eg Maplibre, Maptiler).

Noting that this is a followup issue because the places/ways this needs to change are different from the ways we normalize a style URL.

We should investigate whether it makes more sense to:

  • alter the stylesheet itself and make sure that is being passed around
  • add custom protocols to Maplibre and Maptiler renderers to handle mapbox:// protocols the same as Mapbox does
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

No branches or pull requests

1 participant