You are here

function location_bounds_gs in Location 7.3

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

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

File

supported/location.gs.inc, line 18
South Georgia and the South Sandwich Islands.

Code

function location_bounds_gs() {

  // NaturalEarth 10m Admin 0 - Countries (v1.3.0)
  // EPSG:900913
  return array(
    'minlng' => -42.118768,
    'minlat' => -59.472802,
    'maxlng' => -26.238677,
    'maxlat' => -53.456787,
  );
}