avoidedZones property

List<LinearRing> get avoidedZones

avoidedZones instructs the router to return routes that avoid provided polygons. If there are too many polygons or too complex polygon geometry, routes building may become impossible. In this case the error directions_driving_driving_router.DrivingTooComplexAvoidedZonesError will be returned. Changing this option may trigger reroute.

Implementation

core.List<mapkit_geometry_geometry.LinearRing> get avoidedZones;
set avoidedZones (List<LinearRing> val)

Implementation

set avoidedZones(core.List<mapkit_geometry_geometry.LinearRing> val);