location.ly.inc 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. // Libyan Arab Jamahiriya
  3. function location_province_list_ly() {
  4. return array(
  5. 'AJ' => "Ajdabiya",
  6. 'AZ' => "Al 'Aziziyah",
  7. 'FA' => "Al Fatih",
  8. 'JA' => "Al Jabal al Akhdar",
  9. 'JU' => "Al Jufrah",
  10. 'KH' => "Al Khums",
  11. 'KU' => "Al Kufrah",
  12. 'NK' => "An Nuqat al Khams",
  13. 'AS' => "Ash Shati'",
  14. 'AW' => "Awbari",
  15. 'ZA' => "Az Zawiyah",
  16. 'BA' => "Banghazi",
  17. 'DA' => "Darnah",
  18. 'GD' => "Ghadamis",
  19. 'GY' => "Gharyan",
  20. 'MI' => "Misratah",
  21. 'MZ' => "Murzuq",
  22. 'SB' => "Sabha",
  23. 'SW' => "Sawfajjin",
  24. 'SU' => "Surt",
  25. 'TL' => "Tarabulus (Tripoli)",
  26. 'TH' => "Tarhunah",
  27. 'TU' => "Tubruq",
  28. 'YA' => "Yafran",
  29. 'ZL' => "Zlitan",
  30. );
  31. }
  32. /**
  33. * Returns minimum and maximum latitude and longitude needed to create a bounding box.
  34. */
  35. function location_bounds_ly() {
  36. // NaturalEarth 10m Admin 0 - Countries (v1.3.0)
  37. // EPSG:900913
  38. return array(
  39. 'minlng' => 9.28654382,
  40. 'minlat' => 19.4961237,
  41. 'maxlng' => 25.1568412,
  42. 'maxlat' => 33.1810765,
  43. );
  44. }