GetLatLngsBoundingCoordinates (open)
Get bounding coordinates for a list of points
Syntax
LOADLIB "wh::util/geo.whlib";
RECORD FUNCTION GetLatLngsBoundingCoordinates(RECORD ARRAY points)Parameters
RECORD ARRAY pointsThe points that should be contained
FLOAT latLatitude
FLOAT lngLongitude
Return value
RECORDBounding coordinates which should contain all given points, or a default record if not points we're supplied
FLOAT maxlatMinimum latitude
FLOAT maxlngMinimum longitude
FLOAT minlatMinimum latitude
FLOAT minlngMinimum longitude
Description
Computes the bounding coordinates that contain all given points. If no points are given, returns a default record.