mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-14 21:28:11 +02:00
only offer admin_level>8 for addr:place
as admin_level=8 is for `addr:city`
This commit is contained in:
@@ -89,7 +89,7 @@ export function uiFieldAddress(field, context) {
|
||||
function isAddressable(d) {
|
||||
if (d.tags.name) {
|
||||
if (d.tags.place) return true;
|
||||
if (d.tags.boundary === 'administrative' && d.tags.admin_level >= 8) return true;
|
||||
if (d.tags.boundary === 'administrative' && d.tags.admin_level > 8) return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user