Skip to main content
drupalreleases
Release: Cms 2.2.3 — Update released for Drupal core (2.2.3)! Release: Easy Breadcrumb 2.0.11 — Minor update available for module easy_breadcrumb (2.0.11). Release: Bootstrap 8.x-3.42 — Minor update available for theme bootstrap (8.x-3.42). Release: Editoria11y Accessibility Checker 3.0.10 — Minor update available for module editoria11y (3.0.10). Release: Editoria11y Accessibility Checker 2.2.24 — Minor update available for module editoria11y (2.2.24). Release: Leaflet 10.4.13 — Minor update available for module leaflet (10.4.13). Release: Flag 5.1.1 — Minor update available for module flag (5.1.1). Release: Layout Paragraphs 3.0.0-beta5 — New beta version released for module layout_paragraphs (3.0.0-beta5). Module Revived: Bootstrap 8.x-3.41 — Theme bootstrap updated after 6 months of inactivity (8.x-3.41). Security Coverage: Component Library — Module component_library now has official Drupal security advisory coverage.

Leaflet Zoom Link

No security coverage Drupal 11 · not 10

Part of the Leaflet ecosystem · 14 projects

View on drupal.org

This module adds a field formatter to Geofields that displays a "View on Map" link. Clicking this link will either scroll to a target Leaflet map on the current page, zoom to the field's coordinates, and open the popup, or navigate to a different page with the map and zoom to the specified coordinates.

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

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
May 2026
Latest release
4 months ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.1 Stable 11 Jun 8, 2026
1.0.0 Stable 11 May 12, 2026
1.0.x-dev Dev 11 May 12, 2026