matchRoute abstract method

DrivingSession matchRoute(
  1. Polyline polyline,
  2. DrivingOptions drivingOptions,
  3. DrivingVehicleOptions vehicleOptions,
  4. DrivingSessionRouteListener routeListener,
)

Builds a route based on a custom route geometry.

polyline Custom route geometry. drivingOptions Driving options. vehicleOptions Vehicle options. routeListener Route listener object.

Implementation

directions_driving_session.DrivingSession matchRoute(
    mapkit_geometry_geometry.Polyline polyline,
    DrivingOptions drivingOptions,
    directions_driving_vehicle_options.DrivingVehicleOptions vehicleOptions,
    directions_driving_session.DrivingSessionRouteListener routeListener);