RouteLane | iOS SDK | 2GIS Documentation

RouteLane

Structure describing a single lane.

public init(
    routeManeuver: RouteLaneManeuver = RouteLaneManeuver.undefined,
    maneuvers: RouteLaneManeuverOptionSet,
    speedLimit: Float = 0,
    prohibited: Bool = false,
    onlyPublicTransport: Bool = false
)
Parameters
routeManeuver
maneuvers
speedLimit
prohibited
onlyPublicTransport
Properties

Maneuver to be performed to move along the route.

Allowed maneuvers to be made in the lane.

Maximum allowed speed in the lane m/s. 0 - speed limit is unknown.

No passing in the lane.

Public transportation lane.