RouteEditorRoutesInfo | iOS SDK | 2GIS Documentation
iOS SDK

RouteEditorRoutesInfo

Information about the routes the editor operates on.

public init(
    routes: [TrafficRoute],
    routeParams: RouteEditorRouteParams
)
Parameters
Properties

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.