Disable zooming on double tap

138 views
Skip to first unread message

Ahmed Madhun

unread,
Apr 12, 2018, 9:07:06 AM4/12/18
to mapsforge-dev
Is it possible to disable zooming functionality on double clicking ?
I want zooming to be available just by using to fingers to zoom in and out.

I am trying to use the double tap event for something else in my project.

Emux

unread,
Apr 12, 2018, 10:12:19 AM4/12/18
to mapsfo...@googlegroups.com
Which library: Mapsforge or VTM?
Please put library name in each topic's title.

There are not currently any parameters for using optionally some gestures on the map.

But usually if trying to use a gesture on an overlay, then since overlays are above the map.
So they should capture the event first and won't propagate further on below layers (like the map).

--
Emux

Ahmed Madhun

unread,
Apr 12, 2018, 10:23:44 AM4/12/18
to mapsforge-dev
Sorry, it's mapsforge

Emux

unread,
Apr 14, 2018, 10:06:11 AM4/14/18
to mapsfo...@googlegroups.com
I added on master the option for double tap in zooming. Can be handled via:

mapView.getTouchGestureHandler().setDoubleTapEnabled(false);

--
Reply all
Reply to author
Forward
0 new messages