location.cl.inc 783 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. // Chile
  3. function location_province_list_cl() {
  4. return array('AI' => "Aisen del General Carlos Ibanez del Campo (XI)",
  5. 'AN' => "Antofagasta (II)",
  6. 'AR' => "Araucania (IX)",
  7. 'AT' => "Atacama (III)",
  8. 'BI' => "Bio-Bio (VIII)",
  9. 'CO' => "Coquimbo (IV)",
  10. 'LI' => "Libertador General Bernardo O'Higgins (VI)",
  11. 'LL' => "Los Lagos (X)",
  12. 'MA' => "Magallanes (XII)",
  13. 'ML' => "Maule (VII)",
  14. 'RM' => "Region Metropolitana (RM)",
  15. 'TA' => "Tarapaca (I)",
  16. 'VS' => "Valparaiso (V)");
  17. }
  18. /**
  19. * Returns minimum and maximum latitude and longitude needed to create a bounding box.
  20. */
  21. function location_bounds_cl() {
  22. return array(
  23. 'minlng' => -89.1566,
  24. 'minlat' => -56.3359,
  25. 'maxlng' => -66.53165,
  26. 'maxlat' => -17.5216,
  27. );
  28. }