[core] Default GeometryTileFeature::getGeometries() implementation

This commit is contained in:
Mikhail Pozdnyakov
2019-07-24 13:18:40 +03:00
parent 852fef66ef
commit ec6650d3c0
3 changed files with 6 additions and 4 deletions

View File

@@ -17,7 +17,6 @@ public:
}
PropertyMap getProperties() const override { return feature.properties; }
FeatureIdentifier getID() const override { return feature.id; }
const GeometryCollection& getGeometries() const override { return geometry; }
optional<mbgl::Value> getValue(const std::string& key) const override {
auto it = feature.properties.find(key);
if (it != feature.properties.end()) {
@@ -25,8 +24,6 @@ public:
}
return optional<mbgl::Value>();
}
GeometryCollection geometry;
};