google-maps-ios-utils
google-maps-ios-utils copied to clipboard
didTapMarker not shown title of marker
In example project. When click on marker shown dialog without title of marker
Go to GDefaultClusterRenderer.m file, in clustersChanged method, add the following:
marker.title = cluster.marker.title;
marker.snippet = cluster.marker.snippet;
then the title and snippet will show normally.
If you're implementing didTapMarker method the title and snippet won't show as there will be a conflict
all you have to do is "return false"
func mapView(mapView: GMSMapView!, didTapMarker marker: GMSMarker!) -> Bool {
return false
}