iOS高德轻量版地图SDK  1.2.0
<MAAnnotation> Protocol Reference

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

#import <MAAnnotation.h>

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

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) setCoordinate: (CLLocationCoordinate2D)  newCoordinate

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

Parameters
newCoordinate新的坐标值

Property Documentation

◆ coordinate

- (CLLocationCoordinate2D) coordinate
readnonatomicassign

标注view中心坐标

◆ subtitle

- (NSString*) subtitle
readwritenonatomiccopy

annotation副标题

◆ title

- (NSString*) title
readwriteoptionalnonatomiccopy

annotation标题


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