Skip to content

GMSMapView is freezing when call updateClusters with 900+ markers #71

@Banck

Description

@Banck

Hello!
GMMapView is freezing when we have clustered markers with about 900-3k markers and annotations count changes (after zoom, for example).
I found the row which is slow:
in GMSMapView+ClusterKit.m in method - (void)removeCluster:(CKCluster *)cluster
[self.markers removeObjectForKey:cluster];
@maxep Could you please take a look, if you can optimize - it will be so good, because with 900+ markers ClusterKit is impossible to use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions