summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikko Pulkki <mikko.pulkki@mapbox.com>2020-04-30 11:42:44 +0300
committerMikko Pulkki <mikko.pulkki@mapbox.com>2020-04-30 20:03:54 +0300
commit974b11e07eaa72e732d644e0f73d0057d942a589 (patch)
tree0d912c3cb03bd7b8d54460c59f93d2c3d9d0c94e
parentbcbc5a7a8f6a4403e5c31c6e19558c4142833bf9 (diff)
downloadqtlocation-mapboxgl-upstream/mpulkki-camera-api.tar.gz
-rw-r--r--CHANGELOG.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ea3772200f..47623a22d4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,10 @@
- [core] Add support for `Polygon`, `MultiPolygon` geometry types in `distance` expression. ([#16446](https://github.com/mapbox/mapbox-gl-native/pull/16446))
+- [core] Introduce a new API for controlling the camera ([#16419]https://github.com/mapbox/mapbox-gl-native/pull/16419)
+
+ Functions `Map::getFreeCameraOptions()` and `Map::setFreeCameraOptions(options)` provides an alternative way of accessing and modifying properties of the underlying camera entity. The API allows the user to treat the camera as a more traditional 3D object by modifying its position and orientation directly as opposed to setting the state implicitly by using `CameraOptions`. Both APIs are fully compatible with each other.
+
### 🐞 Bug fixes
- [core][tile mode] Labels priority fixes ([#16432](https://github.com/mapbox/mapbox-gl-native/pull/16432))