0.4.0 • Published 4 years ago

vue-mgl v0.4.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

vue-mgl

mapbox-gl vue components (map, layers, sources, controls)

Build Status Coverage Status npm version npm downloads npm license

Install

$ npm i vue-mgl --save

builds

filefielddescexternals
dist/vue-mgl.esm.jspackage.modulees module buildexternal all dependencies
dist/vue-mgl.common.jspackage.maincommonjs buildexternal all dependencies
dist/vue-mgl-full.umd.jspackage.umdbrowser build, for <script src> useexternal mapbox-gl & vue

API

use global mgl-* component

import VueMgl from 'vue-mgl'
import Vue from 'vue'
Vue.use(VueMgl) // this will add MglMap ... global components

manual import

import { MglMap, MglSource, MglLayer } from 'vue-mgl'

export default {
  // ...
  components: { MglMap, MglSource, MglLayer },
  // ...
}

Changelog

CHANGELOG.md

License

the MIT License http://magicdawn.mit-license.org

0.4.0

4 years ago

0.3.0

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.1

4 years ago