Module provides field widget that uses the mapbox-gl-geocoder control to search for places using Mapbox Geocoding API.

See for more information:
https://docs.mapbox.com/api/search/geocoding/#mapboxplaces

Requirements

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

Requires the Key module:
https://www.drupal.org/project/key

Install/Usage

  1. Install and enable module like any other contributed module.
  2. Configure Mapbox Access token: /admin/config/mapbox-places
  3. Configure or create new textfield field on Entity.
  4. Goto "Manage form display" and select the textfield use wish to use Mapbox places field widget with. Max places widget should be available for selection.
  5. Configure any necessary settings for the field widget.
  6. Save form display settings.
  7. You should now be able to use the widget on entity add/edit forms.

Inspired by Algolia Places module:
https://www.drupal.org/project/algolia_places

Supporting organizations: 

Project information

  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Site structure
  • Created by geoanders on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    There are currently no supported stable releases.

Releases