location.mx.inc 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. // Mexico
  3. function location_province_list_mx() {
  4. return array('AGU' => "Aguascalientes",
  5. 'BCN' => "Baja California",
  6. 'BCS' => "Baja California Sur",
  7. 'CAM' => "Campeche",
  8. 'CHP' => "Chiapas",
  9. 'CHH' => "Chihuahua",
  10. 'COA' => "Coahuila",
  11. 'COL' => "Colima",
  12. 'DUR' => "Durango",
  13. 'GUA' => "Guanajuato",
  14. 'GRO' => "Guerrero",
  15. 'HID' => "Hidalgo",
  16. 'JAL' => "Jalisco",
  17. 'MEX' => "Mexico",
  18. 'MIC' => "Michoacan",
  19. 'MOR' => "Morelos",
  20. 'NAY' => "Nayarit",
  21. 'NLE' => "Nuevo Leon",
  22. 'OAX' => "Oaxaca",
  23. 'PUE' => "Puebla",
  24. 'QUE' => "Queretaro",
  25. 'ROO' => "Quintana Roo",
  26. 'SLP' => "San Luis Potosi",
  27. 'SIN' => "Sinaloa",
  28. 'SON' => "Sonora",
  29. 'TAB' => "Tabasco",
  30. 'TAM' => "Tamaulipas",
  31. 'TLA' => "Tlaxcala",
  32. 'VER' => "Veracruz",
  33. 'YUC' => "Yucatan",
  34. 'ZAC' => "Zacatecas",
  35. 'DIF' => "Distrito Federal");
  36. }
  37. /**
  38. * Returns minimum and maximum latitude and longitude needed to create a bounding box.
  39. */
  40. function location_bounds_mx() {
  41. return array(
  42. 'minlng' => -118.34045,
  43. 'minlat' => 14.519233,
  44. 'maxlng' => -86.63915,
  45. 'maxlat' => 32.755267,
  46. );
  47. }