addTarget abstract method

void addTarget(
  1. LocationPoint target
)

Method is used to add target point in your location. Through RouteListener you will be notified about new paths to target point. target finish LocationPoint.

Example:

// Add additional target point
LocationPoint additionalTarget = LocationPoint(point: Point(x: 90.0, y: 100.0), locationId: 12345, sublocationId: 1);
_routeManager!.addTarget(additionalTarget);

Implementation

void addTarget(LocationPoint target);