location.cn.inc 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?php
  2. // China
  3. function location_province_list_cn() {
  4. return array(
  5. '11' => "Beijing",
  6. '12' => "Tianjin",
  7. '13' => "Hebei",
  8. '14' => "Shanxi",
  9. '15' => "Nei Mongol",
  10. '21' => "Liaoning",
  11. '22' => "Jilin",
  12. '23' => "Heilongjiang",
  13. '31' => "Shanghai",
  14. '32' => "Jiangsu",
  15. '33' => "Zhejiang",
  16. '34' => "Anhui",
  17. '35' => "Fujian",
  18. '36' => "Jiangxi",
  19. '37' => "Shandong",
  20. '41' => "Henan",
  21. '42' => "Hubei",
  22. '43' => "Hunan",
  23. '44' => "Guangdong",
  24. '45' => "Guangxi",
  25. '46' => "Hainan",
  26. '51' => "Sichuan",
  27. '52' => "Guizhou",
  28. '53' => "Yunnan",
  29. '54' => "Xizang (Tibet)",
  30. '61' => "Shaanxi",
  31. '62' => "Gansu",
  32. '63' => "Qinghai",
  33. '64' => "Ningxia",
  34. '65' => "Xinjiang",
  35. '71' => "Taiwan",
  36. '91' => "Xianggang",
  37. '92' => "Aomen",
  38. '97' => "Chongqing",
  39. '98' => "Gaoxiong",
  40. '99' => "Taibei",
  41. );
  42. }
  43. /**
  44. * Returns minimum and maximum latitude and longitude needed to create a bounding box.
  45. */
  46. function location_bounds_cn() {
  47. return array(
  48. 'minlng' => 73.5403,
  49. 'minlat' => 16.0968,
  50. 'maxlng' => 134.7658,
  51. 'maxlat' => 53.608867,
  52. );
  53. }