RouteEditorRoutesInfo | iOS SDK | 2GIS Documentation


Information about the routes the editor operates on.

public init(
    routes: [TrafficRoute],
    routeParams: RouteEditorRouteParams

When the route list is updated, the first route will be active if the route list is not empty.

Route parameters for which the search was performed. Can be different from the parameters passed to the editor, if routes were found already after the parameters were changed in the editor.