@indoorequal/vue-maplibre-gl
Version:
Vue 3 plugin for maplibre-gl
36 lines (23 loc) • 1.75 kB
Markdown
# @indoorequal/vue-maplibre-gl
[](https://www.npmjs.com/package/@indoorequal/vue-maplibre-gl)
[](https://www.npmjs.com/package/@indoorequal/vue-maplibre-gl)
[](https://bundlephobia.com/package/@indoorequal/vue-maplibre-gl)
[](https://vuejs.org/)
[](https://maplibre.org/projects/maplibre-gl-js/)
[](https://www.typescriptlang.org/)
A small Vue 3 plugin for [maplibre-gl-js](https://github.com/maplibre/maplibre-gl-js).
This is a fork of [vue-maplibre-gl](https://github.com/razorness/vue-maplibre-gl) with new features, non-core features removed, and support for MapLibre GL JS > v3.
## Features
- Supports MapLibre GL JS v5.x
- Typescript support
- Components for map, controls, sources, markers, popup and layers
- Support for custom controls
- Support for multiple instances and global access by `useMap(key: string | symbol)`
- Automatic restart on CONTEXT_LOST_WEBGL which can happen on mobile devices when tab was in background for longer time
- Small size
## Documentation
https://indoorequal.github.io/vue-maplibre-gl/
## PRs welcome ♥
If you have ideas, improvements, suggestions etc. don't hesitate to open a pull request.
## License
[MIT](http://opensource.org/licenses/MIT)