You are here

function location_bounds_ws in Location 7.3

Same name and namespace in other branches
  1. 5.3 supported/location.ws.inc \location_bounds_ws()
  2. 6.3 supported/location.ws.inc \location_bounds_ws()
  3. 7.5 supported/location.ws.inc \location_bounds_ws()
  4. 7.4 supported/location.ws.inc \location_bounds_ws()

Returns minimum and maximum latitude and longitude needed to create a bounding box.

File

supported/location.ws.inc, line 30
Samoa.

Code

function location_bounds_ws() {

  // NaturalEarth 10m Admin 0 - Countries (v1.3.0)
  // EPSG:900913
  return array(
    'minlng' => -172.78159,
    'minlat' => -14.052836,
    'maxlng' => -171.43666,
    'maxlat' => -13.462898,
  );
}