[6.4.0][视角切换] 优化道路事件触发时,视角切换导致的卡顿
This commit is contained in:
@@ -283,7 +283,7 @@ class MoGoVisualAngleChangeProvider: IMoGoVisualAngleChangeProvider {
|
||||
val car = if (isGps) CallerChassisLocationWGS84ListenerManager.getChassisLocationWGS84() else CallerChassisLocationGCJ02ListenerManager.getChassisLocationGCJ02()
|
||||
val rotateAngle = MapAutoApi.getAngle(car.longitude, car.latitude, target.target.poi_lon, target.target.poi_lat)
|
||||
Log.d(TAG, "angle->:$rotateAngle")
|
||||
it.animateTo(0.0 ,0.0,1f, -rotateAngle,11.5f,28f,3000,target.target.isGps)
|
||||
it.animateTo(0.0 ,0.0,1f, -rotateAngle,11.5f,12f,3000,target.target.isGps)
|
||||
}
|
||||
} else {
|
||||
if (target.target is Default && previous != null && (previous.target is RoadEvent)) {
|
||||
|
||||
Reference in New Issue
Block a user