Get Started with Mapsemble + Drupal.

To use the Drupal with Mapsemble and retrieve your API key, you need to be logged in.
Drupal + Mapsemble
A Mapsemble Store Locator map with demo content.

👉 Check out the Mapsemble Store Locator module. for a full-fledged example.

Installation

  1. Run composer require drupal/mapsemble in your Drupal project or download from Drupal.org.
  2. Set the API key in settings(.local).php: $config['mapsemble.settings']['api_key'] = 'your-api-key';
  3. Run drush en mapsemble or use the UI.
  4. Create a Map on Mapsemble with a Drupal layer.
  5. Create a new entity type with a Geofield or add a geofield to an existing entity type.
  6. Go to /admin/structure/mapsemble and configure which view modes should be used for cards, popups and data.
To use the Drupal with Mapsemble and retrieve your API key, you need to be logged in.

Mapsemble "Store Locator"

Create an Out of the Box store locator (with demo content).

  1. Run composer config minimum-stability dev
  2. Run composer require drupal/mapsemble_store_locator_demo_content in your Drupal project or download from Drupal.org.
  3. Set $config['mapsemble.settings']['api_key'] = 'your-api-key'; in settings.(local.).php or in/admin/config/services/mapsemble.
  4. Run drush en mapsemble_store_locator_demo_content --uri=your-domain or enable the module in the Drupal UI.
  5. Add the Mapsemble block to any region and set the map configuration.

No demo content? Download and enable Store Locator module for a Out of the box store locator without the demo content.

To use the Drupal with Mapsemble and retrieve your API key, you need to be logged in.