Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cluster ClusterMarker if they are very close together #34

Open
GoogleCodeExporter opened this issue Apr 14, 2016 · 1 comment
Open

Cluster ClusterMarker if they are very close together #34

GoogleCodeExporter opened this issue Apr 14, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

If all the Markers inside of two different clusters are located near to the 
cluster boarder of the two clusters the Cluster Markers overlaps.
If the ClusterMarkers are close together they should be clustered together.

It woulb be nice if you could add such a feature.

Original issue reported on code.google.com by [email protected] on 22 Sep 2013 at 5:15

Attachments:

@GoogleCodeExporter
Copy link
Author

Hello Joachim,
This is a general problem with grid-based clustering.

One way to solve this would be to position cluster in the center of square like 
here: 
https://developers.google.com/maps/articles/toomanymarkers#gridbasedclustering
Not too much code changes would be required if you like it that way.

If it happens to you only when the amount of markers in a cluster is small, 
consider using a workaround from Issue 17.

If your markers don't move (e.g. shops loaded from a webservice) you may try to 
adjust ClusteringSettings.clusterSize. You would then completly change the 
grid, so these 4 markers are always clustered together and only separate when 
it makes more sense.

Please tell me, if anything above worked for you. It may take some time before 
I implement distance-based clustering.

Original comment by [email protected] on 23 Sep 2013 at 11:26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant