containingGeoCoordinates static method

GeoBox? containingGeoCoordinates(
  1. List<GeoCoordinates> geoCoordinates
)

Creates a GeoBox which encompases all coordinates from the list.

The provided list must contain at least two points. The altitude values of the input coordinates are not considered for the result.

  • geoCoordinates List of coordinates to encompass inside bounding box.

Returns GeoBox?. GeoBox containing all supplied coordinates, or null if less than two coordinates were provided.

Implementation

static GeoBox? containingGeoCoordinates(List<GeoCoordinates> geoCoordinates) => $prototype.containingGeoCoordinates(geoCoordinates);