Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.4.1
-
Android
Description
The QtLocation map example creates a QML map element. Inside of that map element it creates a MouseArea and has it fill parent. Everything mostly functions correctly except for pinch to zoom. When you do a pinch gesture the map jumps every time. If you disable the MouseArea everything works as expected. If you set mouse.accepted to false in the MouseArea pinch to zoom works properly, but you do not get any other events in this mouseArea. There are a few possible solutions.
1. Fix the currently handling of gestures in the map so that this isn't a problem
2. Emit onClicked, onDoubleClicked, onPressAndHold, etc from the Map object so that users can have additional functionality
To better describe how the map jumps when doing pinch to zoom. If you put your thumb on a specific location, then put your pointer finger on any location. As soon as you initiate a pinch gesture, the map jumps so that the specific location that was under your thumb jumps to be under your pointer finger.