You are here

location.ls.inc in Location 7.3

Lesotho.

File

supported/location.ls.inc
View source
<?php

/**
 * @file
 * Lesotho.
 */

/**
 * Returns an associative array of states/territories.
 */
function location_province_list_ls() {
  return array(
    'BE' => "Berea",
    'BB' => "Butha-Buthe",
    'LE' => "Leribe",
    'MF' => "Mafeteng",
    'MS' => "Maseru",
    'MH' => "Mohale's Hoek",
    'MK' => "Mokhotlong",
    'QN' => "Qacha's Nek",
    'QT' => "Quthing",
    'TT' => "Thaba-Tseka",
  );
}

/**
 * Returns minimum and maximum latitude and longitude needed to create a bounding box.
 */
function location_bounds_ls() {
  return array(
    'minlng' => 27.04245,
    'minlat' => -30.613033,
    'maxlng' => 29.4317,
    'maxlat' => -28.549033,
  );
}

Functions

Namesort descending Description
location_bounds_ls Returns minimum and maximum latitude and longitude needed to create a bounding box.
location_province_list_ls Returns an associative array of states/territories.