#import <BMKMapGestureDelegate.h>
◆ beginTouchPoint:mapSatus:
| - (BOOL) beginTouchPoint: |
|
(CGPoint) |
touchPoint |
| mapSatus: |
|
(BMKMapStatus *) |
mapSatus |
|
|
| |
|
optional |
单指手势开始时回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
| touchPoint | 单指手势开始时手指位置 |
| mapSatus | 当前地图状态 |
◆ doubleTap:mapSatus:
| - (BOOL) doubleTap: |
|
(CGPoint) |
tapPoint |
| mapSatus: |
|
(BMKMapStatus *) |
mapSatus |
|
|
| |
|
optional |
单指双击放大回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
| tapPoint | 手指位置 |
| mapSatus | 当前地图状态 |
◆ endTouchPoint:mapSatus:
| - (BOOL) endTouchPoint: |
|
(CGPoint) |
touchPoint |
| mapSatus: |
|
(BMKMapStatus *) |
mapSatus |
|
|
| |
|
optional |
单指手势抬结束时回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
| touchPoint | 单指手势结束时手指位置 |
| mapSatus | 当前地图状态 |
◆ handleDoubleTapGesture:
| - (BOOL) handleDoubleTapGesture: |
|
(UITapGestureRecognizer *) |
gesture |
|
|
optional |
单指双击手势处理回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
◆ handleFlyingGesture:
快速滑动手势处理回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
◆ handleLongGesture:
| - (BOOL) handleLongGesture: |
|
(UILongPressGestureRecognizer *) |
gesture |
|
|
optional |
长按手势处理回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
◆ handlePanGesture:
| - (BOOL) handlePanGesture: |
|
(UIPanGestureRecognizer *) |
gesture |
|
|
optional |
拖拽手势处理回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
| gesture | 当前手势对象 注意:pan手势被拦截时filing手势会同时被拦截 |
◆ handlePinchGesture:
| - (BOOL) handlePinchGesture: |
|
(UIPinchGestureRecognizer *) |
gesture |
|
|
optional |
捏合手势处理回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
◆ handleRotationGesture:
| - (BOOL) handleRotationGesture: |
|
(UIRotationGestureRecognizer *) |
gesture |
|
|
optional |
旋转手势处理回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
◆ handleTapGesture:
| - (BOOL) handleTapGesture: |
|
(UITapGestureRecognizer *) |
gesture |
|
|
optional |
单击手势处理回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
◆ handleTwoFingersPanGesture:
| - (BOOL) handleTwoFingersPanGesture: |
|
(UIPanGestureRecognizer *) |
gesture |
|
|
optional |
双指滑动手势处理回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
◆ handleTwoFingersTapGesture:
| - (BOOL) handleTwoFingersTapGesture: |
|
(UITapGestureRecognizer *) |
gesture |
|
|
optional |
双指点击手势处理回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
◆ moveTouchPoint:mapSatus:
| - (BOOL) moveTouchPoint: |
|
(CGPoint) |
touchPoint |
| mapSatus: |
|
(BMKMapStatus *) |
mapSatus |
|
|
| |
|
optional |
单指手势移动时回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
| touchPoint | 单指手势移动时手指位置 |
| mapSatus | 当前地图状态 |
◆ onMapEndScaleTapPoint:otherTapPoint:scale:mapSatus:
| - (BOOL) onMapEndScaleTapPoint: |
|
(CGPoint) |
tapPoint |
| otherTapPoint: |
|
(CGPoint) |
otherTapPoint |
| scale: |
|
(float) |
scale |
| mapSatus: |
|
(BMKMapStatus *) |
mapSatus |
|
|
| |
|
optional |
双指缩放结束延迟动画回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
| tapPoint | 手指1位置 |
| otherTapPoint | 手指2位置 |
| scale | 缩放变化比例 |
| mapSatus | 当前地图状态 |
◆ onMapFlyingWithEndTapPoint:speed:mapSatus:
| - (BOOL) onMapFlyingWithEndTapPoint: |
|
(CGPoint) |
tapPoint |
| speed: |
|
(CGPoint) |
speed |
| mapSatus: |
|
(BMKMapStatus *) |
mapSatus |
|
|
| |
|
optional |
单指快速滑动过程回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
| tapPoint | 手指位置 |
| speed | 手指离开时速度 |
| mapSatus | 当前地图状态 |
◆ onMapOverlookWithTapPoint:otherTapPoint:overLook:mapSatus:
| - (BOOL) onMapOverlookWithTapPoint: |
|
(CGPoint) |
tapPoint |
| otherTapPoint: |
|
(CGPoint) |
otherTapPoint |
| overLook: |
|
(int) |
overLook |
| mapSatus: |
|
(BMKMapStatus *) |
mapSatus |
|
|
| |
|
optional |
双指平移过程回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
| tapPoint | 手指1位置 |
| otherTapPoint | 手指2位置 |
| overLook | 俯瞰角变化的角度 |
| mapSatus | 当前地图状态 |
◆ onMapRoateWithTapPoint:otherTapPoint:route:mapSatus:
| - (BOOL) onMapRoateWithTapPoint: |
|
(CGPoint) |
tapPoint |
| otherTapPoint: |
|
(CGPoint) |
otherTapPoint |
| route: |
|
(int) |
roate |
| mapSatus: |
|
(BMKMapStatus *) |
mapSatus |
|
|
| |
|
optional |
双指旋转过程回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
| tapPoint | 手指1位置 |
| otherTapPoint | 手指2位置 |
| roate | 旋转变化角度 |
| mapSatus | 当前地图状态 |
◆ onMapScaleWithTapPoint:otherTapPoint:scale:mapSatus:
| - (BOOL) onMapScaleWithTapPoint: |
|
(CGPoint) |
tapPoint |
| otherTapPoint: |
|
(CGPoint) |
otherTapPoint |
| scale: |
|
(float) |
scale |
| mapSatus: |
|
(BMKMapStatus *) |
mapSatus |
|
|
| |
|
optional |
双指缩放过程回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
| tapPoint | 手指1位置 |
| otherTapPoint | 手指2位置 |
| scale | 缩放变化比例 |
| mapSatus | 当前地图状态 |
◆ twoFingersBeginTouchPoint:otherTouchPoint:mapSatus:
| - (BOOL) twoFingersBeginTouchPoint: |
|
(CGPoint) |
touchPoint |
| otherTouchPoint: |
|
(CGPoint) |
otherTouchPoint |
| mapSatus: |
|
(BMKMapStatus *) |
mapSatus |
|
|
| |
|
optional |
双指手势开始回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
| touchPoint | 手指1位置 |
| otherTouchPoint | 手指2位置 |
| mapSatus | 当前地图状态 |
◆ twoFingersEndTouchPoint:otherTouchPoint:mapSatus:
| - (BOOL) twoFingersEndTouchPoint: |
|
(CGPoint) |
touchPoint |
| otherTouchPoint: |
|
(CGPoint) |
otherTouchPoint |
| mapSatus: |
|
(BMKMapStatus *) |
mapSatus |
|
|
| |
|
optional |
双指手势结束回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
| touchPoint | 手指1位置 |
| otherTouchPoint | 手指2位置 |
| mapSatus | 当前地图状态 |
◆ twoFingersMoveTouchPoint:otherTouchPoint:mapSatus:
| - (BOOL) twoFingersMoveTouchPoint: |
|
(CGPoint) |
touchPoint |
| otherTouchPoint: |
|
(CGPoint) |
otherTouchPoint |
| mapSatus: |
|
(BMKMapStatus *) |
mapSatus |
|
|
| |
|
optional |
双指手势移动时回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
| touchPoint | 手指1位置 |
| otherTouchPoint | 手指2位置 |
| mapSatus | 当前地图状态 |
◆ twoFingerTap:otherTapPoint:mapSatus:
| - (BOOL) twoFingerTap: |
|
(CGPoint) |
tapPoint |
| otherTapPoint: |
|
(CGPoint) |
otherTapPoint |
| mapSatus: |
|
(BMKMapStatus *) |
mapSatus |
|
|
| |
|
optional |
双指点击缩小回调,返回YES时为外部拦截该手势操作,内部将不做其他处理
- 参数
-
| tapPoint | 手指1位置 |
| otherTapPoint | 手指2位置 |
| mapSatus | 当前地图状态 |
该协议的文档由以下文件生成: