Skip to content

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

@jamesynotnot

Description

@jamesynotnot

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions