Geocaching Solver: Hidden waypoints

Sonny shared this problem 7 months ago
Not a Problem

I'm using Addon "Cache solver" to solve Multicaches. For better overview I hide each child-waypoint I already visited by clickin onto its icon in Locus > "Hide".

Problem: If opening a value-field or coordinate-field within "Cache solver"-addon, the Cache within Locus gets "updated" including all hidden waypoints get visible again.

Could this problem be fixed on Locus' side? (I think it can't be fixed on the addon's side since it doesn't know what waypoints got hidden by me in Locus)

Replies (3)

photo
1

Hi Sonny,

the add-on sends a parameter to Locus Map to display all waypoints.

This comment is in trash! Restore
photo
1

Hi, well: the addon is used to calculate new coordinates of Caches' waypoints, and send them to Locus to display the waypoints on a calculated position.

But the problem/idea is: If I've hidden certain waypoints of a Cache within Locus before, this shouldn't be overruled by the addon. The addon doesn't know if I've hidden a waypoint in Locus before - but Locus does. So it would be great if Locus would check the hidden status of a waypoint, and if "hidden" don't display it again although addon is sending command "display". In this case Locus should just update waypoint's coordinates if they been changed by the addon, but not display it.

This comment is in trash! Restore
photo
1

Hi Sonny, hi Michal,

When the Solver sends a cache to Locus, it calls the locus-api updatePoint() with the flag loadAllGcWaypoints = true. That is the parameter Michal mentioned. It makes Locus load and show all waypoints of the geocache. As a side effect, waypoints you have hidden in Locus become visible again. The add-on can't prevent this, because the locus-api has no field for a waypoint's visibility (I checked 0.10.1 and 0.11.1). The add-on can't read the hidden state, and it can't write it either.

I also tested the flag set to false. A waypoint hidden in Locus then stays hidden after the Solver updates the cache. But waypoints the Solver newly creates arrive hidden too, so after the first send you would have to unhide every stage by hand. That is why the add-on currently uses true.

This comment is in trash! Restore
Leave a Comment
 
Attach a file