location.ir.inc 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. // Iran, Islamic Republic Of
  3. function location_province_list_ir() {
  4. return array('TEH' => "Tehran",
  5. 'QOM' => "Qom",
  6. 'MKZ' => "Markazi",
  7. 'QAZ' => "Qazvin",
  8. 'GIL' => "Gilan",
  9. 'ARD' => "Ardabil",
  10. 'ZAN' => "Zanjan",
  11. 'EAZ' => "East Azarbaijan",
  12. 'WEZ' => "West Azarbaijan",
  13. 'KRD' => "Kurdistan",
  14. 'HMD' => "Hamadan",
  15. 'KRM' => "Kermanshah",
  16. 'ILM' => "Ilam",
  17. 'LRS' => "Lorestan",
  18. 'KZT' => "Khuzestan",
  19. 'CMB' => "Chahar Mahaal and Bakhtiari",
  20. 'KBA' => "Kohkiluyeh and Buyer Ahmad",
  21. 'BSH' => "Bushehr",
  22. 'FAR' => "Fars",
  23. 'HRM' => "Hormozgan",
  24. 'SBL' => "Sistan and Baluchistan",
  25. 'KRB' => "Kerman",
  26. 'YZD' => "Yazd",
  27. 'EFH' => "Esfahan",
  28. 'SMN' => "Semnan",
  29. 'MZD' => "Mazandaran",
  30. 'GLS' => "Golestan",
  31. 'NKH' => "North Khorasan",
  32. 'RKH' => "Razavi Khorasan",
  33. 'SKH' => "South Khorasan");
  34. }
  35. /**
  36. * Returns minimum and maximum latitude and longitude needed to create a bounding box.
  37. */
  38. function location_bounds_ir() {
  39. return array(
  40. 'minlng' => 44.01905,
  41. 'minlat' => 25.120267,
  42. 'maxlng' => 63.3325,
  43. 'maxlat' => 39.825267,
  44. );
  45. }