Our MapLibre Plugins
Our MapLibre Plugins
Maptoolkit publishes open-source plugins for MapLibre GL JS. Each one is an npm package, and each works with the free community styles without an API key.
| Plugin | npm package | What it does |
|---|---|---|
| Style Control | @maptoolkit/maplibre-style-control | Lets users switch between the seven community styles. |
| Logo Control | @maptoolkit/maplibre-logo-control | Adds the Maptoolkit logo that every community map must show. |
| Legend Control | @maptoolkit/maplibre-legend-control | Shows a legend of the map features currently in view. |
| Elevation Control | @maptoolkit/maplibre-elevation-control | Shows an interactive elevation profile for a route. |
| Scene3D Control | @maptoolkit/maplibre-scene3d-control | Shows the 3D buildings and trees of the Street and Summer styles. |
| 3D Layers | @maptoolkit/maplibre-3d-layers | Custom layers that draw 3D buildings with roof shapes and glTF models. |
The plugins are built for MapLibre GL JS 6, the version these docs use. Each page here covers the setup with the community styles and links to the full reference on docs.maptoolkit.com for options, events, methods and styling.