You are here

location.se.inc in Location 7.3

Sweden.

File

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

/**
 * @file
 * Sweden.
 */

/**
 * Returns an associative array of states/territories.
 */
function location_province_list_se() {
  return array(
    'ST' => "Stockholm",
    'UP' => "Uppsala",
    'SO' => "Södermanland",
    'OG' => "Östergotland",
    'JO' => "Jönköping",
    'KR' => "Kronoberg",
    'KA' => "Kalmar",
    'GO' => "Gotland",
    'BL' => "Blekinge",
    'SK' => "Skåne",
    'HA' => "Halland",
    'VG' => "Västra Götaland",
    'VL' => "Värmland",
    'OR' => "Örebro",
    'VM' => "Västmanland",
    'DA' => "Dalarna",
    'GA' => "Gävleborg",
    'VN' => "Västernorrland",
    'JA' => "Jämtland",
    'VB' => "Västerbotten",
    'NO' => "Norrbotten",
  );
}

/**
 * Returns minimum and maximum latitude and longitude needed to create a bounding box.
 */
function location_bounds_se() {
  return array(
    'minlng' => 11.06005,
    'minlat' => 55.385433,
    'maxlng' => 23.989,
    'maxlat' => 69.12643300000001,
  );
}

Functions

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