Map Recipe
The Store Locator Recipe is a pre-configured solution for Drupal 11 that instantly transforms a website into a map-centric platform. It automatically installs and sets up a map with optimized defaults, making it easy for businesses to display their locations and related information like nearby transport and parking. This makes it ideal for retail chains and local shops looking for a quick way to establish a geographical presence online.
Project Description: Store Locator Recipe
The Store Locator Recipe by Fagioli.biz is an instant, "turn-key" solution for Drupal 11 designed specifically for retail chains, local shops, and street-level businesses. It eliminates the manual overhead of setting up a geographical presence by automating the installation and fine-tuning of the Map module in a single step.
Instead of navigating complex configuration menus, this recipe instantly transforms a standard Drupal installation into a map-centric platform where your physical location is the hero of the site.
Key Features
- One-Click Deployment: Automatically downloads, installs, and enables the
mapmodule and its core dependencies. - Instant Homepage Transformation: Automatically reconfigures the site's front page to
/mapimmediately upon application. - Retail-Optimized Defaults: Pre-configures the map with a high-detail street zoom (15x), ensuring customers can see exact blocks and neighboring landmarks.
- Interactive UI Controls: Enables essential user features like Fullscreen mode, Zoom controls, and OpenStreetMap (OSM) tile layers out of the box.
- Accessibility & Transport: Activates "Store Locator" logic by enabling markers for nearby public transport and parking facilities, helping customers reach your door.
- Multisite Ready: Engineered for scale—perfect for managing hundreds of localized store domains from a single codebase using the Drupal 11 Recipe API.
Installation & Usage
To deploy the Store Locator solution on your site, run:
1. Require the package:
composer require fagioli/map_recipe
2. Apply the recipe:
php core/scripts/drupal recipe recipes/map_recipe
3. Finalize:
Clear the cache to activate the new homepage routing:
drush cr
Architected and maintained by Fagioli.biz to power the next generation of business-centric Drupal Starshot deployments.