iOS高德地图SDK(2D)  v5.6.0
<MAAnnotation > Protocol Reference

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

#import <MAAnnotation.h>

Inheritance diagram for <MAAnnotation >:

Instance Methods

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

Properties

CLLocationCoordinate2D coordinate
 标注view中心坐标 More...
 
NSString * title
 获取annotation标题 More...
 
NSString * subtitle
 获取annotation副标题 More...
 

Detailed Description

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

Method Documentation

◆ setCoordinate:()

- (void MAAnnotation) setCoordinate: (CLLocationCoordinate2D)  newCoordinate

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

Parameters
newCoordinate新的坐标值

Property Documentation

◆ coordinate

- (CLLocationCoordinate2D MAAnnotation) coordinate
readnonatomicassign

标注view中心坐标

◆ subtitle

- (NSString* MAAnnotation) subtitle
readnonatomiccopy

获取annotation副标题

◆ title

- (NSString* MAAnnotation) title
readoptionalnonatomiccopy

获取annotation标题


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