@halobear/vue amap

vue高德地图

Version: 1.1.0 Updated: 06/19/2020

By: halobear License: ISC

Downloads Last 30 Days: 19

Install

npm i @halobear/vue-amap
yarn add @halobear/vue-amap

Repository: https://github.com/halobear/npm-packages

CDNs

bundle.run: https://bundle.run/@halobear/vue-amap

jsDelivr: https://cdn.jsdelivr.net/npm/@halobear/vue-amap

unpkg: https://unpkg.com/@halobear/vue-amap

@halobear/vue-amap

vue 地图组件

安装

yarn add @halobear/vue-amap

使用

<template>
  <div>
    <vue-map v-model="center" keyword="上海"></vue-map>

    <div class="res">结果:{{center}}</div>
  </div>
</template>

<script>
  import VueMap from "@halobear/vue-amap";

  export default {
    components: {
      VueMap
    },
    data() {
      return {
        center: [116.39, 39.9]
      };
    }
  };
</script>

示例

Contributors



luzhongk
commits

v_yan_v
commits

wtwei
commits

DevDependencies


Categories: Vue js
Tags: vue