diff options
author | Jesse Bounds <jesse@rebounds.net> | 2017-06-01 10:53:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-01 10:53:02 -0700 |
commit | 012e88cc9b069f62824d9072ca3ede6a3c37d04b (patch) | |
tree | 98a42c744598ca3930dcaee8f01dfdab410544d3 /platform/ios/CHANGELOG.md | |
parent | b2f277ac620cc41883dad8e06bb45458c18ffe72 (diff) | |
download | qtlocation-mapboxgl-012e88cc9b069f62824d9072ca3ede6a3c37d04b.tar.gz |
[ios] Make annotation view rotation alignment configurable (#9147)
This commit adds `rotatesWithMap` property on `MGLAnnotationView`. This
property, when set to `YES` fixes the annotation to a map such that view
follows map's rotation angle. This is useful when user wants to display
rotation-dependent annotations (e.g. sector lights).
Diffstat (limited to 'platform/ios/CHANGELOG.md')
-rw-r--r-- | platform/ios/CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/ios/CHANGELOG.md b/platform/ios/CHANGELOG.md index 7228a94649..c57063707a 100644 --- a/platform/ios/CHANGELOG.md +++ b/platform/ios/CHANGELOG.md @@ -26,6 +26,7 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT ### Annotations * Added a new initializer to `MGLAnnotationView` so that it is possible to create a new instance with an associated annotation object. ([#9029](https://github.com/mapbox/mapbox-gl-native/pull/9029)) +* Added a new `rotatesToMatchCamera` property to `MGLAnnotationView` that, when set to true, causes the annotation view to rotate along with the map's rotation angle giving the appearance that the annoation view is pinned to the map. ([#9147](https://github.com/mapbox/mapbox-gl-native/pull/9147)) * Fixed an issue causing a view-backed annotation to disappear immediately instead of animating when the annotation’s `coordinate` property is set to a value outside the current viewport. ([#8565](https://github.com/mapbox/mapbox-gl-native/pull/8565)) * Fixed an issue in which `MGLMapView` overrode the tint colors of its annotation views. ([#8789](https://github.com/mapbox/mapbox-gl-native/pull/8789)) * Fixed an issue causing annotation views to persist in the map’s annotation container view even after their associated annotations were removed. ([#9025](https://github.com/mapbox/mapbox-gl-native/pull/9025)) |