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.16k stars 673 forks source link

Inaccurate example Mapbox ID in README #364

Closed philgyford closed 4 years ago

philgyford commented 4 years ago

In the README, under "Mabox" it says:

You can get map_ID (i.e mapbox.satellite)...

But I think this format ("mapbox.satellite") is inaccurate since the change to the modern Static Tiles API.

The currently-available Mapbox styles are listed here and so the possible current strings to use as the id with leaflet-providers are:

So – they now use a slash rather than a period, and have version numbers appended.

brunob commented 4 years ago

Feel free to provide a PR for that :)