BaiduMap_IOSSDK_v6.5.2_Docs  6.5.2
构造函数 | 所有成员列表
<BMKMapGestureDelegate>协议 参考

#import <BMKMapGestureDelegate.h>

类 <BMKMapGestureDelegate> 继承关系图:

构造函数

(BOOL) - handleTapGesture:
 
(BOOL) - handlePanGesture:
 
(BOOL) - handleFlyingGesture:
 
(BOOL) - handleLongGesture:
 
(BOOL) - handleDoubleTapGesture:
 
(BOOL) - handleTwoFingersTapGesture:
 
(BOOL) - handleTwoFingersPanGesture:
 
(BOOL) - handleRotationGesture:
 
(BOOL) - handlePinchGesture:
 
(BOOL) - beginTouchPoint:mapSatus:
 
(BOOL) - moveTouchPoint:mapSatus:
 
(BOOL) - endTouchPoint:mapSatus:
 
(BOOL) - twoFingersBeginTouchPoint:otherTouchPoint:mapSatus:
 
(BOOL) - twoFingersMoveTouchPoint:otherTouchPoint:mapSatus:
 
(BOOL) - twoFingersEndTouchPoint:otherTouchPoint:mapSatus:
 
(BOOL) - doubleTap:mapSatus:
 
(BOOL) - twoFingerTap:otherTapPoint:mapSatus:
 
(BOOL) - onMapFlyingWithEndTapPoint:speed:mapSatus:
 
(BOOL) - onMapOverlookWithTapPoint:otherTapPoint:overLook:mapSatus:
 
(BOOL) - onMapRoateWithTapPoint:otherTapPoint:route:mapSatus:
 
(BOOL) - onMapScaleWithTapPoint:otherTapPoint:scale:mapSatus:
 
(BOOL) - onMapEndScaleTapPoint:otherTapPoint:scale:mapSatus:
 

详细描述

地图手势代理回调方法

函数文档

◆ 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时为外部拦截该手势操作,内部将不做其他处理

参数
gesture当前手势对象

◆ handleFlyingGesture:

- (BOOL) handleFlyingGesture: (BMKFlyingGestureRecognizer *)  gesture
optional

快速滑动手势处理回调,返回YES时为外部拦截该手势操作,内部将不做其他处理

参数
gesture当前手势对象

◆ handleLongGesture:

- (BOOL) handleLongGesture: (UILongPressGestureRecognizer *)  gesture
optional

长按手势处理回调,返回YES时为外部拦截该手势操作,内部将不做其他处理

参数
gesture当前手势对象

◆ handlePanGesture:

- (BOOL) handlePanGesture: (UIPanGestureRecognizer *)  gesture
optional

拖拽手势处理回调,返回YES时为外部拦截该手势操作,内部将不做其他处理

参数
gesture当前手势对象 注意:pan手势被拦截时filing手势会同时被拦截

◆ handlePinchGesture:

- (BOOL) handlePinchGesture: (UIPinchGestureRecognizer *)  gesture
optional

捏合手势处理回调,返回YES时为外部拦截该手势操作,内部将不做其他处理

参数
gesture当前手势对象

◆ handleRotationGesture:

- (BOOL) handleRotationGesture: (UIRotationGestureRecognizer *)  gesture
optional

旋转手势处理回调,返回YES时为外部拦截该手势操作,内部将不做其他处理

参数
gesture当前手势对象

◆ handleTapGesture:

- (BOOL) handleTapGesture: (UITapGestureRecognizer *)  gesture
optional

单击手势处理回调,返回YES时为外部拦截该手势操作,内部将不做其他处理

参数
gesture当前手势对象

◆ handleTwoFingersPanGesture:

- (BOOL) handleTwoFingersPanGesture: (UIPanGestureRecognizer *)  gesture
optional

双指滑动手势处理回调,返回YES时为外部拦截该手势操作,内部将不做其他处理

参数
gesture当前手势对象

◆ handleTwoFingersTapGesture:

- (BOOL) handleTwoFingersTapGesture: (UITapGestureRecognizer *)  gesture
optional

双指点击手势处理回调,返回YES时为外部拦截该手势操作,内部将不做其他处理

参数
gesture当前手势对象

◆ 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当前地图状态

该协议的文档由以下文件生成: