BicycleRouteSearchOptions | iOS SDK | 2GIS Documentation
iOS SDK

BicycleRouteSearchOptions

Bicycle route search options.

public init(
    avoidCarRoads: Bool = false,
    avoidStairways: Bool = false,
    avoidUnderpassesAndOverpasses: Bool = false,
    excludedAreas: [ExcludedArea] = []
)
Parameters
avoidCarRoads
avoidStairways
avoidUnderpassesAndOverpasses
excludedAreas
Properties

Avoid roads.

Avoid stairs.

Avoid underpasses and overpasses.

Excluded areas (not more than 25).