[core] Organize files that were in map folder better

Fixes #996
This commit is contained in:
John Firebaugh
2016-02-11 17:30:35 -08:00
parent 43c44eccdc
commit 62bbf2627a
42 changed files with 56 additions and 53 deletions

View File

@@ -0,0 +1,17 @@
#include <mbgl/tile/geometry_tile.hpp>
#include <mbgl/style/filter_expression.hpp>
#include <mbgl/style/filter_expression_private.hpp>
namespace mbgl {
optional<Value> GeometryTileFeatureExtractor::getValue(const std::string& key) const {
if (key == "$type") {
return Value(uint64_t(feature.getType()));
}
return feature.getValue(key);
}
template bool evaluate(const FilterExpression&, const GeometryTileFeatureExtractor&);
} // namespace mbgl