Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Description
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
Credit
Sponsor
Development is sponsored by Mr. Milu.
Supporting organizations:
Project information
- Module categories: Site Structure
- 623 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.