ellenhp / aprs.tools

APRS app for Android
GNU General Public License v3.0
17 stars 1 forks source link

Seperation of Symbols located at the same coordinates #47

Open teemsaj opened 5 years ago

teemsaj commented 5 years ago

aprs.fi is the biggest offender for this, it's almost impossible to view several stations with the same set of coordinates. APRSDirect does seperate the group out better though.

ellenhp commented 5 years ago

Not sure how to do this with OSM, which I'd like to eventually support for offline maps, but I found this for google maps https://developers.google.com/maps/documentation/android-sdk/utility/marker-clustering

teemsaj commented 5 years ago

I scrubbed through the video real quick, it looked like something like that works for when you are zoomed out of the map. As you zoom in, it starts showing the pin markers in different locations. Is that correct?

You've probably seen how APRSDirect does this, although it tends to not work 100% of the time.

ellenhp commented 5 years ago

I'm not sure how that particular method would work, I'm just dropping it here for future me to look at. It would be probably be hard to do it how APRSDirect does. I could consolidate all the icons within a few meter radius and then have a custom UI that pops up deal with it. But actually spreading out the pins is probably not something google maps can deal with natively? At any rate, this is future me's problem.

ellenhp commented 5 years ago

https://stackoverflow.com/questions/24199350/overlapping-marker-spiderfier-for-android

ellenhp commented 5 years ago

I might have to fork the clustering library I'm using to do this, since it already has its hands pretty deep into the "moving markers around" cookie jar.