DDRBoxman/google-maps-ios-utils

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

Opened this issue · 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?