-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 items with exact same lat/lang position are always bound together as a cluster #384
Comments
I´ve developed a quick workaround, you can find here. In general, ClusterManager class is extended to include a method to check if markers in a cluster have the same location, if that´s the case, the implementation of OnClusterClickListener distribute the markers around the cluster location an hides the original cluster. This workaround only works if the user is in the maximum zoom level and all the markers in the cluster have exact the same location (lat/lng). Also, when the user zooms out all the markers bring back to the original cluster. |
This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you! |
Closing this. Please reopen if you believe it should be addressed. Thank you for your contribution. |
Re-opening, there is a fix proposed in #413. |
Has the same issue. |
This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you! |
Closing this. Please reopen if you believe it should be addressed. Thank you for your contribution. |
Same problem with versions: |
Reading this issue again, it's not clear to me if the feature request is 1) to show clusters are individual markers (but still stacked on the same lat/lon), or 2) to somehow visualize markers with the same lat/lon as "unstacked" so they are separate and don't appear exactly on the same lat/lon. @september669 @agent10 @menismu @usergoodvery Could you clarify which of the two above you're looking for? If 1), you can actually accomplish this with the new method I tested this demo activity with the same marker locations as follows:
...and when you zoom in you can see the individual markers instead of a cluster, although they are all stacked on top of each other. When you tap on the marker, it does cycle through all 7 of them and show the corresponding text in the popup balloon. Please take a look and let me know if that accomplishes what you're looking for, or if you're looking for a solution to visualize markers with the same lat/lon in a different way. |
IMHO, @menismu workaround above looks good and it will be a good UI solution. |
This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you! |
Closing this. Please reopen if you believe it should be addressed. Thank you for your contribution. |
Summary:
Cluster items with exact same lat/lang position are always bound together as a cluster and do not separate away as individual items even at the lowest zoom level.
Steps to reproduce:
Add items with same lat/lang
Expected behavior:
items should seperate
Observed behavior:
items stay clumped together and rendered as cluster
Device and Android version:
lib 0.4.3. Samsung Galaxy S6
The text was updated successfully, but these errors were encountered: