Part of the Maplibre ecosystem · 4 projects
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.
Ask your assistant about MapLibre
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Maplibre ecosystem
Most installed first
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha1 | Pre-release | 11 | Nov 18, 2026 | ||
| 1.0.x-dev | Dev | 11 | Nov 17, 2026 |