RoutePlan

open class RoutePlan(val departures: List<GeoPoint>, val destinations: List<GeoPoint>, val viaPoints: List<GeoPoint>, val routeOptions: RouteOptions)

Class defining all the required information needed to calculate a route. If we define a route from A->B->C->D A - startPoint B,C - via-points D -> destination

Parameters

departures

a list containing all the departure points for a route calculation

destinations

a list containing all the final points for a route calculation

viaPoints

a list containing all the via-points for a given route

routeOptions

holder representing other options for route calculation

Inheritors

Constructors

Link copied to clipboard
constructor(departures: List<GeoPoint>, destinations: List<GeoPoint>, viaPoints: List<GeoPoint>, routeOptions: RouteOptions)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun toJson(): String

Build String in Json format of the Route.