leaflet-extras / leaflet-providers

An extension to Leaflet that contains configurations for various free tile providers.
https://leaflet-extras.github.io/leaflet-providers/preview/
BSD 2-Clause "Simplified" License
2.15k stars 669 forks source link

Migrating to the modern Static Tiles API #349

Closed stell closed 4 years ago

stell commented 4 years ago

Just got informed: https://docs.mapbox.com/help/troubleshooting/migrate-legacy-static-tiles-api/

Would there be a problem because of the 512x512 tile size ?

ebrensi commented 4 years ago

@stell there is a Leaflet issue about that https://github.com/Leaflet/Leaflet/issues/4391. Apparently it was solved by setting zoomOffset: -1 when using those tiles and they closed the issue.

When I get a chance I will try it myself and make a pull request if it works, unless you are already on it.