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

didTapMarker: determine if the marker is in clustered state for a zoom level

Open jamesynotnot opened this issue 8 years ago • 0 comments

A marker should be able to have different behaviors based on whether its in a clustered state or not. I need a method in, say, NonHierarchicalDistanceBasedAlgorithm that can provide a bool for a marker at a specific zoom. I'm a new swift developer, so lost creating this function:

- (BOOL)isClustered:(GMSMarker*)item andZoom: (float)zoom {    
    NSSet *clusters = [self getClusters:zoom];
// ???
    return YES;
}

Can anyone help?

jamesynotnot avatar May 07 '16 00:05 jamesynotnot