@watergis/maplibre-gl-export
v5.0.0
Published
This module adds control which can export PDF and images.
Maintainers
Readme
maplibre-gl-export
This module adds control which can export PDF and images. It was forked from mapbox-gl-export.
This module is using source code of mpetroff/print-maps. I just adopted this library to normal Mapbox GL Plugin. Thanks so much to develop this library!
Demo & usage
See the documentation. The demos use MapLibre GL JS v6 by default, with a separate v5 example.
MapLibre GL JS compatibility
Supported peer range: ^5.21.1 || >=6.0.0-0 <7.0.0.
pnpm add @watergis/maplibre-gl-export maplibre-gl- v5: ESM or UMD.
- v6: ESM only; bundlers require one-time worker setup. See the v6 migration guide.
CDN examples: stable default, v5, and v6.
