From 5b7b0a280305b2ae7f1b6e7d7838677febd6d4ed Mon Sep 17 00:00:00 2001 From: chenfufeng Date: Tue, 19 Mar 2024 15:32:54 +0800 Subject: [PATCH] =?UTF-8?q?[6.3.0][Fix]=E9=9A=90=E8=97=8F=E9=AB=98?= =?UTF-8?q?=E5=BE=B7=E5=9C=B0=E5=9B=BE=E7=BC=A9=E6=94=BE=E6=8E=A7=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/mogo/eagle/core/function/view/OverMapView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/OverMapView.kt b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/OverMapView.kt index 82a3685578..e39d2b3223 100644 --- a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/OverMapView.kt +++ b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/OverMapView.kt @@ -453,6 +453,7 @@ class OverMapView @JvmOverloads constructor( } // 实时路况图层关闭,必须添加在loaded结束之后,其他位置不生效 mAMap?.isTrafficEnabled = false + mAMap?.uiSettings?.isZoomControlsEnabled = false mAMap?.showBuildings(true) mAMap?.animateCamera(CameraUpdateFactory.changeTilt(mTilt)) } @@ -506,7 +507,6 @@ class OverMapView @JvmOverloads constructor( uiSettings.isZoomControlsEnabled = false //所有手势 uiSettings.setAllGesturesEnabled(true) - uiSettings.isZoomControlsEnabled = false //隐藏指南针 uiSettings.isCompassEnabled = false //设置倾斜手势是否可用。