blob: f87468914c0a72e87c489e5c2156f13fadcdd62d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <mbgl/map/geometry_tile.hpp>
#include <mbgl/style/filter_expression_private.hpp>
namespace mbgl {
mapbox::util::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&);
}
|