FMGLCalloutView

概述

用于表示标注弹出气泡的委托类,由FMGLCalloutView类实现,由FMGLMapView类使用

函数

-presentCalloutFromRect: inView: constrainedToView:animated:

显示标注弹出气泡

PARAMETERS

参数 类型 说明
rect CGRect 范围大小
view UIView 视图
constrainedView UIView 视图
animated BOOL 动画效果

RETURN VALUE

void

-dismissCalloutAnimated:

关闭标注弹出气泡

PARAMETERS

参数 类型 说明
animated BOOL 动画效果

RETURN VALUE

void

属性

representedObject

委托类FMGLAnnotation的对象

声明

@property (nonatomic, strong) id <FMGLAnnotation> representedObject;

leftAccessoryView

左侧附属画面

声明

@property (nonatomic, strong) UIView *leftAccessoryView;

rightAccessoryView

右侧附属画面

声明

@property (nonatomic, strong) UIView *rightAccessoryView;

delegate

委托类FMGLCalloutViewDelegate的对象

声明

@property (nonatomic, weak) id<FMGLCalloutViewDelegate> delegate;

results matching ""

    No results matching ""