requestRoutes abstract method

BicycleSession requestRoutes(
  1. BicycleVehicleType type,
  2. BicycleSessionRouteListener routeListener, {
  3. required List<RequestPoint> points,
})

Submits a request to find a bicycle route.

points Route points (See mapkit_request_point.RequestPoint for details). Currently only two points are supported (start and finish). routeListener Listener to retrieve a list of Route objects.

@attention This feature is not available in the free MapKit version.

Implementation

transport_bicycle_session.BicycleSession requestRoutes(
  BicycleVehicleType type,
  transport_bicycle_session.BicycleSessionRouteListener routeListener, {
  required core.List<mapkit_request_point.RequestPoint> points,
});