summaryrefslogtreecommitdiff
path: root/src/mbgl/style/properties.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/properties.hpp')
-rw-r--r--src/mbgl/style/properties.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mbgl/style/properties.hpp b/src/mbgl/style/properties.hpp
index 9c8996fcbe..2fab53ad12 100644
--- a/src/mbgl/style/properties.hpp
+++ b/src/mbgl/style/properties.hpp
@@ -206,6 +206,11 @@ public:
}
template <class P>
+ auto evaluate(float z, const GeometryTileFeature& feature, const CanonicalTileID& canonical) const {
+ return evaluate(z, feature, canonical, this->template get<P>(), P::defaultValue());
+ }
+
+ template <class P>
auto evaluate(float z, const GeometryTileFeature& feature, const FeatureState& state) const {
return evaluate(z, feature, state, this->template get<P>(), P::defaultValue());
}