TrafficLocation constructor
- GeoPolyline polyline,
- List<
GeoPolyline> additionalPolylines, - int lengthInMeters
Creates a new instance.
polylineThe 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 theadditional_polylinesfield.additionalPolylinesList of polylines that were not included in continuous polyline. Use this to fill any gaps in the continuous polyline.lengthInMetersThe 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 = "";