OptimizationHelper

Repository for the OpenRouteService Optimization endpoint using OrsClient.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
suspend fun OrsClient.getOptimization(vehicles: List<Vehicle>, jobs: List<Job>? = null, shipments: List<Shipment>? = null, matrices: Map<String, CustomMatrix>? = null, options: Map<String, JsonElement>? = null): OptimizationResponse

Calls the ORS Optimization endpoint with provided arguments and builds the request.