From c5e6dae9e86f559e7273943649a6adfc1ee6d05e Mon Sep 17 00:00:00 2001 From: chenfufeng Date: Mon, 8 May 2023 16:39:38 +0800 Subject: [PATCH] =?UTF-8?q?[3.2.0][Opt]=E8=B0=83=E6=95=B4=E9=AB=98?= =?UTF-8?q?=E5=BE=B7=E5=9C=B0=E5=9B=BE=E8=A7=86=E8=A7=92?= 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 db29213092..e0c5bb8a82 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 @@ -833,7 +833,7 @@ class OverMapView @JvmOverloads constructor( } if (!isOnlyCarLocation) { - val cameraPosition = CameraPosition.Builder().target(LatLng(mLocation!!.latitude, mLocation!!.longitude)).tilt(mTilt).build() + val cameraPosition = CameraPosition.Builder().tilt(mTilt).build() //第二个参数为四周留空宽度 mAMap!!.moveCamera( CameraUpdateFactory.newLatLngBoundsRect(