map-coordinate-selection

1.0.1 • Public • Published

功能

右键点击地图生成经纬度,同时支持百度、天地图、高德三种地图。

安装

npm install map-coordinate-selection -S

使用

import MapView from 'map-coordinate-selection/components/Map.vue'
<div class="content-box">
  <label>地图选点</label>
  <input
    type="text"
    v-model="form.coord"
  />
  <map-view
    :center="mapCenter" // 地图中心点经纬度
      :type="mapType" // 地图类型 BaiDu TianDiTu GaoDe
    @inputCoord="updateCoord"
  ></map-view>
</div>

Readme

Keywords

none

Package Sidebar

Install

npm i map-coordinate-selection

Weekly Downloads

3

Version

1.0.1

License

ISC

Unpacked Size

9.93 kB

Total Files

4

Last publish

Collaborators

  • canbeking