@indoorequal/vue-maplibre-gl
v6.0.0
Published
Vue 3 plugin for maplibre-gl
Downloads
320
Maintainers
Readme
@indoorequal/vue-maplibre-gl
A small Vue 3 plugin for maplibre-gl-js.
This is a fork of vue-maplibre-gl.
Features
- Supports MapLibre GL JS v3.x
- Typescript support
- Components for map, controls, sources, markers 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.
Todos
- [x] Usage examples
- [x] Demo
- [x] API documentation
- [x] Support
v-model:...
for some basic props - [x] Add layer events
- [x] Add Web-types
- [x] Add frame rate control