location.ua.inc 970 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. // Ukraine
  3. function location_province_list_ua() {
  4. return array('CK' => "Cherkasy",
  5. 'CH' => "Chernihiv",
  6. 'CV' => "Chernivtsi",
  7. 'CR' => "Crimea",
  8. 'DN' => "Dnipropetrovs'k",
  9. 'DO' => "Donets'k",
  10. 'IV' => "Ivano-Frankivs'k",
  11. 'KL' => "Kharkiv Kherson",
  12. 'KM' => "Khmel'nyts'kyy",
  13. 'KR' => "Kirovohrad",
  14. 'KV' => "Kiev",
  15. 'KY' => "Kyyiv",
  16. 'LU' => "Luhans'k",
  17. 'LV' => "L'viv",
  18. 'MY' => "Mykolayiv",
  19. 'OD' => "Odesa",
  20. 'PO' => "Poltava",
  21. 'RI' => "Rivne",
  22. 'SE' => "Sevastopol",
  23. 'SU' => "Sumy",
  24. 'TE' => "Ternopil'",
  25. 'VI' => "Vinnytsya",
  26. 'VO' => "Volyn'",
  27. 'ZK' => "Zakarpattya",
  28. 'ZA' => "Zaporizhzhya",
  29. 'ZH' => "Zhytomyr");
  30. }
  31. /**
  32. * Returns minimum and maximum latitude and longitude needed to create a bounding box.
  33. */
  34. function location_bounds_ua() {
  35. return array(
  36. 'minlng' => 22.0955,
  37. 'minlat' => 44.4744,
  38. 'maxlng' => 40.13205,
  39. 'maxlat' => 52.452833,
  40. );
  41. }