AvoidanceOptions class

The options to specify restrictions for route calculations.

Constructors

AvoidanceOptions()

Properties

avoidBoundingBoxAreasOptions ↔ List<AvoidBoundingBoxAreaOptions>
List of rectangular shapes which routes must not cross and additional options for this area.
getter/setter pair
avoidCorridorAreasOptions ↔ List<AvoidCorridorAreaOptions>
List of corridor shapes which routes must not cross and additional options for this area. Note: Currently, the maximum count of corridors is limited to 20.
getter/setter pair
avoidedTruckRoadTypes ↔ List<TruckRoadType>
Specifies a list of avoided truck road types for vehicle. Refer to TruckRoadType for the available options.
getter/setter pair
avoidPolygonAreasOptions ↔ List<AvoidPolygonAreaOptions>
List of polygon shapes which routes must not cross and additional options for this area. Note: Currently, the maximum count of polygons is limited to 20.
getter/setter pair
countries ↔ List<CountryCode>
Countries that the route must avoid. Strictly enforced. Violations are reported as SectionNoticeCode.violatedBlockedRoad. Note: This avoidance option is not supported in IsolineOptions for isoline calculation.
getter/setter pair
exceptZoneIds ↔ List<String>
Exception to AvoidanceOptions.zone_categories, which can be specified by list of zone identifiers. e.g. the format of ID is like here:cm:envzone:2. Information about the various routing zones originates from the respective catalogs of platform.here.com. For example, more information on zone IDs for Environmental Zones is available under "https://platform.here.com/data/hrn:here:data::olp-here:rib-2/environmental-zones/overview".
getter/setter pair
hashCode → int
The hash code for this object.
no setter
roadFeatures ↔ List<RoadFeatures>
Features which routes should avoid. Best effort only (not enforced).
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
segments ↔ List<SegmentReference>
Segments that routes will avoid going through. Violations are reported as SectionNoticeCode.violatedBlockedRoad.
getter/setter pair
zoneCategories ↔ List<ZoneCategory>
Zone categories which routes must not cross. Strictly enforced. Violations are reported as SectionNoticeCode.violatedZoneRestriction.
getter/setter pair
zoneIds ↔ List<String>
List containing identifiers of zones that routes should avoid going through. e.g. the format of ID is like here:cm:envzone:2. Information about the various routing zones originates from the respective catalogs of platform.here.com. For example, more information on zone IDs for Environmental Zones is available under "https://platform.here.com/data/hrn:here:data::olp-here:rib-2/environmental-zones/overview".
getter/setter pair

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.