A location for route planning, either a waypoint (point location) or a path (line to follow).
You can mix both in route calculations.
const locations: RoutePlanningLocation[] = [ [4.9, 52.3], // Start waypoint [4.95, 52.35], // Intermediate stop existingPathCoordinates, // Path to follow [5.0, 52.4] // End waypoint]; Copy
const locations: RoutePlanningLocation[] = [ [4.9, 52.3], // Start waypoint [4.95, 52.35], // Intermediate stop existingPathCoordinates, // Path to follow [5.0, 52.4] // End waypoint];
A location for route planning, either a waypoint (point location) or a path (line to follow).
You can mix both in route calculations.