高德地图SDK(导航) V10.0.900
Loading...
Searching...
No Matches
<MAAnnotation> Protocol Reference

该类为标注点的protocol,提供了标注类的基本信息函数 More...

#import <MAAnnotation.h>

Inheritance diagram for <MAAnnotation>:
AMapNaviCompositeCustomAnnotation <MAOverlay> <AMapNaviCompositeOverlay> MABaseOverlay MACircle MAPolygon MAPolyline MAShape MACircle MAMultiPoint MAPointAnnotation MAPolygon MAPolyline MAAnimatedAnnotation MAUserLocation

Instance Methods

(void) - setCoordinate:
 设置标注的坐标,在拖拽时会被调用.
 

Properties

CLLocationCoordinate2D coordinate
 标注view中心坐标
 
NSString * title
 annotation标题
 
NSString * subtitle
 annotation副标题
 
double altitude
 annotation海拔高度,单位米,默认0
 

Detailed Description

该类为标注点的protocol,提供了标注类的基本信息函数

Method Documentation

◆ setCoordinate:

- (void) setCoordinate: (CLLocationCoordinate2D)  newCoordinate

设置标注的坐标,在拖拽时会被调用.

Parameters
newCoordinate新的坐标值

Property Documentation

◆ altitude

- (double) altitude
readwritenonatomicassign

annotation海拔高度,单位米,默认0

◆ coordinate

- (CLLocationCoordinate2D) coordinate
readnonatomicassign

标注view中心坐标

Reimplemented in <MAOverlay>.

◆ subtitle

- (NSString*) subtitle
readwritenonatomiccopy

annotation副标题

◆ title

- (NSString*) title
readwriteoptionalnonatomiccopy

annotation标题


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