OptionalformattedDistance?: stringThe route's distance, formatted in the chosen units.
OptionalformattedDuration?: stringThe route's formatted duration.
OptionalformattedTraffic?: stringThe route's formatted traffic delay.
OptionalmagnitudeOfDelay?: DelayMagnitudeThe route's overall delay magnitude.
Categorizes the severity of traffic delays:
minor: Small delays (typically < 5 minutes)moderate: Noticeable delays (typically 5-15 minutes)major: Significant delays (typically > 15 minutes)undefined: No delay or no traffic dataUse it to colour-code delays or show visual indicators in a UI.
Display-ready properties for a route summary bubble.
They hold pre-formatted strings to display route information in UI elements such as summary cards, tooltips or info bubbles.