How can I intercept touches on a marker in Google Maps SDK for iOS?
问题 I am new to the Google Maps SDK for iOS. When a user clicks on a marker, instead of showing the default info window with a title and snippet, I would like to direct them somewhere else in my app (such as a modal view controller). I have searched through the header files and online and I can't seem to find anything relating to touch events on markers. Does anyone have suggestions or workarounds? 回答1: I believe what you want is to add the delegate and override the didTapMarker method /** *