PedestrianRouteSearchOptions | iOS SDK | 2GIS Documentation
iOS SDK

PedestrianRouteSearchOptions

Pedestrian route search options.

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

Avoid stairs.

Avoid underpasses and overpasses.

Build routes inside buildings.

Excluded areas (not more than 25).