location.ir.inc in Location 7.3
Same filename and directory in other branches
Iran, Islamic Republic Of.
File
supported/location.ir.incView source
<?php
/**
* @file
* Iran, Islamic Republic Of.
*/
/**
* Returns an associative array of states/territories.
*/
function location_province_list_ir() {
return array(
'TEH' => "Tehran",
'QOM' => "Qom",
'MKZ' => "Markazi",
'QAZ' => "Qazvin",
'GIL' => "Gilan",
'ARD' => "Ardabil",
'ZAN' => "Zanjan",
'EAZ' => "East Azarbaijan",
'WEZ' => "West Azarbaijan",
'KRD' => "Kurdistan",
'HMD' => "Hamadan",
'KRM' => "Kermanshah",
'ILM' => "Ilam",
'LRS' => "Lorestan",
'KZT' => "Khuzestan",
'CMB' => "Chahar Mahaal and Bakhtiari",
'KBA' => "Kohkiluyeh and Buyer Ahmad",
'BSH' => "Bushehr",
'FAR' => "Fars",
'HRM' => "Hormozgan",
'SBL' => "Sistan and Baluchistan",
'KRB' => "Kerman",
'YZD' => "Yazd",
'EFH' => "Esfahan",
'SMN' => "Semnan",
'MZD' => "Mazandaran",
'GLS' => "Golestan",
'NKH' => "North Khorasan",
'RKH' => "Razavi Khorasan",
'SKH' => "South Khorasan",
);
}
/**
* Returns minimum and maximum latitude and longitude needed to create a bounding box.
*/
function location_bounds_ir() {
return array(
'minlng' => 44.01905,
'minlat' => 25.120267,
'maxlng' => 63.3325,
'maxlat' => 39.825267,
);
}
Functions
Name![]() |
Description |
---|---|
location_bounds_ir | Returns minimum and maximum latitude and longitude needed to create a bounding box. |
location_province_list_ir | Returns an associative array of states/territories. |