Prioritize craft before amenity for place type
CI / Lint (push) Successful in 1m0s
CI / Test (push) Successful in 1m13s

It's usually more distinct and useful/interesting
This commit is contained in:
2026-08-23 10:08:48 -06:00
parent 2690c5470f
commit 5d9c6ebc89
+1 -1
View File
@@ -34,13 +34,13 @@ export function getLocalizedName(tags, defaultName = 'Untitled Place') {
} }
const PLACE_TYPE_KEYS = [ const PLACE_TYPE_KEYS = [
'craft',
'amenity', 'amenity',
'shop', 'shop',
'tourism', 'tourism',
'historic', 'historic',
'leisure', 'leisure',
'office', 'office',
'craft',
'building', 'building',
'landuse', 'landuse',
'public_transport', 'public_transport',