summaryrefslogtreecommitdiff
path: root/platform/macos/CHANGELOG.md
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2017-02-09 13:49:04 -0800
committerFabian Guerra Soto <fabian.guerra@mapbox.com>2017-02-09 16:49:04 -0500
commit272dc3f6a91ee1f0734c6642d610366f4396ec93 (patch)
tree9c5f89949ea38cd27cbc1c2eff89109e4c3a40c9 /platform/macos/CHANGELOG.md
parentb6e5edc26844df6a5f1f6e34881826828d36ce6a (diff)
downloadqtlocation-mapboxgl-272dc3f6a91ee1f0734c6642d610366f4396ec93.tar.gz
Delegate method to restrict movement (#5584)
* [ios, macos] Added delegate method to restrict movement Added a way for the delegate to restrict where the user can move within the map using gestures. Fixes #2457. * [ios] Added support to restrict movement in pinch/rotate gestures * [ios] Added support to restrict movement in double tap/quick zoom/two finger drag gestures * [ios] fixed camera reset before two finger drag gesture is complete * [ios] fixed camera comparison in double tap gestures * [ios] Changelog update * [macos] Changelog updated * [ios, macos] Changelog cleanup * [ios, macos] Added documentation to clarify performance impact * [ios] clarified variable name * [ios] blocking gestures implementation changed to a predictive approach * [ios] gesture delegate methods refactoring * [ios] Removed duplicated methods, improved code readability * [ios] code refactoring to clarify the conditions to execute a gesture
Diffstat (limited to 'platform/macos/CHANGELOG.md')
-rw-r--r--platform/macos/CHANGELOG.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/macos/CHANGELOG.md b/platform/macos/CHANGELOG.md
index eb06c36e36..dc2c93a64a 100644
--- a/platform/macos/CHANGELOG.md
+++ b/platform/macos/CHANGELOG.md
@@ -34,6 +34,7 @@
* Fixed an issue where translucent point annotations along tile boundaries would be drawn darker than expected. ([#6832](https://github.com/mapbox/mapbox-gl-native/pull/6832))
* Fixed flickering that occurred when panning past the antimeridian. ([#7574](https://github.com/mapbox/mapbox-gl-native/pull/7574))
+* Added a method to MGLMapViewDelegate, `-mapView:shouldChangeFromCamera:toCamera:`, that you can implement to restrict which parts the user can navigate to using gestures. ([#5584](https://github.com/mapbox/mapbox-gl-native/pull/5584))
* Added a `MGLDistanceFormatter` class for formatting geographic distances. ([#7888](https://github.com/mapbox/mapbox-gl-native/pull/7888))
## 0.3.1