location.hk.inc 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. // Hong Kong
  3. function location_province_list_hk() {
  4. return array(
  5. 'HCW' => "Central and Western Hong Kong Island",
  6. 'HEA' => "Eastern Hong Kong Island",
  7. 'HSO' => "Southern Hong Kong Island",
  8. 'HWC' => "Wan Chai Hong Kong Island",
  9. 'KKC' => "Kowloon City Kowloon",
  10. 'KKT' => "Kwun Tong Kowloon",
  11. 'KSS' => "Sham Shui Po Kowloon",
  12. 'KWT' => "Wong Tai Sin Kowloon",
  13. 'KYT' => "Yau Tsim Mong Kowloon",
  14. 'NIS' => "Islands New Territories",
  15. 'NKT' => "Kwai Tsing New Territories",
  16. 'NNO' => "North New Territories",
  17. 'NSK' => "Sai Kung New Territories",
  18. 'NST' => "Sha Tin New Territories",
  19. 'NTP' => "Tai Po New Territories",
  20. 'NTW' => "Tsuen Wan New Territories",
  21. 'NTM' => "Tuen Mun New Territories",
  22. 'NYL' => "Yuen Long New Territories",
  23. );
  24. }
  25. /**
  26. * Returns minimum and maximum latitude and longitude needed to create a bounding box.
  27. */
  28. function location_bounds_hk() {
  29. // NaturalEarth 10m Admin 0 - Countries (v1.3.0)
  30. // EPSG:900913
  31. return array(
  32. 'minlng' => 113.837319,
  33. 'minlat' => 22.1786990,
  34. 'maxlng' => 114.401316,
  35. 'maxlat' => 22.5605361,
  36. );
  37. }