How can we execute a function for example _markerPressed()
in google map when user taps on a marker?
I dont want to show a popup I know its possible using infoWindow
.
I want to, for example open a card on screen.
I've tried the onTap:
and onLongPress:
functions but it's only working while tapping on the map not the markers.
Thank you in advance