@indoorequal/vue-maplibre-gl
TypeScript icon, indicating that this package has built-in type declarations

5.0.0 • Public • Published

@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.

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
  • [ ] Add Web-types
  • [x] Add frame rate control

License

MIT

Package Sidebar

Install

npm i @indoorequal/vue-maplibre-gl

Weekly Downloads

82

Version

5.0.0

License

MIT

Unpacked Size

608 kB

Total Files

97

Last publish

Collaborators

  • francois