[build] Update to geometry v1.0.0

This commit is contained in:
Bruno de Oliveira Abinader
2018-11-06 16:11:47 +02:00
parent 4e15a0c8cd
commit bf8b24fa8d
42 changed files with 174 additions and 113 deletions

View File

@@ -16,7 +16,7 @@ public:
return apply_visitor(ToFeatureType(), feature.geometry);
}
PropertyMap getProperties() const override { return feature.properties; }
optional<FeatureIdentifier> getID() const override { return feature.id; }
FeatureIdentifier getID() const override { return feature.id; }
GeometryCollection getGeometries() const override { return {}; }
optional<mbgl::Value> getValue(const std::string& key) const override {
auto it = feature.properties.find(key);