RadarRoutes

class RadarRoutes(geodesic: RadarRoute?, foot: RadarRoute?, bike: RadarRoute?, car: RadarRoute?, truck: RadarRoute?, motorbike: RadarRoute?)

Represents routes from an origin to a destination.

See also

Constructors

RadarRoutes
Link copied to clipboard
fun RadarRoutes(geodesic: RadarRoute?, foot: RadarRoute?, bike: RadarRoute?, car: RadarRoute?, truck: RadarRoute?, motorbike: RadarRoute?)

Functions

toJson
Link copied to clipboard
fun toJson(): JSONObject

Properties

bike
Link copied to clipboard
val bike: RadarRoute?
The route by bike between the origin and destination.
car
Link copied to clipboard
val car: RadarRoute?
The route by car between the origin and destination.
foot
Link copied to clipboard
val foot: RadarRoute?
The route by foot between the origin and destination.
geodesic
Link copied to clipboard
val geodesic: RadarRoute?
The geodesic distance between the origin and destination.
motorbike
Link copied to clipboard
val motorbike: RadarRoute?
The route by motorbike between the origin and destination.
truck
Link copied to clipboard
val truck: RadarRoute?
The route by truck between the origin and destination.