Adding Click Event on InfoWindow/Marker in Google Maps SDK for native iOS/objective C

后端 未结 7 2099
无人及你
无人及你 2020-12-05 05:41

Simple Question

I´m working on an App for iOS where I embedded the new Google Map for native iOS. Everything works fine except one problem where I can´t find a propp

7条回答
  •  北海茫月
    2020-12-05 06:10

    where you adding Map,add

     mapView_.delegate=self; 
    

    then use this

    -(void)mapView:(GMSMapView *)mapView
    didTapInfoWindowOfMarker:(id)marker{
    
       //info window tapped
    
    }
    

提交回复
热议问题