BaiduMap_IOSSDK_v7.0.0_Docs 7.0.0

BMKMapGestureDelegate.h
浏览该文件的文档.
1 //
2 // BMKMapGestureDelegate.h
3 // MapComponent
4 //
5 // Created by zhaoxiangru on 2022/1/29.
6 // Copyright © 2022 Baidu. All rights reserved.
7 //
8 #ifndef __BMKMapGestureDelegate_H__
9 #define __BMKMapGestureDelegate_H__
10 #import <Foundation/Foundation.h>
11
12 @class BMKMapView;
13 @class BMKMapStatus;
14 @class BMKFlyingGestureRecognizer;
18 @protocol BMKMapGestureDelegate <NSObject>
19 @optional
20 #pragma mark - Gesture action selector 回调
21 - (BOOL)handleTapGesture:(UITapGestureRecognizer *)gesture;
24
28 - (BOOL)handlePanGesture:(UIPanGestureRecognizer *)gesture;
29
32 - (BOOL)handleFlyingGesture:(BMKFlyingGestureRecognizer *)gesture;
33
36 - (BOOL)handleLongGesture:(UILongPressGestureRecognizer *)gesture;
37
40 - (BOOL)handleDoubleTapGesture:(UITapGestureRecognizer *)gesture;
41
42
45 - (BOOL)handleTwoFingersTapGesture:(UITapGestureRecognizer *)gesture;
46
49 - (BOOL)handleTwoFingersPanGesture:(UIPanGestureRecognizer *)gesture;
50
53 - (BOOL)handleRotationGesture:(UIRotationGestureRecognizer *)gesture;
54
57 - (BOOL)handlePinchGesture:(UIPinchGestureRecognizer *)gesture;
58
59 #pragma mark - 以下为手势自定义方法回调，内部优先响应Gesture action selector 回调
60 - (BOOL)beginTouchPoint:(CGPoint)touchPoint mapSatus:(BMKMapStatus *)mapSatus;
64
68 - (BOOL)moveTouchPoint:(CGPoint)touchPoint mapSatus:(BMKMapStatus *)mapSatus;
69
73 - (BOOL)endTouchPoint:(CGPoint)touchPoint mapSatus:(BMKMapStatus *)mapSatus;
74
79 - (BOOL)twoFingersBeginTouchPoint:(CGPoint)touchPoint otherTouchPoint:(CGPoint)otherTouchPoint mapSatus:(BMKMapStatus *)mapSatus;
80
85 - (BOOL)twoFingersMoveTouchPoint:(CGPoint)touchPoint otherTouchPoint:(CGPoint)otherTouchPoint mapSatus:(BMKMapStatus *)mapSatus;
86
91 - (BOOL)twoFingersEndTouchPoint:(CGPoint)touchPoint otherTouchPoint:(CGPoint)otherTouchPoint mapSatus:(BMKMapStatus *)mapSatus;
92
96 - (BOOL)doubleTap:(CGPoint)tapPoint mapSatus:(BMKMapStatus *)mapSatus;
97
102 - (BOOL)twoFingerTap:(CGPoint)tapPoint otherTapPoint:(CGPoint)otherTapPoint mapSatus:(BMKMapStatus *)mapSatus;
103
108 - (BOOL)onMapFlyingWithEndTapPoint:(CGPoint)tapPoint speed:(CGPoint)speed mapSatus:(BMKMapStatus *)mapSatus;
109
115 - (BOOL)onMapOverlookWithTapPoint:(CGPoint)tapPoint otherTapPoint:(CGPoint)otherTapPoint overLook:(int)overLook mapSatus:(BMKMapStatus *)mapSatus;
116
122 - (BOOL)onMapRoateWithTapPoint:(CGPoint)tapPoint otherTapPoint:(CGPoint)otherTapPoint route:(int)roate mapSatus:(BMKMapStatus *)mapSatus;
123
129 - (BOOL)onMapScaleWithTapPoint:(CGPoint)tapPoint otherTapPoint:(CGPoint)otherTapPoint scale:(float)scale mapSatus:(BMKMapStatus *)mapSatus;
130
131
137 - (BOOL)onMapEndScaleTapPoint:(CGPoint)tapPoint otherTapPoint:(CGPoint)otherTapPoint scale:(float)scale mapSatus:(BMKMapStatus *)mapSatus;
138 @end
139 #endif /* __BMKMapGestureDelegate_H__ */
BMKMapStatus
此类表示地图状态信息
Definition: BMKMapStatus.h:16
BMKMapView
地图View类，使用此View可以显示地图窗口，并且对地图进行相关的操作
Definition: BMKMapView.h:118
BMKMapGestureDelegate-p
Definition: BMKMapGestureDelegate.h:18
BMKFlyingGestureRecognizer
Definition: BMKFlyingGestureRecognizer.h:18