Our MapLibre Plugins
Our MapLibre Plugins
Maptoolkit publishes open-source controls for MapLibre GL JS. Each one is an npm
package that you add to the map with map.addControl().
| Plugin | npm package | What it does |
|---|---|---|
| Style Control | @maptoolkit/maplibre-style-control | Lets users switch between map styles from a thumbnail panel. |
| Logo Control | @maptoolkit/maplibre-logo-control | Adds the Maptoolkit logo to the map. |
| Isochrone Control | @maptoolkit/maplibre-isochrone-control | Lets users drag a marker onto the map and shows how far they can travel in a given time. |
| Legend Control | @maptoolkit/maplibre-legend-control | Shows a legend of the map features currently in view. |
The plugins are built for MapLibre GL JS 6. They also work with MapLibre GL JS 5.6.1. If you load MapLibre GL JS 5 from a CDN without a bundler, the plugins need a small import map shim. See Add a Style Switcher for the setup.