This project is not covered by Drupal’s security advisory policy.
One map for the whole site, drawn with MapLibre GL: a stack of GeoJSON layers over a site-wide basemap. Every map on the site shows the same layers and styling. Each placement only chooses where the map opens, and the zoom ranges decide what is shown at each scale.
Features
- Sources: GeoJSON URLs fetched on the server, stored in the database, refreshed on cron and by
drush maplibre:refresh. The last good copy is kept when a fetch fails. A path on the site, such as a Views GeoJSON display, is loaded by the browser directly. - ArcGIS feature layers (submodule
maplibre_arcgis): paged queries, downloaded again only when the layer has been edited. - Source kinds are plugins, so other modules can produce GeoJSON from their own data without HTTP.
- Style presets in
*.maplibre_styles.ymlin modules and themes: paint and layout per attribute value, legend, popups and table columns. Editors choose where a map opens, never colours. - A Map field and a Map block: open at the content's own location, at a layer's (filtered) features, or at fixed bounds. Optional layers per display.
- A legend that follows the zoom, and a server-rendered table of the focused features as the accessible equivalent of the map.
- A site-wide basemap style URL. MapLibre GL and pmtiles are bundled; no build step and no CDN.
Requirements
Drupal 11.2 or later, or Drupal 12.
Similar projects
- MapLibre GL defines maps in a hook, with no UI or caching.
- Leaflet and Geofield Map draw local geofields only.
- ArcGIS Webmap embeds ArcGIS's own viewer.
This comment was drafted by an LLM before it was reviewed by me.
Project information
- Project categories: Content display, Integrations
- Created by tbcs on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
1.0.0-alpha1
released 18 November 2026
Works with Drupal: ^11.2 || ^12
Install:
Development version: 1.0.x-dev updated 18 Nov 2026 at 04:16 UTC
