Optional ReadonlydistanceThe distance of the leg.
Optional ReadonlydurationThe expected time it takes to traverse the leg.
Optional ReadonlyendThe address at the end of the leg.
Optional ReadonlyendThe end coordinate of the leg.
Optional ReadonlylegThe reason for the end of the leg.
Optional ReadonlylegThe reason for the start of the leg.
Optional ReadonlystartThe address at the start of the leg.
Optional ReadonlystartThe start coordinate of the leg.
Optional ReadonlystepsThe steps the leg consists of.
Optional ReadonlystopThe index of the stop.
Parses the object to a JSON object that is compatible with the MapsIndoors SDK.
StaticcreateCreator for MPRouteLeg, used to decode JSON from the MapsIndoors SDK.
A leg of a MPRoute is defined as all steps between any context shifts (entering/exiting buildings, changing floors).
A leg is comprised of a list of steps as well as a startLocation and an endLocation.
Export
MPRouteLeg