update

external fun update(index: Int, name: String? = null, waypoints: LandmarkList? = null, preferences: RoutePreferences? = null)

Update a route.

Parameters

index

The index of the route in the current sorting.

name

The route new name, must be unique. If a route with this name already exist GemError.Exist is returned.

waypoints

Route waypoints list.

preferences

Route preferences.