I have created a Mapbox custom style map and want to use it in Leaflet. All the examples on this site and the web refer to a map ID that doesn't seem to be used anymore.

For example:


Mapbox seems to currently only provide a "Leaflet URL". For example:


This URL includes what looks like a style reference and an access token but no .png.

I cannot make this work in any way with Leaflet L.tilelayer. I have tried various ways of editing the URL.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.