Overview of @indoorequal/vue-maplibre-gl
master@indoorequal/vue-maplibre-gl is a lightweight Vue 3 plugin designed for maplibre-gl-js. It provides a component-based abstraction for working with MapLibre GL JS within Vue applications.
Key features include:
- Support for MapLibre GL JS v6.x.
- Full TypeScript support.
- Dedicated components for map instances, controls, sources, markers, popups, and layers.
- Support for custom controls.
- Support for multiple map instances with global access via the
useMap(key: string | symbol)utility. - Automatic restart handling for
CONTEXT_LOST_WEBGLevents (useful for mobile devices when tabs are backgrounded). - Small bundle size.