Google map touch event for mobile

I have a google map and need to invoke touch event on it…

Usually, mobile web version works with “click” event like below,

google.maps.event.addListener(map_origin, “click”, function(event){ … };

but that would not work with actual mobile version with cordova / ionic.

“mousedown” event is working but this invoke the event everytime I do drag realted events… also this event is not always happening either.

google.maps.event.addListener(map_origin, “mousedown”, function(event){ … };

What would be best choice for touch event in mobile app’s google map?

1 Like