ScooterRouteSearchOptions | iOS SDK | 2GIS Documentation
iOS SDK

ScooterRouteSearchOptions

Search parameters for scooter routes.

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

Avoid roads.

Avoid stairs.

Avoid underpasses and overpasses.

Excluded areas (not more than 25).