高德地图SDK(导航)  V11.1.000
<MAAnnotation> Protocol Reference

#import <MAAnnotation.h>

Inheritance diagram for <MAAnnotation>:
AMapNaviCompositeCustomAnnotation MAMultiPointItem <MAOverlay> MAShape <AMapNaviCompositeOverlay> MAArc MABaseOverlay MACircle MACustomBuildingOverlay MAGroundOverlay MAHeatMapVectorGridOverlay MAHeatMapVectorOverlay MAMultiPointOverlay MAParticleOverlay MAPolygon MAPolyline MAArc MACircle MACustomBuildingOverlay MAGroundOverlay MAHeatMapVectorGridOverlay MAHeatMapVectorOverlay MAMultiPoint MAMultiPointOverlay MAParticleOverlay MAPointAnnotation

Instance Methods

(void) - setCoordinate:
 设置标注的坐标,在拖拽时会被调用. Set the coordinates of the annotation, which will be called during dragging More...
 

Properties

CLLocationCoordinate2D coordinate
 
NSString * title
 
NSString * subtitle
 
double altitude
 

Detailed Description

该类为标注点的protocol,提供了标注类的基本信息函数 This class is the protocol for annotation points, providing basic information functions for the annotation class

Method Documentation

◆ setCoordinate:

- (void) setCoordinate: (CLLocationCoordinate2D)  newCoordinate

设置标注的坐标,在拖拽时会被调用. Set the coordinates of the annotation, which will be called during dragging

Parameters
newCoordinate新的坐标值 New coordinate values

Property Documentation

◆ altitude

- (double) altitude
readwritenonatomicassign

annotation海拔高度,单位米,默认0 the annotation altitude, in meters, default is 0

◆ coordinate

- (CLLocationCoordinate2D) coordinate
readnonatomicassign

标注view中心坐标 the center coordinates of the annotation view

Reimplemented in <MAOverlay>.

◆ subtitle

- (NSString*) subtitle
readwritenonatomiccopy

annotation副标题 the annotation subtitle

◆ title

- (NSString*) title
readwriteoptionalnonatomiccopy

annotation标题 the annotation title


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