Leaflet MapBox
Categories
Component ID
1873426
Component name
Leaflet MapBox
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
5900
Component created
Component changed
Component body
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 Web Partners.
