viney1994 / android-maps-extensions

Automatically exported from code.google.com/p/android-maps-extensions
0 stars 0 forks source link

Markers with the same position always appear clustered #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This is not so much of a bug (and certainly is of a lowest priority), but still 
might be in line with AMEs' mission of "improving GMaps":

Due to anomalies in my geospatial data, several markers appear to have exactly 
the same lat/long. When they are plotted on the map, they're always kept 
together as a cluster, clicking on which gives no visual feedback (btw, that's 
wonderful idea in the sample app to reposition camera to scale to the cluster 
content on click).

Any idea how to work around such situation?

Original issue reported on code.google.com by estee...@gmail.com on 25 Jul 2013 at 10:49

GoogleCodeExporter commented 8 years ago
If you create markers with exactly the same LatLng there is not much clustering 
lib can do.

For a very close markers see Issue 16.

When Issue 10 is done, users could easily create something like this: 
http://jawj.github.io/OverlappingMarkerSpiderfier/demo.html

Original comment by maciek.g...@gmail.com on 25 Jul 2013 at 11:29

GoogleCodeExporter commented 8 years ago
For any kind of action on this it would be nice to have some suggestions 
regarding implementation.

Original comment by maciek.g...@gmail.com on 8 Aug 2013 at 2:52

GoogleCodeExporter commented 8 years ago
Issue 10 is done, so I added a demo that shows one possible way to handle such 
situations.

https://github.com/mg6maciej/android-maps-extensions/blob/develop/android-maps-e
xtensions-demo/src/pl/mg6/android/maps/extensions/demo/DeclusterificationExample
Activity.java#L70

Original comment by maciek.g...@gmail.com on 21 Aug 2013 at 1:12