Skip to content
Our MapLibre Plugins

Our MapLibre Plugins

Maptoolkit publishes open-source plugins for MapLibre GL JS. Each one is an npm package. The controls are added to the map with map.addControl(), the 3D layers with map.addLayer().

Pluginnpm packageWhat it does
Style Control@maptoolkit/maplibre-style-controlLets users switch between map styles from a thumbnail panel.
Logo Control@maptoolkit/maplibre-logo-controlAdds the Maptoolkit logo to the map.
Isochrone Control@maptoolkit/maplibre-isochrone-controlLets users drag a marker onto the map and shows how far they can travel in a given time.
Legend Control@maptoolkit/maplibre-legend-controlShows a legend of the map features currently in view.
Scene3D Control@maptoolkit/maplibre-scene3d-controlShows the 3D buildings and trees of a Maptoolkit style, with roof shapes and city models.
3D Layers@maptoolkit/maplibre-3d-layersCustom layers that draw 3D buildings with roof shapes and glTF models.

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. The Scene3D Control and the 3D Layers need MapLibre GL JS 6.