location.in.inc 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. // India
  3. function location_province_list_in() {
  4. return array('AP' => "Andhra Pradesh",
  5. 'AR' => "Arunachal Pradesh",
  6. 'AS' => "Assam",
  7. 'BR' => "Bihar",
  8. 'CT' => "Chhattisgarh",
  9. 'GA' => "Goa",
  10. 'GJ' => "Gujarat",
  11. 'HR' => "Haryana",
  12. 'HP' => "Himachal Pradesh",
  13. 'JK' => "Jammu and Kashmir",
  14. 'JH' => "Jharkhand",
  15. 'KA' => "Karnataka",
  16. 'KL' => "Kerala",
  17. 'MP' => "Madhya Pradesh",
  18. 'MM' => "Maharashtra",
  19. 'MN' => "Manipur",
  20. 'ML' => "Meghalaya",
  21. 'MZ' => "Mizoram",
  22. 'NL' => "Nagaland",
  23. 'OR' => "Orissa",
  24. 'PB' => "Punjab",
  25. 'RJ' => "Rajasthan",
  26. 'SK' => "Sikkim",
  27. 'TN' => "Tamil Nadu",
  28. 'TR' => "Tripura",
  29. 'UL' => "Uttaranchal",
  30. 'UP' => "Uttar Pradesh",
  31. 'WB' => "West Bengal",
  32. 'AN' => "Andaman and Nicobar Islands",
  33. 'CH' => "Chandigarh",
  34. 'DN' => "Dadra and Nagar Haveli",
  35. 'DD' => "Daman and Diu",
  36. 'DL' => "Delhi",
  37. 'LD' => "Lakshadweep",
  38. 'PY' => "Pondicherry");
  39. }
  40. /**
  41. * Returns minimum and maximum latitude and longitude needed to create a bounding box.
  42. */
  43. function location_bounds_in() {
  44. return array(
  45. 'minlng' => 68.1721,
  46. 'minlat' => 6.470867,
  47. 'maxlng' => 97.27195,
  48. 'maxlat' => 37.118133,
  49. );
  50. }