You are here

location.sv.inc in Location 7.3

El Salvador.

File

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

/**
 * @file
 * El Salvador.
 */

/**
 * Returns an associative array of states/territories.
 */
function location_province_list_sv() {
  return array(
    'AH' => "Ahuachapan",
    'CA' => "Cabanas",
    'CH' => "Chalatenango",
    'CU' => "Cuscatlan",
    'LB' => "La Libertad",
    'PZ' => "La Paz",
    'UN' => "La Union",
    'MO' => "Morazan",
    'SM' => "San Miguel",
    'SS' => "San Salvador",
    'SA' => "Santa Ana",
    'SV' => "San Vicente",
    'SO' => "Sonsonate",
    'US' => "Usulutan",
  );
}

/**
 * Returns minimum and maximum latitude and longitude needed to create a bounding box.
 */
function location_bounds_sv() {
  return array(
    'minlng' => -90.12705,
    'minlat' => 13.0919,
    'maxlng' => -87.67570000000001,
    'maxlat' => 14.478067,
  );
}

Functions

Namesort descending Description
location_bounds_sv Returns minimum and maximum latitude and longitude needed to create a bounding box.
location_province_list_sv Returns an associative array of states/territories.