立得地图iOS SDK 地图&搜索服务参考手册 V1.7.0
|
#import <LMKClusterManager.h>
构造函数 |
|
(void) | - clusterPOIs:finish: |
(void) | - updateMapViewAnnotations |
(void) | - deletePOI: |
(void) | - addPOI: |
属性 |
|
LMKMapView * | mapView |
聚合地图 更多... |
|
NSInteger | maxClusterLevel |
最大聚合级别(3到地图比例尺之间) 更多... |
|
NSInteger | minClusterNum |
最小聚合个数(最小聚合个数为2) 更多... |
|
NSArray< LMKPOI * > * | pois |
所有的聚合点集合(下标为-1的为已删除的点) 更多... |
|
- (void) addPOI: | (NSArray< LMKPOI * > *) | pois |
添加poi,如果失败则需要重新聚合
- (void) clusterPOIs: | (NSArray< LMKPOI * > *) | pois | |
finish: | (void(^)(LMKMapRect maxRect)) | block | |
聚合标注点
pois | 需要聚合的数据集(LMKPOI数组) |
block | 聚合构建完成的回调 |
- (void) deletePOI: | (NSArray< LMKPOI * > *) | pois |
删除poi
- (void) updateMapViewAnnotations |
添加和更新annotations
|
readwritenonatomicweak |
聚合地图
|
readwritenonatomicassign |
最大聚合级别(3到地图比例尺之间)
|
readwritenonatomicassign |
最小聚合个数(最小聚合个数为2)
|
readnonatomicstrong |
所有的聚合点集合(下标为-1的为已删除的点)