高德地图SDK(导航) V11.2.0501

Loading...
Searching...
No Matches
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>
10#import "AMapNaviHeaderHandler.h"
11
14@protocol AMapNaviCompositeOverlay <MAOverlay>
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
31@interface AMapNaviCompositeCustomAnnotation : NSObject <MAAnnotation>
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
64@interface AMapNaviCustomAnnotationItemIconModel : NSObject
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
82 typedef void(^AMapNaviAnnotationClickCallback)();
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
AMapNaviAnnotationClickCallback
void(^ AMapNaviAnnotationClickCallback)()
Definition AMapNaviCompositeAnnotation.h:82
AMapNaviHeaderHandler.h
MAOverlayLevel
MAOverlayLevel
Definition MAMapView.h:59
AMapNaviCompositeCustomAnnotation
导航界面自定义标注 Custom annotations in the navigation interface since 5.5.0
Definition AMapNaviCompositeAnnotation.h:31
AMapNaviCompositeCustomAnnotation::coordinate
CLLocationCoordinate2D coordinate
标注的中心坐标 The center coordinate of the annotation
Definition AMapNaviCompositeAnnotation.h:34
AMapNaviCompositeCustomAnnotation::zIndex
NSInteger zIndex
Definition AMapNaviCompositeAnnotation.h:38
AMapNaviCompositeCustomAnnotation::identifier
NSString * identifier
Definition AMapNaviCompositeAnnotation.h:46
AMapNaviCompositeCustomAnnotation::enable
BOOL enable
Definition AMapNaviCompositeAnnotation.h:42
AMapNaviCustomAnnotation
Definition AMapNaviCompositeAnnotation.h:87
AMapNaviCustomAnnotationItemIconModel
Definition AMapNaviCompositeAnnotation.h:65
MAOverlayRenderer
Definition MAOverlayRenderer.h:21
MAAnnotation-p
Definition MAAnnotation.h:17
© 2017 高德信息技术有限公司 版权所有，保留所有权利。