MMKNavigationCustomRouteBuilder

class MMKNavigationCustomRouteBuilder : NSObject

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

Summary

Instance methods

func requestRoute(with polyline: MMKPolyline,
                   initialPoint: MMKPoint,
                 initialAzimuth: NSNumber?,
             customRouteOptions: MMKNavigationCustomRouteOptions,
                   routeHandler: @escaping MMKDrivingSessionRouteHandler) -> MMKDrivingSession
Builds a route

Instance methods

requestRoute(with:initialPoint:initialAzimuth:customRouteOptions:routeHandler:)

func requestRoute(with polyline: MMKPolyline,
                   initialPoint: MMKPoint,
                 initialAzimuth: NSNumber?,
             customRouteOptions: MMKNavigationCustomRouteOptions,
                   routeHandler: @escaping MMKDrivingSessionRouteHandler) -> MMKDrivingSession

Builds a route.

Parameters

polyline

Route polyline.

initialPoint

Initial point.

initialAzimuth

Initial azimuth.

customRouteOptions

Custom route options.

routeListener

Route listener object.