location.ws.inc 692 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. // Samoa
  3. function location_province_list_ws() {
  4. return array(
  5. 'AN' => "A'ana",
  6. 'AI' => "Aiga-i-le-Tai",
  7. 'AT' => "Atua",
  8. 'FA' => "Fa'asaleleaga",
  9. 'GE' => "Gaga'emauga",
  10. 'GF' => "Gagaifomauga",
  11. 'PA' => "Palauli",
  12. 'SA' => "Satupa'itea",
  13. 'TU' => "Tuamasaga",
  14. 'VF' => "Va'a-o-Fonoti",
  15. 'VS' => "Vaisigano",
  16. );
  17. }
  18. /**
  19. * Returns minimum and maximum latitude and longitude needed to create a bounding box.
  20. */
  21. function location_bounds_ws() {
  22. // NaturalEarth 10m Admin 0 - Countries (v1.3.0)
  23. // EPSG:900913
  24. return array(
  25. 'minlng' => -172.78159,
  26. 'minlat' => -14.052836,
  27. 'maxlng' => -171.43666,
  28. 'maxlat' => -13.462898,
  29. );
  30. }