You are here

function location_bounds_ru in Location 7.3

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

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

File

supported/location.ru.inc, line 105
Russian Federation principal subdivisions list returns an array of ISO 3166 standard list.

Code

function location_bounds_ru() {

  // NaturalEarth 10m Admin 0 - Countries (v1.3.0)
  // EPSG:900913
  // The downside to bounding boxes is that crossing the antimeridian causes
  // serious issues. See http://purl.oclc.org/coordinates/a2.htm for discussion.
  return array(
    'minlng' => -179.999,
    'minlat' => 41.1926805,
    'maxlng' => 180.0,
    'maxlat' => 81.8583637,
  );
}