From 40f9ac00ec5e4d6363450d1c8e0b0937cc0b1de4 Mon Sep 17 00:00:00 2001 From: liugl <liugl@sinata.cn> Date: 星期四, 14 一月 2021 10:50:18 +0800 Subject: [PATCH] 1。4:处理预约单导致串单的问题 隐藏预约单 --- app/src/main/java/com/okgoincar/base/AMapKit.kt | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/okgoincar/base/AMapKit.kt b/app/src/main/java/com/okgoincar/base/AMapKit.kt index c07a122..d2dc105 100644 --- a/app/src/main/java/com/okgoincar/base/AMapKit.kt +++ b/app/src/main/java/com/okgoincar/base/AMapKit.kt @@ -33,8 +33,8 @@ //设置为高精度定位模式 // mLocationOption.isNeedAddress = true mLocationOption.interval = 5000 - mLocationOption.locationMode = AMapLocationClientOption.AMapLocationMode.Hight_Accuracy -// mLocationOption.locationMode = AMapLocationClientOption.AMapLocationMode.Device_Sensors +// mLocationOption.locationMode = AMapLocationClientOption.AMapLocationMode.Hight_Accuracy + mLocationOption.locationMode = AMapLocationClientOption.AMapLocationMode.Device_Sensors //设置定位参数 mlocationClient.setLocationOption(mLocationOption) // 此方法为每隔固定时间会发起一次定位请求,为了减少电量消耗或网络流量消耗, -- Gitblit v1.7.1