I have added a marker as the following:
marker = [GMSMarker markerWithPosition:desLocation];
marker.title = @"Title";
marker.appearAnimation = kGMSMarkerAnimationPop;
marker.snippet = @"Snippet";
[marker setMap:mapView];
It's OK!! But if i want to show the title and snippet of this marker, i have to tap on the marker. So, how could the GMSMapView show the marker's title and snippet automatically without tapper.
Tks for all help!!
Just call:
[mapView setSelectedMarker:marker];
That should do what you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With