public static interface BaiduMap.onMapGestureListener
限定符和类型 | 方法和说明 |
---|---|
boolean |
onMapDoubleTouch(Point point,
MapStatus curStatus)
双击放大
|
boolean |
onMapFling(MotionEvent event,
float velocityX,
float velocityY,
MapStatus curStatus)
惯性抛出手势
|
boolean |
onMapKneading(Point p1,
Point p2,
MapStatus curStatus)
捏合
|
boolean |
onMapOverLooking(Point p1,
Point p2,
MapStatus curStatus)
俯视
|
boolean |
onMapScroll(Point start,
Point end,
MapStatus curStatus)
平移
|
void |
onMapStatusChangeFinish(MapStatus status)
手势事件结束后地图状态
|
boolean |
onMapTwoClick(Point p1,
Point p2,
MapStatus curStatus)
双指点击缩小
|
boolean onMapScroll(Point start, Point end, MapStatus curStatus)
start
- 平移手势开始屏幕坐标点end
- 平移手势结束屏幕坐标点curStatus
- 当前地图状态boolean onMapDoubleTouch(Point point, MapStatus curStatus)
point
- 屏幕坐标点curStatus
- 当前地图状态boolean onMapTwoClick(Point p1, Point p2, MapStatus curStatus)
p1
- 第一个屏幕坐标点p2
- 第二个屏幕坐标点curStatus
- 当前地图状态boolean onMapKneading(Point p1, Point p2, MapStatus curStatus)
p1
- p2
- curStatus
- boolean onMapOverLooking(Point p1, Point p2, MapStatus curStatus)
p1
- p2
- curStatus
- boolean onMapFling(MotionEvent event, float velocityX, float velocityY, MapStatus curStatus)
event
- velocityX
- velocityY
- curStatus
- void onMapStatusChangeFinish(MapStatus status)
status
- 当前地图状态