You are here

location.mh.inc in Location 7.3

Marshall Islands.

File

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

/**
 * @file
 * Marshall Islands.
 */

/**
 * Returns an associative array of states/territories.
 */
function location_province_list_mh() {
  return array(
    'ALG' => "Ailinginae",
    'ALL' => "Ailinglaplap",
    'ALK' => "Ailuk",
    'ARN' => "Arno",
    'AUR' => "Aur",
    'BKR' => "Bikar",
    'BKN' => "Bikini",
    'BKK' => "Bokak",
    'EBN' => "Ebon",
    'ENT' => "Enewetak",
    'EKB' => "Erikub",
    'JBT' => "Jabat",
    'JLT' => "Jaluit",
    'JEM' => "Jemo",
    'KIL' => "Kili",
    'KWJ' => "Kwajalein",
    'LAE' => "Lae",
    'LIB' => "Lib",
    'LKP' => "Likiep",
    'MJR' => "Majuro",
    'MLP' => "Maloelap",
    'MJT' => "Mejit",
    'MIL' => "Mili",
    'NMK' => "Namorik",
    'NAM' => "Namu",
    'RGL' => "Rongelap",
    'RGK' => "Rongrik",
    'TOK' => "Toke",
    'UJA' => "Ujae",
    'UJL' => "Ujelang",
    'UTK' => "Utirik",
    'WTH' => "Wotho",
    'WTJ' => "Wotje",
  );
}

/**
 * Returns minimum and maximum latitude and longitude needed to create a bounding box.
 */
function location_bounds_mh() {

  // NaturalEarth 10m Admin 0 - Countries (v1.3.0)
  // EPSG:900913
  return array(
    'minlng' => 165.282448,
    'minlat' => 4.57359792,
    'maxlng' => 172.029943,
    'maxlat' => 14.6102204,
  );
}

Functions

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