summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzmiao <miao.zhao@mapbox.com>2020-03-05 18:31:13 +0200
committerzmiao <miao.zhao@mapbox.com>2020-03-05 19:47:06 +0200
commitbbb34492cd9790787a47b673b4d12cf697b9b277 (patch)
tree38a4df954de3cc9135266d0f837353c7c8bc730d
parent7bd86e26e61707476d2ad15be67af215bcd2d272 (diff)
downloadqtlocation-mapboxgl-upstream/zmiao-within-support-different-geojson.tar.gz
-rw-r--r--CHANGELOG.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6720610810..ab95815b5b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -26,6 +26,10 @@
But `within` expression need to accept an Object and then convert to GeoJSON object, now `toGeoJSON` method can convert both string and Object to GeoJSON.
+- [core] Fix `within` expression algorithm so that `false` value will be returned when point is on the boundary. Allow using different GeoJSON formats as arguments of `within` expression.([#16232](https://github.com/mapbox/mapbox-gl-native/pull/16232))
+
+ A valid GeoJSON argument should contain one of the following types: `"Feature"`, `"FeatureCollection"`,`"Polygon"` or `"MultiPolygon"`.
+
### 🧩 Architectural changes
- Changes to `MapSnapshotter` threading model ([#16268](https://github.com/mapbox/mapbox-gl-native/pull/16268))