Click or drag to resize

DirectionsViolations Property

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Contains a list of all constraint violations in the directions.

Namespace:  Telogis.GeoBase.Routing
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public ConstraintLinks[] Violations { get; }

Property Value

Type: ConstraintLinks
Remarks
Constraints are restrictions based on the VehicleSpec property as well as restrictions set using the properties of the routing strategy such as AllowUTurns, RoadCrossingBehavior and UseTollRoads. Constraints are not "hard" restrictions, but rather, are implemented by imposing a prohibitive cost to violation of a constraint. This means that the generated directions can include violations when there are no better routing alternatives available. The Violations property lists the links where constraint violations have occurred.
See Also