googlemaps / googlemaps/google-maps-ios-utils

Clustering: idea/suggestion for polygon and polyline

Open
#521 0 comments 0 reactions 0 assignees View on GitHub
triage me type: question
Dominant language
Objective-C
Stars
778
Forks
441
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.