YMKCustomRouteNavigation

Важно

This feature is available in the NaviKit SDK version.

@interface YMKCustomRouteNavigation : NSObject

Summary

Instance methods

- (nonnull YMKCamera *)createCameraWithMapWindow:
    (nonnull YMKMapWindow *)mapWindow;

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

- (void)startGuidanceWithRoute:(nullable YMKDrivingRoute *)route;
Start navigation with specified route

Properties

@property (nonatomic, readonly, nonnull) YMKNavigation *navigation;
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

createCameraWithMapWindow:

- (nonnull YMKCamera *)createCameraWithMapWindow:
    (nonnull YMKMapWindow *)mapWindow;

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


startGuidanceWithRoute:

- (void)startGuidanceWithRoute:(nullable YMKDrivingRoute *)route;

Start navigation with specified route.


Properties

@property (nonatomic, readonly, nonnull) YMKNavigation *navigation;

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


Предыдущая