location.nz.inc 757 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. // New Zealand
  3. function location_province_list_nz() {
  4. return array('AUK' => "Auckland",
  5. 'BOP' => "Bay of Plenty",
  6. 'CAN' => "Canterbury",
  7. 'GIS' => "Gisborne",
  8. 'HKB' => "Hawke's Bay",
  9. 'MBH' => "Marlborough",
  10. 'MWT' => "Manawatu-Wanganui",
  11. 'NSN' => "Nelson",
  12. 'NTL' => "Northland",
  13. 'OTA' => "Otago",
  14. 'STL' => "Southland",
  15. 'TAS' => "Tasman",
  16. 'TKI' => "Taranaki",
  17. 'WGN' => "Wellington",
  18. 'WKO' => "Waikato",
  19. 'WTC' => "West Coast");
  20. }
  21. /**
  22. * Returns minimum and maximum latitude and longitude needed to create a bounding box.
  23. */
  24. function location_bounds_nz() {
  25. return array(
  26. 'minlng' => -178.94835,
  27. 'minlat' => -57.294267,
  28. 'maxlng' => 179.22415,
  29. 'maxlat' => -8.536767,
  30. );
  31. }