Zoom and pan with gesture

kedar joshi shared this problem 4 years ago
Solved

hey,


I'm using 5.6.1 trail version. I'm creating proto for iPad. Map should zoomin on 'pinch open' or map should pan on drag by default. I used dynamic panel which support panning (scrolling) by default; but if I assign 'pinch open' gesture to the map image it wont work. Please help.

Comments (7)

photo
1

or say can we add condition for gesture? i.e., if one finger pan else if two fingers (pinch) resize for one image/element?

photo
1

Hi Kedar,


is the Map an image or is a HTML widget?


Best regards.

photo
1

Hi,


It's an image

photo
1

Hi Kedar,


I'm sorry to tell you that it's a bug with the "pinch" event. The object that has a "pinch" event, all its area doesn't allow to drag. We will try to solve for the next update.


Sorry for the inconvenience.

photo
1

Albert,


thanks for the updates. It's OK. You guys are doing great with this tool. I'm sure you will fix this very soon


Many thanks!

photo
1

I have the same problem, but I have a text with a pinch open event and it doesn't work at all. It doesn't recognize the event. Do you have a solution for this ? :S


Thanks


Justine

photo
1

Hi Justine,


You can try applying the pinch gesture into a bigger text area.


Best,


Sonia Durán