Skip to content

Commit

Permalink
feat: use v-mapbox as a plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
vinayakkulkarni committed Oct 3, 2021
1 parent 4759150 commit b99ae9a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions plugins/v-mapbox.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import {
MglGeojsonLayer,
MglMap,
MglMarker,
MglPopup,
MglScaleControl,
} from 'v-mapbox';
import Vue from 'vue';

Vue.component('MglMap', MglMap);
Vue.component('MglGeojsonLayer', MglGeojsonLayer);
Vue.component('MglScaleControl', MglScaleControl);
Vue.component('MglMarker', MglMarker);
Vue.component('MglPopup', MglPopup);

0 comments on commit b99ae9a

Please sign in to comment.