location.sa.inc in Location 7.3
Same filename and directory in other branches
Saudia Arabia.
File
supported/location.sa.incView source
<?php
/**
* @file
* Saudia Arabia.
*/
/**
* Returns an associative array of states/territories.
*/
function location_province_list_sa() {
return array(
'BH' => "Al Bahah",
'HS' => "Al Hudud ash Shamaliyah",
'JF' => "Al Jawf",
'MD' => "Al Madinah",
'QS' => "Al Qasim",
'RD' => "Ar Riyad",
'AQ' => "Ash Sharqiyah (Eastern Province)",
'AS' => "'Asir",
'HL' => "Ha'il",
'JZ' => "Jizan",
'ML' => "Makkah",
'NR' => "Najran",
'TB' => "Tabuk",
);
}
/**
* Returns minimum and maximum latitude and longitude needed to create a bounding box.
*/
function location_bounds_sa() {
return array(
'minlng' => 34.5647,
'minlat' => 15.518117,
'maxlng' => 55.028463,
'maxlat' => 32.275,
);
}
Functions
Name![]() |
Description |
---|---|
location_bounds_sa | Returns minimum and maximum latitude and longitude needed to create a bounding box. |
location_province_list_sa | Returns an associative array of states/territories. |