Waypoints disappear

siggel shared this problem 1 year ago
Solved

i recently observed that waypoints disappear if the main waypoint moves out of the screen. unfortunately this is a very common usecase in geocaching, e.g. consider a mystery or multi with a station 2 one km away from the listing coordinates. if station 2 waypoint is set to visible, it is displayed on the screen and a line between the original listing coordinate and station 2 is drawn. now you are close to station 2 and for better orientation zoom into the map. zooming such close that the original listing coordinate does not fit on the screen anymore. after a moment station 2 and the joining line disappear. very bad for locating station 2 ;)

Comments (7)

photo
1

it seems the problem only appears if the waypoint is within my points database and loaded a second time dynamically via geocaching4locus live map. the station 2 waypoint is a user waypoint automatically added by locus from the online user notes containing a coordinate. the problem does not appear for waypoints that i manually added myself.

so it looks to me as if the dynamically loaded instance loads with visibility false for the waypoint generated from the user notes and that overrules the instance from the point database.

photo
1

Good day siggel,


Your description seems to be too complicated for me, sorry. May you please try to write step-by-step, what I need to do on own device to simulate this problem? Thanks!

photo
1

Hello Menion,

I uploaded screenshots here, sorted 01_..., 02_... etc.:

https://www.dropbox.com/sh/kl75682uyjl3v1d/AAA7q8EmQmzr0BAzo3uKYg4wa?dl=0

The text after the number in the filename describes what I do.

To me it looks that the visibility of waypoints in my database is overwritten by waypoints coming from the geocaching live map. But this only happens for waypoints in my database, which had been automatically created from geocache notes that contain coordinates. It seems that the visibility is lost, when the cache coordinate leaves the screen (in the example screenshots by zooming in, such that the letterbox icon moves out of the screen). Maybe live map does not have the "magic" to extract coordinates from geocache notes, so I would not wonder if live map does not show the waypoint. But it is strange that my local database waypoint visibility is affected by it.

Thanks for looking into it,

siggel

PS for local geocachers: The coordinate within the geocache note is a fake example, don't expect to find a cache there ;)

photo
1

uff, this one will be really complicated. I probably did all exactly as you do, but same problem do not happen to me.


Anyway happen to me one, very very similar and I think I have a explanation. Every temporary point on a map, needs to have unique identification. In case of geocache waypoints, this ID is based on coordinates and it's name. So simply, currently it is not possible to have two exactly same waypoints on a map at once. And this what probably happen to you. Cache over live map display own waypoint, that overwrite and permanently disable waypoint attached to cache in your internal database.


And why just these "custom waypoints from notes" are affected? As I've check, Live map downloads only a basic information and a note. So this waypoint is only waypoint that comes with caches over live map.


Unfortunately, I'm little bit worried to make any changes and fixes based on change of system how unique ID's are generated. But only this may allow to display more same waypoints at once. So for now sorry, quite a problem for which I have no solution in mind for now. (which anyway means, I'll keep this in mind). Thanks for understanding.

photo
1

As a SW project mgr. I often enough face similar situations where a corner case bug fix would require huge code changes, meaning high costs and risk. So you have my full understanding. Locus nevertheless stays my favorite geocaching app :)

photo
1

Thank You siggel, appreciate it.

photo
photo
1

Good day siggel,

quite old topic almost lost in depth. Anyway one user just reported to me very similar (maybe same) issue and in code I found reference to this topic. I think I've found an alternative solution, so consider issue as solved. Should work as expected in next version.

Result is that all points are not anymore unique, so every cache has own set of waypoints. In case, you display cache from internal own folder and also over live map, it is possible that not only cache will be on map twice, but also it's waypoints (which was not possible till now).