Libraries
MapLibre GL JS
maplibre-gl@6.0.0
Interactive vector maps (WebGL). The base for prefab-map; import it directly for custom map styling/layers beyond what the prefab exposes.
- Version
- 6.0.0
- License
- BSD-3-Clause
- Size
- 138 KB
Add it
Declare it in prototir.json at the root of your ZIP. Prototir checks the
version at upload and adds it to the page's import map.
prototir.json
{
"modules": [
"maplibre-gl@6.0.0"
]
}Then import it by name, from 'maplibre-gl', as you would from npm.
Reference
Prototir serves the library unchanged, so its own documentation applies.
MapLibre GL JS documentationVersions
Every version stays available, so a prototype keeps working exactly as published. Declare the one you tested with.
maplibre-gl@6.0.0
As JSON: /modules/maplibre-gl.json. Source: npm:maplibre-gl.