requestRoute abstract method

DrivingSession requestRoute(
  1. Polyline polyline,
  2. Point initialPoint,
  3. NavigationCustomRouteOptions customRouteOptions,
  4. DrivingSessionRouteListener routeListener, {
  5. double? initialAzimuth,
})

Builds a route.

polyline Route polyline. initialPoint Initial point. initialAzimuth Initial azimuth. customRouteOptions Custom route options. routeListener Route listener object.

Implementation

directions_driving_session.DrivingSession requestRoute(
  mapkit_geometry_geometry.Polyline polyline,
  mapkit_geometry_point.Point initialPoint,
  NavigationCustomRouteOptions customRouteOptions,
  directions_driving_session.DrivingSessionRouteListener routeListener, {
  core.double? initialAzimuth,
});