Address Map (& Directions) Link
Part of the Address ecosystem · 15 projects
This module enhances Drupal's Address field by allowing it to link to various external map services. It can generate direct links to view an address on a map or even pre-fill the "get directions" form for services like Google Maps, Apple Maps, and Waze. Administrators can configure which map services to support and customize the link's appearance.
The Address Map Link module adds additional field formatter settings that allow Address fields to be linked to an external map site. Some supported mapping sites have the ability to open the
their map with the get directions form filled out with the address as the destination.
Supported mapping sites:
- Apple Maps (Note: Apple Maps will redirect to Google Maps if user is not using iOS.)
- Bing Maps
- Google Maps
- Google Maps - Directions
- HERE WeGo maps - Directions
- Mapquest
- OpenStreetMaps
- Yandex maps
- Waze - Directions
- Waze - Navigate (immediately starts navigating)
Requirements
Recommended Modules
- Token: When enabled the map link text can leverage tokens.
Installation
This module can be installed and enabled like any other Drupal module. However, because the Address module requires installation via composer, it is recommended for this module as well.
composer require drupal/address_map_link:^1.4
Configuration
-
Go to the "Manage display" tab of the content type (or entity bundle) and click the settings button next to the address field you would like to link.
-
Select the "Link Address to Map" checkbox to link that address field.
-
Further configure this link by adjusting the Map Link type, the position, link text, and the option to open the link in a new window.
Adding Additional Map Providers
Additional mapping sites can be defined by adding MapLink plugins. Reference one of the MapLink plugins defined in Drupal\address_map_link\Plugin\MapLink
Depends on
Dependencies of the latest stable release
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Address ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 2.0.0 | Stable | 10–11 | Mar 14, 2026 | ||
| 2.0.0-alpha1 | Pre-release | 10–11 | The one with Drupal 11 support | Nov 20, 2024 | |
| 2.x-dev | Dev | 10–11 | Nov 20, 2024 |