导航界面自定义标注 since 5.5.0
More...
#import <AMapNaviCompositeAnnotation.h>
|
| CLLocationCoordinate2D | coordinate |
| | 标注的中心坐标
|
| |
| NSInteger | zIndex |
| | z值,大值在上,默认为0. 类似CALayer的zPosition
|
| |
| BOOL | enable |
| | 导航界面添加的自定义标注是否可以响应事件,默认为NO. since 7.5.0
|
| |
| NSString * | identifier |
| | 导航界面添加的自定义标注的复用view的标识,注意:如果两个标注有不同的图标,这个复用标识必须设置,否则会出现复用混乱的现象. since 8.0.0
|
| |
| CLLocationCoordinate2D | coordinate |
| | 标注view中心坐标
|
| |
| NSString * | title |
| | annotation标题
|
| |
| NSString * | subtitle |
| | annotation副标题
|
| |
| double | altitude |
| | annotation海拔高度,单位米,默认0
|
| |
◆ initWithCoordinate:view:
| - (id) initWithCoordinate: |
|
(CLLocationCoordinate2D) |
coordinate |
| view: |
|
(UIView *) |
view |
|
|
| |
初始化导航界面自定义标注. since 5.5.0
- Parameters
-
| coordinate | 标注的中心坐标. |
| view | 会被显示在驾车导航界面的地图上. 如需调整view的相对位置,请修改view.frame.origin |
- Returns
- id 自定义标注对象
◆ coordinate
| - (CLLocationCoordinate2D) coordinate |
|
readwritenonatomicassign |
◆ enable
导航界面添加的自定义标注是否可以响应事件,默认为NO. since 7.5.0
◆ identifier
导航界面添加的自定义标注的复用view的标识,注意:如果两个标注有不同的图标,这个复用标识必须设置,否则会出现复用混乱的现象. since 8.0.0
◆ zIndex
z值,大值在上,默认为0. 类似CALayer的zPosition
The documentation for this class was generated from the following file: