高德地图SDK(导航)  V11.1.000
AMapNaviCompositeAnnotation.h
Go to the documentation of this file.
1 //
2 // AMapNaviCompositeAnnotation.h
3 // AMapNaviKit
4 //
5 // Created by eidan on 2018/3/26.
6 // Copyright © 2018年 Amap. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
11 
15 
16 @required
17 
20 @property (nonatomic, strong, readonly) MAOverlayRenderer *overlayRender;
21 
22 @optional
23 
26 @property (nonatomic, assign, readonly) MAOverlayLevel overlayLevel;
27 
28 @end
29 
32 
34 @property (nonatomic, assign) CLLocationCoordinate2D coordinate;
35 
38 @property (nonatomic, assign) NSInteger zIndex;
39 
42 @property (nonatomic, assign) BOOL enable;
43 
46 @property (nonatomic, copy) NSString *identifier;
57 - (id)initWithCoordinate:(CLLocationCoordinate2D)coordinate view:(UIView *)view;
58 
59 @end
60 
61 
65 
68 @property(nonatomic, assign) double anchorX;
69 
72 @property(nonatomic, assign) double anchorY;
73 
76 @property(nonatomic, strong) UIImage *image;
77 
78 @end
79 
83 
86 @interface AMapNaviCustomAnnotation : NSObject
87 
89 @property(nonatomic, assign, readonly) CLLocationCoordinate2D coordinate;
91 @property(nonatomic, strong, readonly) AMapNaviCustomAnnotationItemIconModel *icon;
92 
95 @property(nonatomic, copy) AMapNaviAnnotationClickCallback clickBlock;
96 
105 - (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate
106  iconModel:(AMapNaviCustomAnnotationItemIconModel *)iconModel;
107 
108 
109 
110 @end
void(^ AMapNaviAnnotationClickCallback)()
Definition: AMapNaviCompositeAnnotation.h:82
MAOverlayLevel
Definition: MAMapView.h:59
导航界面自定义标注 Custom annotations in the navigation interface since 5.5.0
Definition: AMapNaviCompositeAnnotation.h:31
CLLocationCoordinate2D coordinate
标注的中心坐标 The center coordinate of the annotation
Definition: AMapNaviCompositeAnnotation.h:34
NSInteger zIndex
Definition: AMapNaviCompositeAnnotation.h:38
NSString * identifier
Definition: AMapNaviCompositeAnnotation.h:46
BOOL enable
Definition: AMapNaviCompositeAnnotation.h:42
Definition: AMapNaviCompositeAnnotation.h:87
Definition: AMapNaviCompositeAnnotation.h:65
Definition: MAOverlayRenderer.h:21
Definition: AMapNaviCompositeAnnotation.h:14
MAOverlayRenderer * overlayRender
Definition: AMapNaviCompositeAnnotation.h:20
MAOverlayLevel overlayLevel
Definition: AMapNaviCompositeAnnotation.h:26
Definition: MAAnnotation.h:17
Definition: MAOverlay.h:15
© 2017 高德信息技术有限公司 版权所有,保留所有权利。