Drupal is a registered trademark of Dries Buytaert
drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! linkit 7.0.14 Minor update available for module linkit (7.0.14). migrate_tools 6.1.4 Minor update available for module migrate_tools (6.1.4). diff 2.0.0 Major update available for module diff (2.0.0). masquerade 8.x-2.2 Minor update available for module masquerade (8.x-2.2). video_embed_field 3.1.0 Minor update available for module video_embed_field (3.1.0). bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). colorbox_inline 2.1.1 Minor update available for module colorbox_inline (2.1.1). node_view_permissions 8.x-1.7 Minor update available for module node_view_permissions (8.x-1.7).

Leaflet Zoom Link provides a Geofield field formatter that renders a "View on Map" link targeting a Leaflet map elsewhere on your site.

When the target map is already on the same page, clicking the link scrolls to the map container, zooms to the field's coordinates, and opens any matching marker popup — without a full page reload. The browser history is updated so the zoomed state is bookmarkable and the back button works correctly.

When the map lives on a different page, the link navigates naturally. The module appends lat and lon query parameters to the URL and sets the map element ID as the URL fragment. On arrival, JavaScript auto-zooms the map once the Leaflet instance is ready.

Features

  • Works across pages or in-place on the same page
  • Auto-opens marker popups at the target coordinates
  • Bookmarkable URLs with lat/lon query parameters
  • Configurable map page URL (route name or internal path), map element ID, and link text
  • Themeable via leaflet-zoom-link.html.twig

Requirements

Activity

Total releases
2
First release
May 2026
Latest release
1 day ago
Release cadence
0 days
Stability
50% stable

Releases

Version Type Release date
1.0.0 Stable May 12, 2026
1.0.x-dev Dev May 12, 2026