You are here

location.gh.inc in Location 7.3

Ghana.

File

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

/**
 * @file
 * Ghana.
 */

/**
 * Returns an associative array of states/territories.
 */
function location_province_list_gh() {
  return array(
    'AS' => "Ashanti Region",
    'BA' => "Brong-Ahafo Region",
    'CE' => "Central Region",
    'EA' => "Eastern Region",
    'GA' => "Greater Accra Region",
    'NO' => "Northern Region",
    'UE' => "Upper East Region",
    'UW' => "Upper West Region",
    'VO' => "Volta Region",
    'WE' => "Western Region",
  );
}

/**
 * Returns minimum and maximum latitude and longitude needed to create a bounding box.
 */
function location_bounds_gh() {
  return array(
    'minlng' => -3.3352,
    'minlat' => 4.678367,
    'maxlng' => 1.25875,
    'maxlat' => 11.169167,
  );
}

Functions

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