location.za.inc 572 B

123456789101112131415161718192021222324252627
  1. <?php
  2. // South Africa
  3. function location_province_list_za() {
  4. return array('WC' => "Western Cape",
  5. 'NC' => "Northern Cape",
  6. 'EC' => "Eastern Cape",
  7. 'KN' => "KwaZulu-Natal",
  8. 'FS' => "Free State",
  9. 'NW' => "North West",
  10. 'GT' => "Gauteng",
  11. 'MP' => "Mpumalanga",
  12. 'LP' => "Limpopo");
  13. }
  14. /**
  15. * Returns minimum and maximum latitude and longitude needed to create a bounding box.
  16. */
  17. function location_bounds_za() {
  18. return array(
  19. 'minlng' => 16.50735,
  20. 'minlat' => -34.7871,
  21. 'maxlng' => 32.80535,
  22. 'maxlat' => -22.152867,
  23. );
  24. }