summaryrefslogtreecommitdiffstats
path: root/supported/location.ro.inc
blob: d0193474b69bb9586e81bd328097ef4c7dfa7b2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php

/**
 * @file
 * Romania.
 */

/**
 * Returns an associative array of states/territories.
 */
function location_province_list_ro() {
  return array(
    'AB' => 'Alba',
    'AR' => 'Arad',
    'AG' => 'Argeș',
    'BC' => 'Bacău',
    'BH' => 'Bihor',
    'BN' => 'Bistrița-Năsăud',
    'BT' => 'Botoșani',
    'BR' => 'Brăila',
    'BV' => 'Brașov',
    'B' => 'București',
    'BZ' => 'Buzău',
    'CL' => 'Călărași',
    'CS' => 'Caraș-Severin',
    'CJ' => 'Cluj',
    'CT' => 'Constanța',
    'CV' => 'Covasna',
    'DB' => 'Dâmbovița',
    'DJ' => 'Dolj',
    'GL' => 'Galați',
    'GJ' => 'Gorj',
    'GR' => 'Giurgiu',
    'HR' => 'Harghita',
    'HD' => 'Hunedoara',
    'IL' => 'Ialomița',
    'IS' => 'Iași',
    'IF' => 'Ilfov',
    'MM' => 'Maramureș',
    'MH' => 'Mehedinți',
    'MS' => 'Mureș',
    'NT' => 'Neamț',
    'OT' => 'Olt',
    'PH' => 'Prahova',
    'SJ' => 'Sălaj',
    'SM' => 'Satu Mare',
    'SB' => 'Sibiu',
    'SV' => 'Suceava',
    'TR' => 'Teleorman',
    'TM' => 'Timiș',
    'TL' => 'Tulcea',
    'VS' => 'Vaslui',
    'VL' => 'Vâlcea',
    'VN' => 'Vrancea'
  );
}

/**
 * Returns minimum and maximum latitude and longitude needed to create a bounding box.
 */
function location_bounds_ro() {
  return array(
    'minlng' => 20.2073,
    'minlat' => 43.7213,
    'maxlng' => 30.20235,
    'maxlat' => 48.21,
  );
}