Skip to content

Commit

Permalink
Update labelSchema.js
Browse files Browse the repository at this point in the history
  • Loading branch information
deliveree-pdc authored Aug 15, 2023
1 parent 3ccccfd commit d2e7537
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions labelSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,30 +254,38 @@ module.exports = {
},
'VNM': {
'valueFunctions': {
'borough': getFirstProperty(['borough']),
'local': getFirstProperty(['locality', 'localadmin']),
'county': getFirstProperty(['county']),
'regional': getFirstProperty(['region']),
'country': getFirstProperty(['dependency', 'country'])
}
},
'THA': {
// [Plot/House number/Village], [Street Name/number], [Subdistrict], [District], [Province], [Postal Code], [Country]
'valueFunctions': {
'local': getFirstProperty(['locality', 'localadmin']),
'borough': getFirstProperty(['borough']),
'county': getFirstProperty(['county']),
'regional': getFirstProperty(['region']),
'postalcode': getFirstProperty(['postalcode']),
'country': getFirstProperty(['dependency', 'country'])
}
},
'IDN': {
'valueFunctions': {
'local': getFirstProperty(['locality', 'localadmin']),
'borough': getFirstProperty(['borough']),
'county': getFirstProperty(['county']),
'regional': getFirstProperty(['region']),
'postalcode': getFirstProperty(['postalcode']),
'country': getFirstProperty(['dependency', 'country'])
}
},
'PHL': {
// [House Number/Building Name/Number] [Street Name/Subdivision], [Barangay/District], [City/Municipality] [Province], [ZIP Code], [Country]
'valueFunctions': {
'local': getFirstProperty(['locality', 'localadmin']),
'county': getFirstProperty(['county']),
'regional': getFirstProperty(['region']),
'postalcode': getFirstProperty(['postalcode']),
'country': getFirstProperty(['dependency', 'country'])
}
},
Expand Down

0 comments on commit d2e7537

Please sign in to comment.