Provides a configurable block to render and display a Mapbox map.

Requirements

Requires Mapbox access token:

https://docs.mapbox.com/help/getting-started/access-tokens/

Requires the Key module:

https://www.drupal.org/project/key

Requires Mapbox GL JS v2. Doesn't work with older versions.

https://docs.mapbox.com/mapbox-gl-js/guides/migrate-to-v2/

Install/Usage

  1. Install and enable module like any other contributed module.
  2. Configure Mapbox Access token: /admin/config/mapbox-block
  3. Goto 'Block layout' page and add block to specified region.
  4. Find "Mapbox Map" block and configure.
  5. Save block after configuration.
  6. Your map is now rendered on the page.
Supporting organizations: 

Project information

Releases