This module adds a dynamic table to Leaflet maps that updates automatically as you pan and zoom. The table shows only the items currently visible on the map, with features like infinite scrolling and highlighted rows when you click a map marker.
A Drupal module that provides a dynamic attachment display for Leaflet Map Views that updates based on the map viewport.
Features
## Description
This module extends the Leaflet Views module by adding a new display type called "Leaflet Dynamic Attachment". When attached to a Leaflet map display, this attachment automatically updates to show only the items currently visible within the map viewport.
As users pan and zoom the map, the attachment table dynamically refreshes via AJAX to display only the entities whose markers are within the visible bounds.
NOTE: This attachment automatically hides the parent view's pager and replaces it with infinite scroll on the attachment table. The parent view's item limit is removed on initial page load so all markers appear on the map. Exposed filter submissions will update both the map markers and the attachment table.
## Features
- Dynamic filtering based on map viewport bounds
- Infinite scroll with configurable batch size (default: 25 items per page)
- Marker-click row highlighting — clicking a map marker highlights and scrolls to the corresponding table row
- Customizable item count message with @showing/@total tokens
- Configurable highlight color, debounce delay, and update triggers (zoom, pan, or both)
- Clean Views UI integration with unnecessary options hidden
- Proper access control and input validation
- Works with any entity type that has geographic coordinates
## Requirements
- Drupal 10.x or 11.x
- Views (Drupal core)
- [Leaflet](https://www.drupal.org/project/leaflet)
- [Leaflet Views](https://www.drupal.org/project/leaflet) (included with Leaflet)
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
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.15 | Stable | 10–11 | fixed eslint and phpcs errors; fixed 'inherit exposed and context filters' | Jul 17, 2026 | |
| 1.0.13 | Stable | 10–11 | Jul 17, 2026 | ||
| 1.0.12 | Stable | 10–11 | Jul 16, 2026 | ||
| 1.0.8 | Stable | 10–11 | Apr 8, 2026 | ||
| 1.0.6 | Stable | 10–11 | Completes security review; hardens input validation, type safety, and PHP 8.2+ compatibility | Mar 5, 2026 | |
| 1.0.5 | Stable | 10–11 | Server-side caching for efficient scroll pagination, CI pipeline, and code quality improvements. | Mar 2, 2026 | |
| 1.0.4 | Stable | 10–11 | Address security advisory review feedback | Feb 21, 2026 | |
| 1.0.3 | Stable | 9–11 | code cleanup for security advisory coverage readiness | Feb 20, 2026 | |
| 1.0.2 | Stable | 9–11 | Adds infinite scroll, marker-click table row highlighting, and configurable count message. | Feb 19, 2026 | |
| 1.0.1 | Stable | 9–11 | fix leaflet version constraint for old-style Drupal versioning | Feb 19, 2026 | |
| 1.0.0 | Stable | 9–11 | This module provides a new Views display plugin — "Leaflet Dynamic Attachment" — that creates a synchronized table/list alongside a Leaflet map | Feb 19, 2026 | |
| 1.0.x-dev | Dev | 10–11 | all main features working, finishing beta testing | Dec 4, 2025 |