TrafficLocation constructor

TrafficLocation(
  1. GeoPolyline polyline,
  2. List<GeoPolyline> additionalPolylines,
  3. int lengthInMeters
)

Creates a new instance.

  • polyline The polyline representing the traffic entity shape. The current field contains a continuous polyline with no gaps between geo-coordinates. All others following the gap are present in the additional_polylines field.
  • additionalPolylines List of polylines that were not included in continuous polyline. Use this to fill any gaps in the continuous polyline.
  • lengthInMeters The affected road length in meters. The length can be 0 only if the incident supplier has provided incomplete data.

Implementation

TrafficLocation(this.polyline, this.additionalPolylines, this.lengthInMeters)
    : description = "";