Skip to content

Class NCRouteManager

Il Kadyrov edited this page Nov 5, 2020 · 1 revision

NCRouteManager class is used for evaluating route path from point to point.

Referenced from: NCNavigineSdk.

Public methods

Function addRouteListener

- (void)addRouteListener:(nullable id<NCRouteListener>)listener;

Function is used for adding NCRouteListener class element which will notify about evaluated route path from your position to target point.

Parameters

Function removeRouteListener

- (void)removeRouteListener:(nullable id<NCRouteListener>)listener;

Function is used for removing previously added NCRouteListener class element.

Parameters

Function setTarget

- (void)setTarget:(nonnull NCLocationPoint *)target;

Function is used for setting target point in your location. Through listener you will be notified about new paths to target point.

Parameters
  • targetNCLocationPoint class element, shows the metric coordinates to the target point in your sublocation.

Function addTarget

- (void)addTarget:(nonnull NCLocationPoint *)target;

Function is used for adding target point in your location. Through listener you will be notified about all the paths to all target points you added.

Parameters
  • targetNCLocationPoint class element, shows the metric coordinates to the target point in your sublocation.

Function clearTargets

- (void)clearTargets;

Function is used for removing all the target points to where the routes were built.

Clone this wiki locally