GeoCorridor constructor

GeoCorridor(
  1. List<GeoCoordinates> polyline,
  2. int halfWidthInMeters
)

Constructs a GeoCorridor from the provided polyline and half-width in meters.

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

  • halfWidthInMeters The shortest distance from any point on the polyline to the border of the corridor.

Implementation

factory GeoCorridor(List<GeoCoordinates> polyline, int halfWidthInMeters) => $prototype.$init(polyline, halfWidthInMeters);