From 4a5110b5de57aed19ae84125537583c5b0ae1b52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=AE=8F=E5=AE=87?= Date: Mon, 28 Jun 2021 15:45:40 +0800 Subject: [PATCH] Complete small map draw line and remove line --- .idea/runConfigurations.xml | 1 + config.gradle | 2 +- .../com/mogo/commons/AbsMogoApplication.java | 10 +- .../common/entity/V2XMessageEntity.java | 1 + .../small/map/SmallMapDirectionView.java | 242 ++++++++++++------ .../module/small/map/SmallMapFragment.java | 18 ++ .../module/small/map/SmallMapProvider.java | 13 +- .../map/view/ISmallMapDirectionView.java | 22 ++ .../module_small_map_view_dir_end.png | Bin 0 -> 604 bytes .../module_small_map_view_dir_start.png | Bin 0 -> 601 bytes .../module_small_map_view_end.png | Bin 0 -> 4743 bytes .../module_small_map_view_start.png | Bin 0 -> 4166 bytes .../res/layout/module_small_map_fragment.xml | 1 + .../main/res/layout/module_small_map_view.xml | 4 + .../mogo/module/v2x/V2XServiceManager.java | 8 + .../receiver/TestPanelBroadcastReceiver.java | 7 +- .../module/v2x/utils/TestOnLineCarUtils.java | 29 ++- .../src/main/res/raw/test_coordinates.json | 54 ++++ .../src/main/res/raw/test_coordinates2.json | 54 ++++ .../service/smp/IMogoSmallMapProvider.java | 9 +- 20 files changed, 368 insertions(+), 107 deletions(-) create mode 100644 modules/mogo-module-smp/src/main/java/com/mogo/module/small/map/view/ISmallMapDirectionView.java create mode 100644 modules/mogo-module-smp/src/main/res/drawable-xhdpi-2560x1440/module_small_map_view_dir_end.png create mode 100644 modules/mogo-module-smp/src/main/res/drawable-xhdpi-2560x1440/module_small_map_view_dir_start.png create mode 100644 modules/mogo-module-smp/src/main/res/drawable-xhdpi-2560x1440/module_small_map_view_end.png create mode 100644 modules/mogo-module-smp/src/main/res/drawable-xhdpi-2560x1440/module_small_map_view_start.png create mode 100644 modules/mogo-module-v2x/src/main/res/raw/test_coordinates.json create mode 100644 modules/mogo-module-v2x/src/main/res/raw/test_coordinates2.json diff --git a/.idea/runConfigurations.xml b/.idea/runConfigurations.xml index 7f68460d8b..e497da9998 100644 --- a/.idea/runConfigurations.xml +++ b/.idea/runConfigurations.xml @@ -3,6 +3,7 @@