@windycom/maplibre-gl
v5.0.0-beta.6
Published
BSD licensed community fork of mapbox-gl, a WebGL interactive maps library
Keywords
Readme
A custom fork of MapLibre-GL-JS mapping library
Disclaimer
This package is being developed mainly for our specific use-case and may contain experimental features. As such, it may not be ready for widespread use.
This is a highly customized fork of MapLibre GL JS that removes most of its vector rendering features to reduce final package size and adds a Leaflet-like API on top, for ease of transitioning from Leaflet to MapLibre. Additionally, some Leaflet plugins were integrated into this library, such as graticule, KML (the version modified for Windy) and GPX.
Building
npm install
npm run build-devWhen changing shaders you also need to run npm run codegen before building.
Building docs
npm run generate-docs
npm run start-docsNote that serving the docs locally requires docker.
Most of the documentation is found under the "API" tab. The original MapLibre items and the new Leaflet API items are separeted.
