更新时间:2023-02-14 13:05:08
In my experience, the mousedown
, mouseup
, dragstart
, dragend
events work fine in place of touchstart
, touchmove
, touchend
.
google.maps.event.addListener(myMap, "mousedown", function(event){...});
I'm pretty sure that gesture
events are not going to be supported, since those are used for pinch-zoom functionality.
If you need gestures, you'd have to build your own recognizer by tracking mousedown events, storing them in an array, then tracking positions to determine angles, distances etc...