viaWaypoints property

List<IndoorWaypoint> viaWaypoints
getter/setter pair

Specifies the via waypoints that the route should pass through between the origin and destination. Via waypoints are processed in the exact order provided.

Notes:

  • Maximum of 5 via waypoints are allowed.
  • Via waypoints can be either stop waypoints (with stop_duration) or passthrough waypoints (with pass_through = true).
  • Via waypoints with stop_duration or pass_through = false create section in the resulting route.
  • Via waypoints with pass_through = true appear in the section's passthrough array.
  • The order of via waypoints determines the routing path and must be preserved.

Implementation

List<IndoorWaypoint> viaWaypoints;