test
This commit is contained in:
@@ -11,6 +11,7 @@ import com.mogo.map.utils.ObjectUtils;
|
||||
import com.zhidaoauto.map.sdk.open.location.LocationClient;
|
||||
import com.zhidaoauto.map.sdk.open.location.LocationListener;
|
||||
import com.zhidaoauto.map.sdk.open.location.RTKAutopilotLocationBean;
|
||||
import com.zhidaoauto.map.sdk.open.query.LonLatPoint;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
@@ -140,10 +141,16 @@ public class ALocationClient implements IMogoLocationClient {
|
||||
if (locationToUpdate instanceof MogoLocation) {
|
||||
return;
|
||||
}
|
||||
if (locationToUpdate instanceof RTKAutopilotLocationBean) {
|
||||
RTKAutopilotLocationBean current = (RTKAutopilotLocationBean) locationToUpdate;
|
||||
// if (locationToUpdate instanceof RTKAutopilotLocationBean) {
|
||||
// RTKAutopilotLocationBean current = (RTKAutopilotLocationBean) locationToUpdate;
|
||||
// if (mClient != null) {
|
||||
// mClient.updateRTKAutoPilotLocation(current);
|
||||
// }
|
||||
// }
|
||||
if (locationToUpdate instanceof com.zhidaoauto.map.sdk.open.query.LonLatPoint) {
|
||||
LonLatPoint current = (LonLatPoint) locationToUpdate;
|
||||
if (mClient != null) {
|
||||
mClient.updateRTKAutoPilotLocation(current);
|
||||
mClient.updateLocation(current);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user