forbiddenHazardousGoods property

List<HazardousMaterial> forbiddenHazardousGoods
getter/setter pair

There are two lists for our trip: Hazardous goods restrictions applied during the trip, and the list used for the route calculation provided using VehicleSpecification.hazardousMaterials from TransportSpecification.vehicleSpecification from RoutingOptions.transportSpecification. This property is the intersection of the two lists.

Note RoadSignWarning events and RouteViolations are only given for violations that are indicated on a road sign. Additional legal restrictions might apply when transporting hazardous materials.

Implementation

List<HazardousMaterial> forbiddenHazardousGoods;