Question

How can I make these buildings respond to touch using the Google Map SDK? The points that define the edges of the building are clearly defined, so how can I access this data to determine if a touch has been made inside vs outside of the building.

enter image description here

Was it helpful?

Solution

You cannot do it directly, else you can create GMSOverlay around the area you want an action then can use the Google MapView delegate function

mapView:didTapOverlay:
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top