You are here

location.ph.inc in Location 7.4

File

supported/location.ph.inc
View source
<?php

// Philippines
function location_province_list_ph() {
  return array(
    'ABR' => "Abra",
    'ANO' => "Agusan del Norte",
    'ASU' => "Agusan del Sur",
    'AKL' => "Aklan",
    'ALB' => "Albay",
    'ANT' => "Antique",
    'APY' => "Apayao",
    'AUR' => "Aurora",
    'BAS' => "Basilan",
    'BTA' => "Bataan",
    'BTE' => "Batanes",
    'BTG' => "Batangas",
    'BLR' => "Biliran",
    'BEN' => "Benguet",
    'BOL' => "Bohol",
    'BUK' => "Bukidnon",
    'BUL' => "Bulacan",
    'CAG' => "Cagayan",
    'CNO' => "Camarines Norte",
    'CSU' => "Camarines Sur",
    'CAM' => "Camiguin",
    'CAP' => "Capiz",
    'CAT' => "Catanduanes",
    'CAV' => "Cavite",
    'CEB' => "Cebu",
    'CMP' => "Compostela",
    'DNO' => "Davao del Norte",
    'DSU' => "Davao del Sur",
    'DOR' => "Davao Oriental",
    'ESA' => "Eastern Samar",
    'GUI' => "Guimaras",
    'IFU' => "Ifugao",
    'INO' => "Ilocos Norte",
    'ISU' => "Ilocos Sur",
    'ILO' => "Iloilo",
    'ISA' => "Isabela",
    'KAL' => "Kalinga",
    'LAG' => "Laguna",
    'LNO' => "Lanao del Norte",
    'LSU' => "Lanao del Sur",
    'UNI' => "La Union",
    'LEY' => "Leyte",
    'MAG' => "Maguindanao",
    'MRN' => "Marinduque",
    'MSB' => "Masbate",
    'MIC' => "Mindoro Occidental",
    'MIR' => "Mindoro Oriental",
    'MSC' => "Misamis Occidental",
    'MOR' => "Misamis Oriental",
    'MOP' => "Mountain Province",
    'NOC' => "Negros Occidental",
    'NOR' => "Negros Oriental",
    'NCT' => "North Cotabato",
    'NSM' => "Northern Samar",
    'NEC' => "Nueva Ecija",
    'NVZ' => "Nueva Vizcaya",
    'PLW' => "Palawan",
    'PMP' => "Pampanga",
    'PNG' => "Pangasinan",
    'QZN' => "Quezon",
    'QRN' => "Quirino",
    'RIZ' => "Rizal",
    'ROM' => "Romblon",
    'SMR' => "Samar",
    'SRG' => "Sarangani",
    'SQJ' => "Siquijor",
    'SRS' => "Sorsogon",
    'SCO' => "South Cotabato",
    'SLE' => "Southern Leyte",
    'SKU' => "Sultan Kudarat",
    'SLU' => "Sulu",
    'SNO' => "Surigao del Norte",
    'SSU' => "Surigao del Sur",
    'TAR' => "Tarlac",
    'TAW' => "Tawi-Tawi",
    'ZBL' => "Zambales",
    'ZNO' => "Zamboanga del Norte",
    'ZSU' => "Zamboanga del Sur",
    'ZSI' => "Zamboanga Sibugay",
  );
}

/**
 * Returns minimum and maximum latitude and longitude needed to create a bounding box.
 */
function location_bounds_ph() {
  return array(
    'minlng' => 111.82475,
    'minlat' => 4.704433,
    'maxlng' => 126.7051,
    'maxlat' => 21.3256,
  );
}

Functions

Namesort descending Description
location_bounds_ph Returns minimum and maximum latitude and longitude needed to create a bounding box.
location_province_list_ph