Field Notes
    Preparing search index...

    Function toPathPresence

    • Builds the presence payload for one local PathTool emission. Range bands are resolved to per-segment colours here, so a receiver renders the sender's bands without knowing them. anchorKey is deliberately dropped: it names a local element the receiver cannot resolve.

      The sender imposes NO waypoint cap: a path longer than PATH_PRESENCE_MAX_POINTS produces a payload that every receiver rejects, so a host that allows very long paths should cap waypoints itself or expect non-delivery beyond the limit.

      Parameters

      Returns PathPresence