From 47067ded70ab95971b1adea587cfc526b09dc62a Mon Sep 17 00:00:00 2001 From: Ramon Sadornil Date: Tue, 30 Aug 2022 13:05:01 +0300 Subject: [PATCH] Deprecate gesture settings increaseRotateThresholdWhenPinchingToZoom property --- CHANGELOG.md | 1 + plugin-gestures/src/main/res-public/values/public.xml | 3 ++- .../plugin/gestures/generated/GesturesSettingsInterface.kt | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e366a570b..9c20b6e94a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ Mapbox welcomes participation and contributions from everyone. # main ## Features ✨ and improvements 🏁 +* Deprecated gesture settings `increaseRotateThresholdWhenPinchingToZoom` property ## Bug fixes 🐞 * Fix scale bar truncated at high zoom levels near the poles. ([1620](https://github.com/mapbox/mapbox-maps-android/pull/1620)) diff --git a/plugin-gestures/src/main/res-public/values/public.xml b/plugin-gestures/src/main/res-public/values/public.xml index 38f2b55d75..8fad40dc9c 100644 --- a/plugin-gestures/src/main/res-public/values/public.xml +++ b/plugin-gestures/src/main/res-public/values/public.xml @@ -43,7 +43,8 @@ - + diff --git a/sdk-base/src/main/java/com/mapbox/maps/plugin/gestures/generated/GesturesSettingsInterface.kt b/sdk-base/src/main/java/com/mapbox/maps/plugin/gestures/generated/GesturesSettingsInterface.kt index 69d7b8e53a..dae01ac70b 100644 --- a/sdk-base/src/main/java/com/mapbox/maps/plugin/gestures/generated/GesturesSettingsInterface.kt +++ b/sdk-base/src/main/java/com/mapbox/maps/plugin/gestures/generated/GesturesSettingsInterface.kt @@ -91,6 +91,7 @@ interface GesturesSettingsInterface { /** * Whether rotate threshold increases when pinching to zoom. true by default. */ + @Deprecated(message = "This property has no effect") var increaseRotateThresholdWhenPinchingToZoom: Boolean /**