You are here

function location_bounds_mk in Location 7.3

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

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

File

supported/location.mk.inc, line 18
Macedonia, The Former Yugoslav Republic of.

Code

function location_bounds_mk() {

  // NaturalEarth 10m Admin 0 - Countries (v1.3.0)
  // EPSG:900913
  return array(
    'minlng' => 20.4441573,
    'minlat' => 40.849394,
    'maxlng' => 23.0095821,
    'maxlat' => 42.3703347,
  );
}