mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Support Latvian address scheme (#9667)
To [check address format](https://www.pasts.lv/en/Category/Postal_Code_Look-up/) see official Latvian Post website.
This commit is contained in:
@@ -69,13 +69,6 @@
|
||||
["postcode", "city"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["lv"],
|
||||
"format": [
|
||||
["street", "housenumber"],
|
||||
["city", "postcode"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"countryCodes": ["br"],
|
||||
"format": [
|
||||
@@ -202,6 +195,26 @@
|
||||
"postcode": 0.2
|
||||
}
|
||||
},
|
||||
{
|
||||
"countryCodes": ["lv"],
|
||||
"format": [
|
||||
["street", "housenumber"],
|
||||
["housename", "subdistrict"],
|
||||
["district", "city", "postcode"]
|
||||
],
|
||||
"dropdowns": [
|
||||
"street", "city", "subdistrict", "district", "postcode"
|
||||
],
|
||||
"widths": {
|
||||
"street": 0.7,
|
||||
"housenumber": 0.3,
|
||||
"housename": 0.4,
|
||||
"subdistrict": 0.6,
|
||||
"district": 0.4,
|
||||
"city": 0.4,
|
||||
"postcode": 0.2
|
||||
}
|
||||
},
|
||||
{
|
||||
"countryCodes": ["in"],
|
||||
"format": [
|
||||
|
||||
Reference in New Issue
Block a user