googlemaps / googlemaps/google-maps-ios-utils
Clustering: idea/suggestion for polygon and polyline
- 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
Assessment
This issue has not been assessed yet.