YMKNavigationLayerFactory

Важно

This feature is available in the NaviKit SDK version.

@interface YMKNavigationLayerFactory : NSObject

Summary

Class methods

+ (nonnull YMKNavigationLayer *)
    createNavigationLayerWithMapWindow:(nonnull YMKMapWindow *)mapWindow
          roadEventsLayerStyleProvider:
              (nonnull id<YMKRoadEventsLayerStyleProvider>)
                  roadEventsLayerStyleProvider
                         styleProvider:(nonnull id<YMKNavigationStyleProvider>)
                                           styleProvider
                            navigation:(nonnull YMKNavigation *)navigation;

Adds navigation layer on the map

Class methods

createNavigationLayerWithMapWindow:roadEventsLayerStyleProvider:styleProvider:navigation:

+ (nonnull YMKNavigationLayer *)
    createNavigationLayerWithMapWindow:(nonnull YMKMapWindow *)mapWindow
          roadEventsLayerStyleProvider:
              (nonnull id<YMKRoadEventsLayerStyleProvider>)
                  roadEventsLayerStyleProvider
                         styleProvider:(nonnull id<YMKNavigationStyleProvider>)
                                           styleProvider
                            navigation:(nonnull YMKNavigation *)navigation;

Adds navigation layer on the map.

The class maintains a strong reference to the object in the 'roadEventsLayerStyleProvider' parameter until it (the class) is invalidated.

The class maintains a strong reference to the object in the 'styleProvider' parameter until it (the class) is invalidated.


Предыдущая
Следующая