Well, same problem here...
As there is no zoom_start or zoom_end events i did this :
google.maps.event.addListener(map, 'zoom_changed', function() {
google.maps.event.trigger(map, 'dragend');
});
My goal was to try to end the dragging process that seems to be fired
at the same time as the pinch one.
The fact is that dragend is fired properly but it doesn't affect the
map behavior in anyway
I also tried to disable the draggable attribute of the map on
zoom_changed, and that is not effective because dragstart seems to
have been fired before zoom_changed. Once started, draging process
don't can't be interrupted changing that attribute.
I really afraid that bug can't be bypassed because catchable events
are not precise enough : no zoom-start/zoom-end because zoom is
considered as a punctual event that doesn't fit the pinch action.
Seems that the touch event management of the api consists in
trigerring mouse events...
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.