提交 ba2054ca 编写于 作者: DCloud-yyl's avatar DCloud-yyl

Merge branch 'master' of https://gitee.com/dcloud/unidocs-zh

......@@ -229,6 +229,17 @@ mapContext
|center |LatLng |聚合簇的坐标 |
|markerIds |Array<Number>|该聚合簇内的点标记数据数组 |
`initMarkerCluster(OBJECT)` 结构
|属性 |类型 |默认值 |必填 |说明 |
|:-|:-|:-|:-|:-|
|enableDefaultStyle |boolean |true |否 |启用默认的聚合样式 |
|zoomOnClick |boolean |true |否 |点击已经聚合的标记点时是否实现聚合分离 |
|gridSize |boolean |60 |否 |聚合算法的可聚合距离,即距离小于该值的点会聚合至一起,以像素为单位 |
|success |function | |否 |接口调用成功的回调函数 |
|fail |function | |否 |接口调用失败的回调函数 |
|complete |function | |否 |接口调用结束的回调函数(调用成功、失败都会执行) |
示例代码
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册