diff options
author | zmiao <miao.zhao@mapbox.com> | 2020-03-10 00:01:34 +0200 |
---|---|---|
committer | zmiao <miao.zhao@mapbox.com> | 2020-04-22 15:53:08 +0300 |
commit | e52f23795d130e3a6f19c39d90c61a707c3de46e (patch) | |
tree | 9693c271c5b390a668eab7ad81a2a21fdb67f3bb /include/mbgl/style/expression/expression.hpp | |
parent | 78b09885253f534efceab96e93dd66ef0923cd74 (diff) | |
download | qtlocation-mapboxgl-e52f23795d130e3a6f19c39d90c61a707c3de46e.tar.gz |
[core] Introduce distance expression
Add distance unit choices
Fix cmake and add license
Add support for LineString Features
Add template to geometry helper function
Only support line and point
Rename geometry_within.cpp hpp file to geometry_util.cpp .hpp
Remove incorrect indexFilter, fix pointSetsDistance
Fix distance expression
Diffstat (limited to 'include/mbgl/style/expression/expression.hpp')
-rw-r--r-- | include/mbgl/style/expression/expression.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mbgl/style/expression/expression.hpp b/include/mbgl/style/expression/expression.hpp index e522821185..51cc3b0f15 100644 --- a/include/mbgl/style/expression/expression.hpp +++ b/include/mbgl/style/expression/expression.hpp @@ -169,7 +169,8 @@ enum class Kind : int32_t { NumberFormat, ImageExpression, In, - Within + Within, + Distance }; class Expression { |