18034727885
2026-09-04 0635d28fe9c8cfe59eda6b077abf9abf665147e0
app/src/main/java/com/igo/user/ui/trip/MapTripFragment.kt
@@ -479,7 +479,7 @@
                isMyLocationEnabled = true
                uiSettings.isMyLocationButtonEnabled = false
                setOnMyLocationChangeListener {
                    Log.e(Const.Tag, "出租车:lat:" + it.latitude + ",lon:" + it.longitude)
                    Log.e(Const.Tag, "当前定位:lat:" + it.latitude + ",lon:" + it.longitude)
                    IGoApplication.setLocation(it.latitude, it.longitude)
//                IGoApplication.address = it.address
//                IGoApplication.cityCode = it.extras.getString("adcode")?:""
@@ -663,7 +663,7 @@
        hadLoopRefresh = true
        viewLifecycleOwner.lifecycleScope.launch {
            while (true) {
                delay(5000)
                delay(10_000)
                getDriverNum { _, data ->
                    val i = data?.optInt("number") ?: 0
                    val t = getString(R.string.当前附近有n辆车可用, i)