1.0.10 • Published 4 years ago

amap-upper v1.0.10

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

安装


npm i -S amap-upper

快速上手

运行

import amapUpper from 'amap-upper'

amapUpper.load({
  key: 'e4493da******************e4a98be8', // 申请好的Web端开发者Key,首次调用 load 时必填
  version: '1.4.15', // 指定要加载的 JSAPI 的版本,缺省时默认为 1.4.15
  plugins: ['AMap.Geocoder', 'AMap.PolyEditor', 'AMap.MarkerClusterer', 'AMap.MouseTool', 'AMap.Autocomplete', 'AMap.PlaceSearch'],
  AMapUI: { // 是否加载 AMapUI,缺省不加载
    version: '1.1', // AMapUI 缺省 1.1
    plugins: [] // 需要加载的 AMapUI ui插件
  }
})

amapUpper.initMap(
{ target: this.$refs.app },
mapU => {
  mapU.markerClusterer(options)
  mapU.massMarks(options)
  mapU.mapMarkers(options)
  ...
})

地址

License

amap-upper 是根据 MIT License 许可的。

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.0

4 years ago