You are here

location.mw.inc in Location 7.3

Malawi.

File

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

/**
 * @file
 * Malawi.
 */

/**
 * Returns an associative array of states/territories.
 */
function location_province_list_mw() {
  return array(
    'BLK' => "Balaka",
    'BLT' => "Blantyre",
    'CKW' => "Chikwawa",
    'CRD' => "Chiradzulu",
    'CTP' => "Chitipa",
    'DDZ' => "Dedza",
    'DWA' => "Dowa",
    'KRG' => "Karonga",
    'KSG' => "Kasungu",
    'LKM' => "Likoma",
    'LLG' => "Lilongwe",
    'MCG' => "Machinga",
    'MGC' => "Mangochi",
    'MCH' => "Mchinji",
    'MLJ' => "Mulanje",
    'MWZ' => "Mwanza",
    'MZM' => "Mzimba",
    'NTU' => "Ntcheu",
    'NKB' => "Nkhata Bay",
    'NKH' => "Nkhotakota",
    'NSJ' => "Nsanje",
    'NTI' => "Ntchisi",
    'PHL' => "Phalombe",
    'RMP' => "Rumphi",
    'SLM' => "Salima",
    'THY' => "Thyolo",
    'ZBA' => "Zomba",
  );
}

/**
 * Returns minimum and maximum latitude and longitude needed to create a bounding box.
 */
function location_bounds_mw() {
  return array(
    'minlng' => 32.7198,
    'minlat' => -17.0924,
    'maxlng' => 35.93715,
    'maxlat' => -9.500266999999999,
  );
}

Functions

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