Generic geographic input for route planning.
Can be either a waypoint (point location) or a path (line to follow). This flexible type allows mixing different input types 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];
Generic geographic input for route planning.
Can be either a waypoint (point location) or a path (line to follow). This flexible type allows mixing different input types in route calculations.