iOS高德地图SDK(3D) V11.2.0001

Instance Methods | Properties | List of all members
<MAAnnotation> Protocol Reference

`#import <MAAnnotation.h>`

Inheritance diagram for <MAAnnotation>:

## 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
| read write nonatomic assign

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

## ◆ coordinate

- (CLLocationCoordinate2D) coordinate
| read nonatomic assign

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

Reimplemented in <MAOverlay>.

## ◆ subtitle

- (NSString*) subtitle
| read write nonatomic copy

annotation副标题 the annotation subtitle

## ◆ title

- (NSString*) title
| read write optional nonatomic copy

annotation标题 the annotation title

The documentation for this protocol was generated from the following file:

- MAAnnotation.h

© 2017 高德信息技术有限公司 版权所有，保留所有权利。