summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mbgl/style/expression/is_constant.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mbgl/style/expression/is_constant.cpp b/src/mbgl/style/expression/is_constant.cpp
index 9704168a41..5f8215c55f 100644
--- a/src/mbgl/style/expression/is_constant.cpp
+++ b/src/mbgl/style/expression/is_constant.cpp
@@ -20,7 +20,8 @@ bool isFeatureConstant(const Expression& expression) {
} else if (
name == "properties" ||
name == "geometry-type" ||
- name == "id"
+ name == "id" ||
+ name == "feature-state"
) {
return false;
} else if (0u == name.rfind(filter, 0u)) {