TransitService

class TransitService : ApiClient

Represents a class for interacting with the Woosmap Transit API.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun transitRoute(origin: LatLng, destination: LatLng, modes: List<TransitTravelMode>? = null, excludedModes: List<TransitTravelMode>? = null, departureTime: String? = null, arrivalTime: String? = null): TransitRouteResponse

Performs an tolls request for transit route using the Woosmap API.