Search code examples
javaandroidandroid-viewandroid-mapviewandroid-touch-event

Double tap: zoom on Android MapView?


After a little bit of work my route application works fine. The only thing I just want to add is a double tap zoom in function, but I don't know how.

Could you give me a hint?


Solution

  • Implement GestureListener to receive doubleTap events.

    see: Fling gesture detection on grid layout