Skip to content

indoorequal/vue-maplibre-gl

Repository files navigation

@indoorequal/vue-maplibre-gl

npm npm size vue3 MaplibreGL-JS TypeScript

A small Vue 3 plugin for maplibre-gl-js.

This is a fork of vue-maplibre-gl with new features, non-core features removed, and support for MapLibre GL JS v4.

Features

  • Supports MapLibre GL JS v4.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