location.ec.inc 835 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. // Ecuador
  3. function location_province_list_ec() {
  4. return array('A' => "Azuay",
  5. 'B' => "Bolivar",
  6. 'C' => "Carchi",
  7. 'D' => "Orellana",
  8. 'E' => "Esmeraldas",
  9. 'F' => "Canar",
  10. 'G' => "Guayas",
  11. 'H' => "Chimborazo",
  12. 'I' => "Imbabura",
  13. 'L' => "Loja",
  14. 'M' => "Manabi",
  15. 'N' => "Napo",
  16. 'O' => "El Oro",
  17. 'P' => "Pichincha",
  18. 'R' => "Los Rios",
  19. 'S' => "Morona-Santiago",
  20. 'T' => "Tungurahua",
  21. 'U' => "Sucumbios",
  22. 'W' => "Galapagos",
  23. 'X' => "Cotopaxi",
  24. 'Y' => "Pastaza",
  25. 'Z' => "Zamora-Chinchipe");
  26. }
  27. /**
  28. * Returns minimum and maximum latitude and longitude needed to create a bounding box.
  29. */
  30. function location_bounds_ec() {
  31. return array(
  32. 'minlng' => -92.0364,
  33. 'minlat' => -4.891367,
  34. 'maxlng' => -75.23925,
  35. 'maxlat' => 1.715733,
  36. );
  37. }