YMKCustomRouteNavigation

Warning

This feature is available in the NaviKit SDK version.

class YMKCustomRouteNavigation : NSObject

Summary

Instance methods

func createCamera(with mapWindow: YMKMapWindow) -> YMKCamera
This method allows to create camera which used in standart automotive navigation

func startGuidance(with route: YMKDrivingRoute?)
Start navigation with specified route

Properties

var navigationYMKNavigation { get }
This navigation is equal to standart automotive navigation BUT without alternatives without rerouting without working "requestRoutes" method traffic information will not be updated while driving along the route start guidance must be called only through the special method (startGuidance) of this class

Instance methods

createCamera(with:)

func createCamera(with mapWindow: YMKMapWindow) -> YMKCamera

This method allows to create camera which used in standart automotive navigation


startGuidance(with:)

func startGuidance(with route: YMKDrivingRoute?)

Start navigation with specified route.


Properties

var navigation: YMKNavigation { get }

This navigation is equal to standart automotive navigation BUT without alternatives without rerouting without working "requestRoutes" method traffic information will not be updated while driving along the route start guidance must be called only through the special method (startGuidance) of this class