From 4134ce757c23a337fa1859c6794c75a0c7a4cc04 Mon Sep 17 00:00:00 2001 From: Saman Bemel-Benrud Date: Fri, 10 Apr 2020 10:21:24 -0700 Subject: [PATCH] export isExpressionFilter from spec (#9530) (cherry picked from commit 7ede7d07c5232959328b1d6bef3c32ffa6c4a8ab) --- src/style-spec/style-spec.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/style-spec/style-spec.js b/src/style-spec/style-spec.js index 66e039f9fc7..7bf17892353 100644 --- a/src/style-spec/style-spec.js +++ b/src/style-spec/style-spec.js @@ -69,7 +69,8 @@ import diff from './diff'; import ValidationError from './error/validation_error'; import ParsingError from './error/parsing_error'; import {StyleExpression, isExpression, createExpression, createPropertyExpression, normalizePropertyExpression, ZoomConstantExpression, ZoomDependentExpression, StylePropertyFunction} from './expression'; -import featureFilter from './feature_filter'; +import featureFilter, {isExpressionFilter} from './feature_filter'; + import convertFilter from './feature_filter/convert'; import Color from './util/color'; import {createFunction, isFunction} from './function'; @@ -82,6 +83,7 @@ import validateMapboxApiSupported from './validate_mapbox_api_supported'; const expression = { StyleExpression, isExpression, + isExpressionFilter, createExpression, createPropertyExpression, normalizePropertyExpression,