[6.0.0] code opt and update sdk of aicloud , map , plus kotlin union

This commit is contained in:
zhongchao
2023-08-25 13:30:43 +08:00
parent eff64e72dc
commit b2aeb45b0e
71 changed files with 84 additions and 126 deletions

View File

@@ -26,8 +26,10 @@ class GDLocationClient private constructor() : AMapLocationListener,
IMogoGDLocationClient {
//声明LocationClient对象
private lateinit var mLocationClient: AMapLocationClient
@Volatile
private var mCityCode: String = ""
@Volatile
private var mapLocation: AMapLocation? = null

View File

@@ -48,7 +48,7 @@ class AMapPolylineWrapper(private val id: String, private val delegate: Polyline
}
override fun isVisible(): Boolean {
return delegate.isVisible() ?: false
return delegate.isVisible()
}
override fun setToTop() {