You are here

location.lb.inc in Location 7.3

Lebanon.

File

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

/**
 * @file
 * Lebanon.
 */

/**
 * Returns an associative array of states/territories.
 */
function location_province_list_lb() {
  return array(
    'AA' => "Aakkâr",
    'NA' => "An Nabaţīyah",
    'BH' => "Baalbek-Hermel",
    'BA' => "Beirut",
    'BQ' => "Beqaa",
    'JL' => "Mount Lebanon",
    'NL' => "North Lebanon",
    'JA' => "South Lebanon",
  );
}

/**
 * Returns minimum and maximum latitude and longitude needed to create a bounding box.
 */
function location_bounds_lb() {
  return array(
    'minlng' => 35.2636,
    'minlat' => 33.262433,
    'maxlng' => 36.56995,
    'maxlat' => 34.720367,
  );
}

Functions

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