GeoCorridor.withPolyline constructor

GeoCorridor.withPolyline(
  1. List<GeoCoordinates> polyline
)

Constructs a GeoCorridor from the provided polyline.

  • polyline The polyline passing through the middle of the corridor.

Implementation

factory GeoCorridor.withPolyline(List<GeoCoordinates> polyline) => $prototype.withPolyline(polyline);