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

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

`#include <MACustomCalloutView.h>`

Inheritance diagram for MACustomCalloutView:

## Instance Methods
(id) | - initWithCustomView:
| 初始化并返回一个MACustomCalloutView since 5.0.0 Initialize and return a MACustomCalloutView since 5.0.0

## Properties
UIView * | customView
id | userData

## Detailed Description

自定义annotationView的弹出框. 注意:不会触发-(void)mapView: didAnnotationViewCalloutTapped: since 5.0.0 Customize the popup of annotationView. Note: It will not trigger -(void)mapView: didAnnotationViewCalloutTapped: since 5.0.0

## Method Documentation

## ◆ initWithCustomView:

- (id) initWithCustomView: |  | (UIView *) | customView |

初始化并返回一个MACustomCalloutView since 5.0.0 Initialize and return a MACustomCalloutView since 5.0.0

Parameters

  customView | 自定义View，不能为nil Custom View, cannot be nil

Returns
  初始化成功则返回MACustomCalloutView,否则返回nil Returns MACustomCalloutView if initialization is successful, otherwise returns nil

## Property Documentation

## ◆ customView

- (UIView*) customView
| read nonatomic strong

init时传入的customView since 5.0.0 CustomView passed during init since 5.0.0

## ◆ userData

- (id) userData
| read write nonatomic strong

用户自定义数据，内部不做处理 since 5.0.0 User-defined data, no internal processing since 5.0.0

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

- MACustomCalloutView.h

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