You are here

location.ae.inc in Location 7.3

United Arab Emirates.

File

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

/**
 * @file
 * United Arab Emirates.
 */

/**
 * Returns an associative array of states/territories.
 */
function location_province_list_ae() {
  return array(
    'AZ' => "Abu Zaby",
    'AJ' => "'Ajman",
    'FU' => "Al Fujayrah",
    'SH' => "Ash Shariqah",
    'DU' => "Dubayy",
    'RK' => "R'as al Khaymah",
    'UQ' => "Umm al Qaywayn",
  );
}

/**
 * Returns minimum and maximum latitude and longitude needed to create a bounding box.
 */
function location_bounds_ae() {
  return array(
    'minlng' => 50.7756,
    'minlat' => 22.540493,
    'maxlng' => 56.3684,
    'maxlat' => 26.241233,
  );
}

Functions

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