My suggestion was to show that will be unnecessarily complicated.
At least for the app, we can have distance / time to next / previous
waypoint (via + shaping) OR via point. Select one implementation.
App implementation can be discussed in its topic: