summaryrefslogtreecommitdiffstats
path: root/supported/location.ke.inc
blob: 00895d553cc06d64e06d07d6596f471854743c35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php

/**
 * @file
 * Kenya.
 */

/**
 * Returns an associative array of states/territories.
 */
function location_province_list_ke() {
  return array(
    'CE' => "Central",
    'CO' => "Coast",
    'EA' => "Eastern",
    'NA' => "Nairobi Area",
    'NE' => "North Eastern",
    'NY' => "Nyanza",
    'RV' => "Rift Valley",
    'WE' => "Western"
  );
}

/**
 * Returns minimum and maximum latitude and longitude needed to create a bounding box.
 */
function location_bounds_ke() {
  return array(
    'minlng' => 33.7914,
    'minlat' => -4.729033,
    'maxlng' => 42.20675,
    'maxlat' => 4.542067,
  );
}