getRoutes

fun getRoutes(origin: Feature, destination: Feature, skiLevel: Level, callback: CompletionCallback<List<Route>>)

Retrieves the routes between two features with a specified ski level and provides a completion callback.

Parameters

origin

The origin feature for the route.

destination

The destination feature for the route.

skiLevel

The ski level for the route.

callback

The completion callback to handle the result or error.