抽离小地图访问到MoGoEagleEye.core.mogo-core-function-call

Signed-off-by: 董宏宇 <martindhy@gmail.com>
This commit is contained in:
董宏宇
2021-09-17 19:00:17 +08:00
parent 32c126fe17
commit 47670a7a4c
37 changed files with 58 additions and 19 deletions

View File

@@ -7,6 +7,7 @@ import android.content.Intent;
import androidx.localbroadcastmanager.content.LocalBroadcastManager;
import com.mogo.eagle.core.data.map.MogoLatLng;
import com.mogo.eagle.core.function.call.map.CallerSmpManager;
import com.mogo.module.common.entity.MarkerExploreWay;
import com.mogo.module.common.entity.V2XMessageEntity;
import com.mogo.module.common.entity.V2XPushMessageEntity;
@@ -167,9 +168,9 @@ public class TestPanelBroadcastReceiver extends BroadcastReceiver {
V2XServiceManager.getMoGoStatusManager().setSeekHelping(MODULE_NAME, true);
} else if (sceneType == 20) {// 小地图绘制线
List<MogoLatLng> coordinates = TestOnLineCarUtils.getTestCoordinates();
V2XServiceManager.getMogoSmallMapProvider().drawablePolyline(coordinates);
CallerSmpManager.drawablePolyline(coordinates);
} else if (sceneType == 21) {// 小地图清除绘制线
V2XServiceManager.getMogoSmallMapProvider().clearPolyline();
CallerSmpManager.clearPolyline();
}
}