RouteInfo | iOS SDK | 2GIS Documentation

RouteInfo

Route description with maneuvers.

public init(
    route: Route,
    routeBuildOptions: RouteBuildOptions?
)
Parameters
route
routeBuildOptions
Properties

Route.

Route construction parameters in the navigator. The nil value means that the route has no finish point. In this case, a section of road, which is supposedly used by the user, is calculated based on the road graph and parameters of the user's movement and is returned as a route in the route field. Consequently, this route cannot contain instructions, and the last point in this route is not the destination point to which the user is moving, but simply the point to which the user's movement was predicted. It is not known where the user will go next. This mode of the navigator operation is called a mode of guidance without a route or free roam.