google-maps-ios-utils icon indicating copy to clipboard operation
google-maps-ios-utils copied to clipboard

didTapMarker not shown title of marker

Open askarsyzdykov opened this issue 9 years ago • 2 comments

In example project. When click on marker shown dialog without title of marker

askarsyzdykov avatar Apr 17 '15 06:04 askarsyzdykov

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.

mumensh avatar Sep 15 '15 12:09 mumensh

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
  }

BasantAshraf avatar Feb 28 '16 13:02 BasantAshraf