add
external fun add(name: String, waypoints: LandmarkList, preferences: RoutePreferences? = null, overwrite: Boolean = false)
Add a new route / update existing.
Parameters
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.
overwrite
Overwrite route if name already exist.