Skip to content

Clustering: idea/suggestion for polygon and polyline #521

@danielnkv

Description

@danielnkv

Hi,

I have an app where I load all type of geometries(marker, polygon, polyline) on the map. I'm using cluster manager to cluster all the items including polygons and polylines.

I know only markers are supported by cluster manager but I'm using workaround to cluster polygons/polylines. I'm using the starting point of polygon/polyline to conform to GMUClusterItem and then on willRenderMarker delegate I render the actual geometry. All works perfectly fine with one exception witch I cannot fix.

When I have a polygon with very big area and zoom in, it doesn't show until I have the starting point(which I use for the cluster) visible on the screen.

Would be very nice if someone give me some idea/suggestion or smarter solution on clustering polygons and lines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage meI really want to be triaged.type: questionRequest for information or clarification. Not an issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions