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

MapLibre upgrade to version 2 and drop of Mapbox baselayer #651

Open
jbelien opened this issue Nov 27, 2022 · 2 comments
Open

MapLibre upgrade to version 2 and drop of Mapbox baselayer #651

jbelien opened this issue Nov 27, 2022 · 2 comments
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code website Relative to city website

Comments

@jbelien
Copy link
Member

jbelien commented Nov 27, 2022

Hello everyone,

I would like to upgrade MapLibre GL library used for the map to version 2 (see EqualStreetNames/module-website#14).

MapLibre has dropped support for mapbox:// scheme, meaning we need to switch to another provider for the baselayer.
I suggest we migrate to MapTiler that also provides access to light/dark vector tiles baselayer for free:

That would also impact the geocoder (search for address) by replace Mapbox Geocoder by MapLibre Geocoder combined with Nominatim (see example).

It should also allow us to have localized basemaps (see #5 and example).

The "only" impact it would have for every city is the migration from MAPBOX_TOKEN secret to a MAPTILER_TOKEN created on https://cloud.maptiler.com/.

@EqualStreetNames What do you think ?

@jbelien jbelien added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code website Relative to city website labels Nov 27, 2022
@jbelien jbelien pinned this issue Nov 27, 2022
@jbelien jbelien changed the title MapLibre upgrade to and drop of Mapbox baselayer MapLibre upgrade to version 2 and drop of Mapbox baselayer Nov 27, 2022
@RobinLinde
Copy link
Member

Sounds like a good idea, for personal projects I've already switched to MapTiler anyway, I've already added the token as secret.

@jbelien
Copy link
Member Author

jbelien commented Dec 18, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code website Relative to city website
Development

No branches or pull requests

2 participants