75d24c15
yangbin
123
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
//
// MAMultiPointOverlay.h
// MAMapKit
//
// Created by hanxiaoming on 2017/4/11.
// Copyright © 2017年 Amap. All rights reserved.
//
#import "MAConfig.h"
#if MA_INCLUDE_OVERLAY_MAMultiPoint
#import "MAShape.h"
#import "MAOverlay.h"
///海量点overlay单个点对象(since 5.1.0)
@interface MAMultiPointItem : NSObject<NSCopying, MAAnnotation>
///经纬度
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
///唯一标识,默认为nil。
@property (nonatomic, copy) NSString *customID;
///标题
@property (nonatomic, copy) NSString *title;
///副标题
@property (nonatomic, copy) NSString *subtitle;
@end
///海量点overlay(since 5.1.0)
@interface MAMultiPointOverlay : MAShape<MAOverlay>
///点对象集合(注意:MAMultiPointItem属性不支持动态更新)
@property (nonatomic, readonly) NSArray<MAMultiPointItem *> *items;
///初始化方法
- (instancetype)initWithMultiPointItems:(NSArray<MAMultiPointItem *> *)items;
@end
#endif
|