高德地图SDK(导航)  V11.1.000
AMapNaviCustomAnnotation Class Reference

#import <AMapNaviCompositeAnnotation.h>

Inheritance diagram for AMapNaviCustomAnnotation:

Instance Methods

(instancetype) - initWithCoordinate:iconModel:
 初始化自定义标注. since 10.0.920 Initialize custom annotation. since 10.0.920 More...
 

Properties

CLLocationCoordinate2D coordinate
 标注的坐标 Marked coordinates More...
 
AMapNaviCustomAnnotationItemIconModelicon
 图标 icon More...
 
AMapNaviAnnotationClickCallback clickBlock
 

Detailed Description

自定义标注 since 10.0.920 Custom annotation since 10.0.920

Method Documentation

◆ initWithCoordinate:iconModel:

- (instancetype) initWithCoordinate: (CLLocationCoordinate2D)  coordinate
iconModel: (AMapNaviCustomAnnotationItemIconModel *)  iconModel 

初始化自定义标注. since 10.0.920 Initialize custom annotation. since 10.0.920

Parameters
coordinate标注的中心坐标. The center coordinates of the annotation.
Returns
instancetype 自定义标注对象 Custom annotation object

Property Documentation

◆ clickBlock

- (AMapNaviAnnotationClickCallback) clickBlock
readwritenonatomiccopy

自定义标注 点击事件 since 10.0.920 Custom annotation click event since 10.0.920

◆ coordinate

- (CLLocationCoordinate2D) coordinate
readnonatomicassign

标注的坐标 Marked coordinates

◆ icon

- (AMapNaviCustomAnnotationItemIconModel*) icon
readnonatomicstrong

图标 icon


The documentation for this class was generated from the following file:
© 2017 高德信息技术有限公司 版权所有,保留所有权利。