MMKNavigationCustomRouteBuilder

@interface MMKNavigationCustomRouteBuilder : NSObject

Interface for building driving route along a user-provided polyline.

Summary

Instance methods

- (nonnull MMKDrivingSession *)
    requestRouteWithPolyline:(nonnull MMKPolyline *)polyline
                initialPoint:(nonnull MMKPoint *)initialPoint
              initialAzimuth:(nullable NSNumber *)initialAzimuth
          customRouteOptions:
              (nonnull MMKNavigationCustomRouteOptions *)customRouteOptions
                routeHandler:
                    (nonnull MMKDrivingSessionRouteHandler)routeHandler;

Builds a route

Instance methods

requestRouteWithPolyline:initialPoint:initialAzimuth:customRouteOptions:routeHandler:

- (nonnull MMKDrivingSession *)
    requestRouteWithPolyline:(nonnull MMKPolyline *)polyline
                initialPoint:(nonnull MMKPoint *)initialPoint
              initialAzimuth:(nullable NSNumber *)initialAzimuth
          customRouteOptions:
              (nonnull MMKNavigationCustomRouteOptions *)customRouteOptions
                routeHandler:
                    (nonnull MMKDrivingSessionRouteHandler)routeHandler;

Builds a route.

Parameters

polyline

Route polyline.

initialPoint

Initial point.

initialAzimuth

Initial azimuth.

customRouteOptions

Custom route options.

routeListener

Route listener object.