You are here

location.as.inc in Location 7.3

American Samoa.

File

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

/**
 * @file
 * American Samoa.
 */

/**
 * Returns an associative array of states/territories.
 */
function location_province_list_as() {
  return array(
    'E' => "Eastern",
    'M' => "Manu'a",
    'R' => "Rose Island",
    'S' => "Swains Island",
    'W' => "Western",
  );
}

/**
 * Returns minimum and maximum latitude and longitude needed to create a bounding box.
 */
function location_bounds_as() {
  return array(
    'minlng' => -170.9021,
    'minlat' => -14.541433,
    'maxlng' => -168.23395,
    'maxlat' => -14.183633,
  );
}

Functions

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