Skip to main content
RadarRouteDistance represents the distance of a route, including both the numeric value and a formatted display string.

Properties

value
number
required
The distance in feet (for imperial units) or meters (for metric units).
text
string
required
A display string for the distance. This is a human-readable formatted string appropriate for the unit system (e.g., “1.2 mi” or “2.0 km”).

Instance Methods

dictionaryValue

Converts the route distance to a dictionary representation.

Returns

A dictionary representation of the route distance.

Example

See Also