Blame view

Pods/AMap3DMap/MAMapKit.framework/Headers/MACustomCalloutView.h 795 Bytes
75d24c15   yangbin   123
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  //
  //  MACustomCalloutView.h
  //  MAMapKit
  //
  //  Created by shaobin on 17/1/6.
  //  Copyright © 2017 Amap. All rights reserved.
  //
  
  #import <UIKit/UIKit.h>
  #import "MAConfig.h"
  
  ///自定义annotationView的弹出框. 注意:不会触发-(void)mapView: didAnnotationViewCalloutTapped: since 5.0.0
  @interface MACustomCalloutView : UIView
  
  ///init时传入的customView since 5.0.0
  @property (nonatomic, strong, readonly) UIView *customView;
  
  ///用户自定义数据,内部不做处理 since 5.0.0
  @property (nonatomic, strong) id userData;
  
  /**
   * @brief 初始化并返回一个MACustomCalloutView since 5.0.0
   * @param customView 自定义View,不能为nil
   * @return 初始化成功则返回MACustomCalloutView,否则返回nil
   */
  - (id)initWithCustomView:(UIView *)customView;
  
  
  @end