From 5bc93b3bc4bf488db527bbaf1e2eb098242e2a91 Mon Sep 17 00:00:00 2001 From: chenfufeng Date: Mon, 5 Jun 2023 18:28:00 +0800 Subject: [PATCH] =?UTF-8?q?[3.2.0][Fix]=E5=85=A8=E8=A7=88=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE=E8=B5=B7=E7=82=B9=E9=A1=BB=E6=B7=B1=E6=8B=B7=E8=B4=9D?= =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/mogo/eagle/core/function/smp/MarkerDrawerManager.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/smp/MarkerDrawerManager.kt b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/smp/MarkerDrawerManager.kt index ac07806e88..2407e41aa6 100644 --- a/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/smp/MarkerDrawerManager.kt +++ b/core/function-impl/mogo-core-function-map/src/main/java/com/mogo/eagle/core/function/smp/MarkerDrawerManager.kt @@ -135,7 +135,7 @@ object MarkerDrawerManager { if (routePoints.isNotEmpty()) { //基础点 val baseLatLng = routePoints[0] - newPoints.add(baseLatLng) + newPoints.add(LatLng(baseLatLng.latitude, baseLatLng.longitude)) var baseDiffDis = CoordinateUtils.calculateLineDistance( realLon, realLat, baseLatLng.longitude, baseLatLng.latitude ) // lon,lat, prelon, prelat