高德地图SDK(导航) V11.2.0501

Loading...
Searching...
No Matches
Instance Methods | Properties | List of all members
AMapNaviCustomAnnotation Class Reference

`#include <AMapNaviCompositeAnnotation.h>`

Inheritance diagram for AMapNaviCustomAnnotation:

## Instance Methods
(instancetype) | - initWithCoordinate:iconModel:
| 初始化自定义标注. since 10.0.920 Initialize custom annotation. since 10.0.920

## Properties
CLLocationCoordinate2D | coordinate
| 标注的坐标 Marked coordinates
AMapNaviCustomAnnotationItemIconModel * | icon
| 图标 icon
AMapNaviAnnotationClickCallback | clickBlock

## Detailed Description

自定义标注 since 10.0.920 Custom annotation since 10.0.920

## Method Documentation

## ◆ initWithCoordinate:iconModel:

- (instancetype) initWithCoordinate: |  | (CLLocationCoordinate2D) | coordinate
iconModel: |  | (AMapNaviCustomAnnotationItemIconModel *) | iconModel

初始化自定义标注. since 10.0.920 Initialize custom annotation. since 10.0.920

Parameters

  coordinate | 标注的中心坐标. The center coordinates of the annotation.

Returns
  instancetype 自定义标注对象 Custom annotation object

## Property Documentation

## ◆ clickBlock

- (AMapNaviAnnotationClickCallback) clickBlock
| read write nonatomic copy

自定义标注 点击事件 since 10.0.920 Custom annotation click event since 10.0.920

## ◆ coordinate

- (CLLocationCoordinate2D) coordinate
| read nonatomic assign

标注的坐标 Marked coordinates

## ◆ icon

- (AMapNaviCustomAnnotationItemIconModel*) icon
| read nonatomic strong

图标 icon

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

- AMapNaviCompositeAnnotation.h

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