Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/editor.config7
-rw-r--r--editor/editor_config.cpp1
2 files changed, 5 insertions, 3 deletions
diff --git a/data/editor.config b/data/editor.config
index c9d1273757..d66b43ad97 100644
--- a/data/editor.config
+++ b/data/editor.config
@@ -135,14 +135,15 @@
<include field="ele" />
<include field="operator" />
</type>
- <type id="amenity-atm" group="banking">
+ <type id="amenity-atm" group="banking" priority="low">
<include field="opening_hours" />
<include field="operator" />
</type>
<type id="amenity-bank" group="banking">
<include group="poi" />
<include field="operator" />
- <include field="atm" />
+ <!-- Uncomment this and other atm fields when the code supports it. -->
+ <!--include field="atm" /-->
</type>
<type id="amenity-bar" group="food">
<include group="poi" />
@@ -157,7 +158,7 @@
<type id="amenity-bureau_de_change" group="banking">
<include group="poi" />
<include field="operator" />
- <include field="atm" />
+ <!--include field="atm" /-->
</type>
<type id="amenity-bus_station">
<include group="poi" />
diff --git a/editor/editor_config.cpp b/editor/editor_config.cpp
index 73480f6676..eaa70d2faf 100644
--- a/editor/editor_config.cpp
+++ b/editor/editor_config.cpp
@@ -61,6 +61,7 @@ bool TypeDescriptionFromXml(pugi::xml_node const & root, pugi::xml_node const &
return;
}
+ // TODO(mgsergio): Add support for non-metadata fields like atm, wheelchair, toilet etc.
auto const it = kNamesToFMD.find(fieldName);
ASSERT(it != end(kNamesToFMD), ("Wrong field:", fieldName));
outDesc.m_editableFields.push_back(it->second);