location.tw.inc 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. // Taiwan, Province of China
  3. function location_province_list_tw() {
  4. return array(
  5. 'CH' => "Chang-hua",
  6. 'CI' => "Chia-i",
  7. 'HS' => "Hsin-chu",
  8. 'HL' => "Hua-lien",
  9. 'IL' => "I-lan",
  10. 'KH' => "Kao-hsiung county",
  11. 'KM' => "Kin-men",
  12. 'LC' => "Lien-chiang",
  13. 'ML' => "Miao-li",
  14. 'NT' => "Nan-t'ou",
  15. 'PH' => "P'eng-hu",
  16. 'PT' => "P'ing-tung",
  17. 'TG' => "T'ai-chung",
  18. 'TA' => "T'ai-nan",
  19. 'TP' => "T'ai-pei county",
  20. 'TT' => "T'ai-tung",
  21. 'TY' => "T'ao-yuan",
  22. 'YL' => "Yun-lin",
  23. 'CC' => "Chia-i city",
  24. 'CL' => "Chi-lung",
  25. 'HC' => "Hsin-chu",
  26. 'TH' => "T'ai-chung",
  27. 'TN' => "T'ai-nan",
  28. 'KC' => "Kao-hsiung city",
  29. 'TC' => "T'ai-pei city",
  30. );
  31. }
  32. /**
  33. * Returns minimum and maximum latitude and longitude needed to create a bounding box.
  34. */
  35. function location_bounds_tw() {
  36. // NaturalEarth 10m Admin 0 - Countries (v1.3.0)
  37. // EPSG:900913
  38. return array(
  39. 'minlng' => 118.279839,
  40. 'minlat' => 21.9044005,
  41. 'maxlng' => 122.005606,
  42. 'maxlat' => 25.2871914,
  43. );
  44. }