RouteLane | iOS SDK | 2GIS Documentation
iOS SDK

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 on the lane in m/s. 0 - speed limit is unknown.

No passing in the lane.

Public transportation lane.