From cc952b723a0e21f2722fd7743429c46752f9d60e Mon Sep 17 00:00:00 2001 From: chenfufeng Date: Wed, 17 Jul 2024 17:50:32 +0800 Subject: [PATCH] =?UTF-8?q?[6.5.0][Opt]=E9=AB=98=E5=BE=B7=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE=E6=9C=AA=E6=98=BE=E7=A4=BA,=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E7=82=B9=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/mogo/eagle/core/function/view/TravelRealityView.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/TravelRealityView.kt b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/TravelRealityView.kt index 840894e5da..f52e698c5b 100644 --- a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/TravelRealityView.kt +++ b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/view/TravelRealityView.kt @@ -294,6 +294,7 @@ class TravelRealityView @JvmOverloads constructor( } private fun initAMapView() { + Log.d(TAG, "initAMapView") mAMap = mMapView?.map val mapStyleOptions = CustomMapStyleOptions() if (!mapStylePath.isNullOrEmpty() && !mapStyleExtraPath.isNullOrEmpty()) { @@ -335,6 +336,7 @@ class TravelRealityView @JvmOverloads constructor( } mAMap?.setOnMapLoadedListener { + Log.d(TAG, "地图加载完成!") isMapLoaded = true mAMap?.setCustomMapStyle(mapStyleOptions) // 实时路况图层关闭,必须添加在loaded结束之后,其他位置不生效