summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzmiao <miao.zhao@mapbox.com>2020-04-22 12:25:51 +0300
committerzmiao <miao.zhao@mapbox.com>2020-04-22 12:25:51 +0300
commitaa2868e356c7a8354f8e5a65664a2f55aff8074f (patch)
tree527fed35c79a9a9ee2ad4b0fe46161275b5abfb7
parentd2c08b8ba35806805d9831ca0a48392ee530f4a0 (diff)
downloadqtlocation-mapboxgl-upstream/zmiao-distance-expression.tar.gz
-rw-r--r--CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7fb4f80bfb..9e589502c1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,12 @@
Default minimum tile update interval value is `Duration::zero()`.
+- [core] Indroduce `distance` expression. ([#16397](https://github.com/mapbox/mapbox-gl-native/pull/16397))
+
+ The `distance` expression returns the shortest distance between two geometries. The returned value can be consumed as an input into another expression for changing a paint or layout property or filtering features by distance.
+
+ Currently, the `distance` expression supports `Point`, `MultiPoint`, `LineString`, `MultiLineString` geometry types.
+
## maps-v1.6.0-rc.1
### ✨ New features