location.my.inc 736 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. // Malaysia
  3. function location_province_list_my() {
  4. return array('JH' => "Johor",
  5. 'KD' => "Kedah",
  6. 'KN' => "Kelantan",
  7. 'KL' => "Kuala Lumpur",
  8. 'ML' => "Malacca",
  9. 'NS' => "Negeri Sembilan",
  10. 'PH' => "Pahang",
  11. 'PJ' => "Putrajaya",
  12. 'PK' => "Perak",
  13. 'PS' => "Perlis",
  14. 'PG' => "Penang",
  15. 'WP' => "Wilayah Persekutuan",
  16. 'SL' => "Selangor",
  17. 'TR' => "Terengganu",
  18. 'LB' => "Labuan",
  19. 'SB' => "Sabah",
  20. 'SR' => "Sarawak");
  21. }
  22. /**
  23. * Returns minimum and maximum latitude and longitude needed to create a bounding box.
  24. */
  25. function location_bounds_my() {
  26. return array(
  27. 'minlng' => 99.6346,
  28. 'minlat' => 0.9351,
  29. 'maxlng' => 119.2795,
  30. 'maxlat' => 7.417033,
  31. );
  32. }