Skip to content

Class RouteManager

Il Kadyrov edited this page Oct 12, 2020 · 1 revision

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

Referenced from: NavigineSdk.

Public methods

Function addRouteListener

public void addRouteListener(RouteListener routeListener)

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

Parameters

Function removeRouteListener

public void removeRouteListener(RouteListener routeListener)

Function is used for removing previously added RouteListener class element.

Parameters

Function setTarget

public void setTarget(LocationPoint locationPoint)

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

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

Function addTarget

public void addTarget(LocationPoint locationPoint)

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
  • locationPoint LocationPoint class element, shows the metric coordinates to the target point in your sublocation.

Function clearTargets

public void clearTargets()

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

Clone this wiki locally