AvoidCorridorAreaOptions class

Area of corridor shape which routes must not cross and exceptions for this area.

Constructors

AvoidCorridorAreaOptions(GeoCorridor avoidCorridorArea)

Properties

avoidCorridorArea ↔ GeoCorridor
Area of corridor shape which routes must not cross. Strictly enforced. Violations are reported as SectionNoticeCode.violatedBlockedRoad. Note: This avoidance option is not supported for IsolineOptions. If it is defined for isoline calculation then an sdk.routing.RoutingError.INVALID_PARAMETER error is generated. Even though GeoCorridor.half_width_in_meters is an optional property in case of exception areas it is mandatory. Otherwise route calculation will fail with an sdk.routing.RoutingError.INVALID_PARAMETER error.
getter/setter pair
boundingBoxExceptionAreas ↔ List<GeoBox>
Areas of rectangular shape to exclude from avoidance.
getter/setter pair
corridorExceptionAreas ↔ List<GeoCorridor>
Areas of corridor shape to exclude from avoidance. Note: Even though GeoCorridor.half_width_in_meters is an optional property in case of exception areas it is mandatory. Otherwise route calculation will fail with an sdk.routing.RoutingError.INVALID_PARAMETER error.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
polygonExceptionAreas ↔ List<GeoPolygon>
Areas of polygon shape to exclude from avoidance.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.