vue-tencent-map
v1.0.2
Published
腾讯地图Vue版,可用于手机端和PC端
Downloads
144
Maintainers
Readme
vue-tencent-map
Install
npm install vue-tencent-map
Usage
include api script
<script src="//map.qq.com/api/gljs?v=1.exp&key=<developerKey>"></script>
use in template
<template>
<div>
<h1>TencentMap</h1>
<TencentMap :latitude="32.960268" :longitude="213.688582" name="科技有限公司" address="镇鼓西路12号" label="科技" />
</div>
</template>
<script>
import TencentMap from 'vue-tencent-map'
export default {
components: {
TencentMap,
}
}
</script>