JSPM

  • Created
  • Published
  • Downloads 639
  • Score
    100M100P100Q95479F
  • License MIT

Mapbox with Vue 💚

Package Exports

  • v-mapbox
  • v-mapbox/dist/v-mapbox.css

Readme

V-Mapbox 🗺

npm GitHub release (latest by date including pre-releases) Total alerts Total alerts Language grade: JavaScript DeepScan grade npm GitHub last commit GitHub contributors Maintenance

Combine powers of Vue.js and Mapbox GL JS

NOTE: This is a maintained version of vue-mapbox

V-Mapbox is wrapper around Mapbox GL JS library that provides vueish-way to interact with the map.

Description and documentation

Installation

# For Vue 2
$ npm i v-mapbox@legacy
# For Vue 3
$ npm i v-mapbox

Demo

Edit v-mapbox-vue-3

Deck.gl 🆕

Edit v-mapbox-with-deck-gl-geojson

Development

git clone git@github.com:geospoc/v-mapbox.git
cd v-mapbox
npm install

Running in dev mode:

npm run serve

Build for production:

npm run build

Documentation

Start documentation site in development mode:

npm run docs:dev

Build documentation:

npm run docs:build

Inspired by KoRiGaN's Vue2Leaflet.

License

MIT

FOSSA Status

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request