GeoCorridor constructor
- List<
GeoCoordinates> polyline, - int halfWidthInMeters
Constructs a GeoCorridor from the provided polyline and half-width in meters.
-
polylineThe polyline passing through the middle of the corridor. -
halfWidthInMetersThe 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);