👉 Check out the Mapsemble Store Locator module. for a full-fledged example.
composer require drupal/mapsemble
in your Drupal project or download from Drupal.org.$config['mapsemble.settings']['api_key'] = 'your-api-key'
;drush en mapsemble
or use the UI./admin/structure/mapsemble
and configure which view modes should be used for cards, popups and data.Create an Out of the Box store locator (with demo content).
composer config minimum-stability dev
composer require drupal/mapsemble_store_locator_demo_content
in your Drupal project or download from Drupal.org.$config['mapsemble.settings']['api_key'] = 'your-api-key';
in settings.(local.).php or in/admin/config/services/mapsemble
.drush en mapsemble_store_locator_demo_content --uri=your-domain
or enable the module in the Drupal UI.No demo content? Download and enable Store Locator module for a Out of the box store locator without the demo content.