Relative Content

Tag Archive for iosswiftgoogle-mapsswiftui

Delegate function not being called when tapping a poi using the gms and swift ui

So I implemented the google maps sdk in swiftui and for some reason the the delegate function mapView(_:didTapPOIWithPlaceID:name:location:) is not being called, but the function func mapView(_ mapView: GMSMapView, didTapAt coordinate: CLLocationCoordinate2D) is. I am tapping pois. So I really do not now what I’m doing wrong.