[RoutingOpt]修正车前引导线拖尾问题

[RouterOpt]优化代码逻辑
This commit is contained in:
renwj
2022-04-15 19:37:07 +08:00
parent f184dce4a2
commit 14d32eef0a
16 changed files with 472 additions and 240 deletions

View File

@@ -148,7 +148,7 @@ class MoGoMapDataCollectProvider : IMoGoMapDataCollectProvider, OnTaskListener,
}
}
override fun onLocationChanged(location: MogoLocation?) {
override fun onLocationChanged(location: MogoLocation?, from: Int) {
location ?: return
executor.get()?.updateLocation(
location.longitude,

View File

@@ -162,7 +162,7 @@ public class SmallMapDirectionView
@Override
public void onLocationChanged(@Nullable MogoLocation location) {
public void onLocationChanged(@org.jetbrains.annotations.Nullable MogoLocation location, int from) {
if (location == null) {
return;
}