@supermap/vue iclient mapboxgl

SuperMap iClient for Vue.js

Version: 10.1.2 Updated: 03/31/2021

By: SuperMap License: Apache-2.0

Downloads Last 30 Days: 137

Install

npm i @supermap/vue-iclient-mapboxgl
yarn add @supermap/vue-iclient-mapboxgl

Repository: https://github.com/SuperMap/vue-iclient

CDNs

bundle.run: https://bundle.run/@supermap/vue-iclient-mapboxgl

jsDelivr: https://cdn.jsdelivr.net/npm/@supermap/vue-iclient-mapboxgl

unpkg: https://unpkg.com/@supermap/vue-iclient-mapboxgl

vue-iclient-mapboxgl

简介

安装

npm install @supermap/vue-iclient-mapboxgl

开发

在 main.js 中写入以下内容:

import Vue from 'vue';
import VueiClient from '@supermap/vue-iclient-mapboxgl';
import App from './App.vue';

Vue.use(VueiClient);

new Vue({
  el: '#app',
  render: h => h(App)
});

示例

https://iclient.supermap.io/examples/component/examples.html#vuecomponents_mbgl

Categories: Vue js