Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Leaflet MapBox

Security covered Under active development 619 sites

Part of the Leaflet ecosystem · 14 projects

This module integrates Leaflet with the Mapbox tile platform, allowing you to use your custom Mapbox map tiles in your Drupal site through Leaflet views. You can configure your Mapbox styles by providing a label, API version, style URL, and access token.

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

  1. Go to the module configuration page: Configuration -> Web Services -> Leaflet MapBox
  2. Give your map a label.
  3. Select the API version. API 4 is recommended.
  4. Copy and paste the Style URL from mapbox.com
  5. Copy and paste your access token from mapbox.com
  6. Add a zoom level and description and save.
  7. You should now be able to use your new mapbox style when creating leaflet views.

MapBox tile creation

  1. Create an account in MapBox
  2. Create a map following https://www.mapbox.com/help/getting-started-mapbox-studio-1
  3. Press Publish to save your map
  4. To find your map Style URL, see https://www.mapbox.com/help/getting-started-mapbox-studio-1/#styles.

Dependencies

Sponsor

Development in the past was sponsored by Mr. Milu.

Drupal 10–11

Ask your assistant about Leaflet MapBox

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
May 2025
Latest release
2 months ago
Releases (12 mo)
2 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.2 Stable 10–11 Jul 21, 2026
2.0.x-dev Dev 10–11 Jul 21, 2026
2.0.1 Stable 10–11 May 5, 2025