segments property
getter/setter pair
Segments that routes will avoid going through. Violations are reported as SectionNoticeCode.violatedBlockedRoad.
Notes:
- This avoidance option is not supported in
IsolineOptionsfor isoline calculation. - The engine does not support an unlimited number of segments to avoid. The limit is defined by the HERE backend services and may change. For now, the maximum number of segments to avoid should be below 250. This value may change on the backend and it is therefore not guaranteed to be stable.
Implementation
List<SegmentReference> segments;