Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Configuration Language Lock 1.0.2 Minor update available for module config_language_lock (1.0.2). Release: Canvas Override 1.0.1 Minor update available for module canvas_override (1.0.1). Release: Media Remote Image 8.x-1.2 Minor update available for module media_entity_remote_image (8.x-1.2). Release: IDNA Convert Service (punycode) 2.0.4 Minor update available for module idna (2.0.4). Release: Bootstrap Cloud 7.1.3 Minor update available for theme bootstrap_cloud (7.1.3). Release: Token Browser 1.0.2 Minor update available for module token_browser (1.0.2). Release: Varbase Project 11.0.8 Minor update available for module varbase_project (11.0.8). Release: Media Remote Image 2.0.0-beta1 First beta version released for module media_entity_remote_image (2.0.0-beta1). Usage Milestone: Term CSV Export Import Module term_csv_export_import crossed 1,000 active installs. Security Coverage: Module Scout Module module_scout now has official Drupal security advisory coverage.

Address Map (& Directions) Link

2,848 sites Security covered Drupal 10–11

Part of the Address ecosystem · 15 projects

View on drupal.org

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

  • 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

  1. 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.

  2. Select the "Link Address to Map" checkbox to link that address field.

  3. 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.

Activity

Tracked releases
3
Tracked since
Nov 2024
Latest release
5 months ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
2.0.0 Stable 10–11 Mar 14, 2026
2.0.0-alpha1 Pre-release 10–11 Nov 20, 2024
2.x-dev Dev 10–11 Nov 20, 2024