Returns the decimal latitude or longitude of the edges of a 2-dimensional square that circumscribes a circle of a given radius from a given origin (altitude, speed, and bearing are ignored). This is useful for quickly approximating whether a group of points are within a distance of an origin. If direction parameter is set to south or north then a decimal latitude is returned. If the direction parameter is set to east or west then a decimal longitude is returned.
= BOUNDINGBOXEDGE (location, radius, direction)
location |
String containing the location in any of 3 formats: an XML location string, a latitude and longitude separated by a semicolon, or a street address. |
radius |
Decimal maximum distance |
direction |
String direction (north, south, east, west) of the edge of the bounding box to be returned. |
Decimal
Returns the decimal latitude or longitude
Example |
Returns |
BOUNDINGBOXEDGE(GetBrowserLocation(), 5, ”north”) |
Returns a decimal value. |