You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

coord-picker

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coord-picker

高德/腾讯地图坐标拾取器 / A coordinates picker for amap/tmap

0.1.13
npm
Version published
Weekly downloads
33
26.92%
Maintainers
1
Weekly downloads
 
Created
Source

coord-picker / 坐标拾取

图片

Feature / 特性

  • √ 坐标拾取(双向绑定)

  • √ 拖拉拽绘制/编辑图片图层(双向绑定角坐标)

  • √ 拖拉拽绘制/编辑多边形(双向绑定轮廓坐标)

  • √ POI搜索、搜索关键字自动补全

  • √ 支持全局安装/单独引入

  • √ 定位灵活:根据传参情况智能初始化至合适的位置

  • 坐标系:高德/腾讯地图通用的GCJ-02

  • 高德JS-API版本:1.4.15(曾采用动态版本,但2.0存在诸多问题,性能也不如1.x,等待后续更新吧)

Installation / 安装

NPM

Dependencies: vue element-ui plain-kit

全局引入:
import 'coord-picker/dist/coord-picker.css'
import CoordPicker from 'coord-picker'
Vue.use(CoordPicker)

局部引入:
import 'coord-picker/dist/coord-picker.css'
import { CoordPicker } from 'coord-picker'
components: { CoordPicker }

Quick Start / 快速上手

请参考/demo中极简示例

Keywords

地图选点

FAQs

Package last updated on 08 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts