You are here

function location_bounds_sj in Location 7.3

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

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

File

supported/location.sj.inc, line 18
Svalbard and Jan Mayen.

Code

function location_bounds_sj() {

  // NaturalEarth 10m Admin 0 - Countries (v1.3.0)
  // EPSG:4326
  // Note: I'm using the bounding box for Norway here, because it includes
  // both Svalbard and Jan Mayen.
  return array(
    'minlng' => -9.1168289,
    'minlat' => -54.462359,
    'maxlng' => 33.6410262,
    'maxlat' => 80.76974800000001,
  );
}