Leaflet integration with MapBox tile platform.
With this module you will be able to use your own MapBox map tiles in your map views through Leaflet module.
Configuration
- Go to the module configuration page: Configuration -> Web Services -> Leaflet MapBox
- Give your map a label.
- Select the API version. API 4 is recommended.
- Copy and paste the Style URL from mapbox.com
- Copy and paste your access token from mapbox.com
- Add a zoom level and description and save.
- You should now be able to use your new mapbox style when creating leaflet views.
MapBox tile creation
- Create an account in MapBox
- Create a map following https://www.mapbox.com/help/getting-started-mapbox-studio-1
- Press Publish to save your map
- To find your map Style URL, see https://www.mapbox.com/help/getting-started-mapbox-studio-1/#styles.
Dependencies
Sponsor
Development is sponsored by Mr. Milu.
Supporting organizations:
Port to Drupal 10/11
Project information
- Project categories: Integrations, Site structure
- Ecosystem: Leaflet
606 sites report using this module
- Created by jherencia on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.





