location.co.inc 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. // Colombia
  3. function location_province_list_co() {
  4. return array('AMZ' => "Amazonas",
  5. 'ANT' => "Antioquia",
  6. 'ARA' => "Arauca",
  7. 'ATL' => "Atlantico",
  8. 'BOL' => "Bolivar",
  9. 'BOY' => "Boyaca",
  10. 'CAL' => "Caldas",
  11. 'CAQ' => "Caqueta",
  12. 'CAS' => "Casanare",
  13. 'CAU' => "Cauca",
  14. 'CES' => "Cesar",
  15. 'CHO' => "Choco",
  16. 'COR' => "Cordoba",
  17. 'CAM' => "Cundinamarca",
  18. 'GNA' => "Guainia",
  19. 'GJR' => "Guajira",
  20. 'GVR' => "Guaviare",
  21. 'HUI' => "Huila",
  22. 'MAG' => "Magdalena",
  23. 'MET' => "Meta",
  24. 'NAR' => "Narino",
  25. 'NDS' => "Norte de Santander",
  26. 'PUT' => "Putumayo",
  27. 'QUI' => "Quindio",
  28. 'RIS' => "Risaralda",
  29. 'SAP' => "San Andres y Providencia",
  30. 'SAN' => "Santander",
  31. 'SUC' => "Sucre",
  32. 'TOL' => "Tolima",
  33. 'VDC' => "Valle del Cauca",
  34. 'VAU' => "Vaupes",
  35. 'VIC' => "Vichada",
  36. 'BDC' => "Bogota D.C.");
  37. }
  38. /**
  39. * Returns minimum and maximum latitude and longitude needed to create a bounding box.
  40. */
  41. function location_bounds_co() {
  42. return array(
  43. 'minlng' => -81.8458,
  44. 'minlat' => -4.0608,
  45. 'maxlng' => -66.8912,
  46. 'maxlat' => 15.886067,
  47. );
  48. }