location.do.inc 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. // Dominican Republic
  3. function location_province_list_do() {
  4. return array('DN' => "Distrito Nacional",
  5. 'AZ' => "Azua",
  6. 'BC' => "Baoruco",
  7. 'BH' => "Barahona",
  8. 'DJ' => "Dajabon",
  9. 'DU' => "Duarte",
  10. 'EL' => "Elias Pina",
  11. 'SY' => "El Seybo",
  12. 'ET' => "Espaillat",
  13. 'HM' => "Hato Mayor",
  14. 'IN' => "Independencia",
  15. 'AL' => "La Altagracia",
  16. 'RO' => "La Romana",
  17. 'VE' => "La Vega",
  18. 'MT' => "Maria Trinidad Sanchez",
  19. 'MN' => "Monsenor Nouel",
  20. 'MC' => "Monte Cristi",
  21. 'MP' => "Monte Plata",
  22. 'PD' => "Pedernales",
  23. 'PR' => "Peravia (Bani)",
  24. 'PP' => "Puerto Plata",
  25. 'SL' => "Salcedo",
  26. 'SM' => "Samana",
  27. 'SH' => "Sanchez Ramirez",
  28. 'SC' => "San Cristobal",
  29. 'JO' => "San Jose de Ocoa",
  30. 'SJ' => "San Juan",
  31. 'PM' => "San Pedro de Macoris",
  32. 'SA' => "Santiago",
  33. 'ST' => "Santiago Rodriguez",
  34. 'SD' => "Santo Domingo",
  35. 'VA' => "Valverde");
  36. }
  37. /**
  38. * Returns minimum and maximum latitude and longitude needed to create a bounding box.
  39. */
  40. function location_bounds_do() {
  41. return array(
  42. 'minlng' => -71.90115,
  43. 'minlat' => 17.506667,
  44. 'maxlng' => -68.2548,
  45. 'maxlat' => 19.880967,
  46. );
  47. }