makeRoutes abstract method
Method is used to build a route between the starting point and several destination points
from starting LocationPoint.
to destination list of LocationPoints.
Returns vector of RoutePaths from starting to destination point.
Example:
// Make routes to multiple destinations
List<LocationPoint> destinations = [
LocationPoint(point: Point(x: 30.0, y: 40.0), locationId: 12345, sublocationId: 1),
LocationPoint(point: Point(x: 70.0, y: 80.0), locationId: 12345, sublocationId: 1),
];
List<RoutePath> routePaths = _routeManager!.makeRoutes(startLocationPoint, destinations);
print("Created ${routePaths.length} routes");
Implementation
List<RoutePath> makeRoutes(LocationPoint from, List<LocationPoint> to);