vue qq.maps
Vue Azure地图 (Vue Azure Maps)
Vue Azure Maps is a library for Vue.js that integrates Azure Maps. It offers several Vue components out of the box and supports custom ones as well. This library has a dependency to Azure Maps Control Web SDK which uses Mapbox to render performant WebGL.
Vue Azure Maps是用于Vue.js的库,它集成了Azure Maps。 它提供了一些开箱即用的Vue组件,并且还支持自定义组件。 该库依赖于Azure Maps Control Web SDK,后者使用Mapbox呈现高性能的WebGL。
Vue Azure Maps enables us to declaratively render map components to the DOM using straightforward template syntax.
Vue Azure Maps使我们能够使用简单的模板语法以声明方式将地图组件呈现到DOM。
This library is a work in progress, once it is stabilized 1.0 will be released.
该库正在进行中,一旦稳定,将发布1.0。
安装 (Installation)
NPM (NPM)
npm install vue-azure-maps
纱 (Yarn)
yarn add vue-azure-maps
建立 (Setup)
Get an Azure Maps key at
<https://azure.com/maps>
在
<https://azure.com/maps>
获取Azure Maps密钥
import Vue from 'vue'
import VueAzureMaps from 'vue-azure-maps'
import 'vue-azure-maps/dist/vue-azure-maps.css'
Vue.use(VueAzureMaps, {
key: '<Your Azure Maps key>',
})
翻译自: https://vuejsexamples.com/a-library-for-vue-js-that-integrates-azure-maps/
vue qq.maps