forked from organicmaps/organicmaps
Fix: Add missing fax field in osm2meta.hpp.
This commit is contained in:
parent
bd7100f091
commit
7d30d26fdd
1 changed files with 7 additions and 1 deletions
|
@ -64,6 +64,12 @@ public:
|
|||
if (!value.empty())
|
||||
md.Set(Metadata::FMD_PHONE_NUMBER, value);
|
||||
}
|
||||
else if (k == "fax" || k == "contact:fax")
|
||||
{
|
||||
string const & value = ValidateAndFormat_phone(v);
|
||||
if (!value.empty())
|
||||
md.Set(Metadata::EType::FMD_FAX_NUMBER, value);
|
||||
}
|
||||
else if (k == "maxspeed")
|
||||
{
|
||||
string const & value = ValidateAndFormat_maxspeed(v);
|
||||
|
@ -183,7 +189,7 @@ public:
|
|||
if (!value.empty())
|
||||
md.Set(Metadata::FMD_DENOMINATION, value);
|
||||
}
|
||||
|
||||
// FMD_INTERNET is set in FeatureType::ParseMetadata.
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue