forked from organicmaps/organicmaps
[editor] Fixed building addresses editing.
This commit is contained in:
parent
7e0fc7ea18
commit
aca1e1000b
2 changed files with 7 additions and 1 deletions
|
@ -124,6 +124,12 @@
|
|||
</fields>
|
||||
|
||||
<types>
|
||||
<type id="building" can_add="no">
|
||||
<include field="street" />
|
||||
<include field="housename" />
|
||||
<include field="housenumber" />
|
||||
<include field="postcode" />
|
||||
</type>
|
||||
<type id="aeroway-aerodrome" editable="no">
|
||||
<include group="poi" />
|
||||
<include field="ele" />
|
||||
|
|
|
@ -55,7 +55,7 @@ bool TypeDescriptionFromXml(pugi::xml_node const & root, pugi::xml_node const &
|
|||
return;
|
||||
}
|
||||
|
||||
if (fieldName == "street" || fieldName == "housenumber")
|
||||
if (fieldName == "street" || fieldName == "housenumber" || fieldName == "housename")
|
||||
{
|
||||
outDesc.m_address = true;
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue