ExcludedArea | iOS SDK | 2GIS Documentation
iOS SDK

ExcludedArea

Excluded area to be avoided when building a route.

public init(
    type: ExcludedAreaType = ExcludedAreaType.point,
    severity: ExcludedAreaSeverity = ExcludedAreaSeverity.soft,
    extent: RouteDistance,
    points: [GeoPoint]
)
Parameters
Properties

Type of the excluded area.

Priority of area exclusion.

Size of the excluded area (not more than 25 km).

Coordinates of the points of the excluded area (not more than 500).