requestRoutes abstract method

MasstransitSession requestRoutes(
  1. TimeOptions timeOptions,
  2. RouteOptions routeOptions,
  3. RouteHandler routeListener, {
  4. required List<RequestPoint> points,
})

Submits a request to find a pedestrian route.

points Route points (See mapkit_request_point.RequestPoint for details). Currently only two points are supported (start and finish) timeOptions Desired departure/arrival time settings. Empty transport_masstransit_options.TimeOptions for requests that are not time-dependent. routeOptions Options for route personalization. routeListener Listener to retrieve a list of MasstransitRoute objects.

Implementation

transport_masstransit_session.MasstransitSession requestRoutes(
  transport_masstransit_options.TimeOptions timeOptions,
  transport_masstransit_options.RouteOptions routeOptions,
  transport_masstransit_session.RouteHandler routeListener, {
  required core.List<mapkit_request_point.RequestPoint> points,
});