[Fix]优化地图定位回调判断是否需要更新逻辑

This commit is contained in:
renwj
2021-11-05 18:20:08 +08:00
parent 0a7ed0387e
commit b99fa18a48

View File

@@ -152,6 +152,10 @@ public class ALocationClient implements IMogoLocationClient {
if (!isNeedUpdate) {
return;
}
if (last != null) {
last.setLatitude(current.getLat());
last.setLongitude(current.getLon());
}
if (mClient != null) {
mClient.updateRTKAutoPilotLocation(current);
}