-
-
-
-
-
-
-
-
diff --git a/core/mogo-core-network/src/main/res/raw/daba.nt3d b/core/mogo-core-network/src/main/res/raw/daba.nt3d
deleted file mode 100644
index 4b2eafe50d..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/daba.nt3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/kache.nt3d b/core/mogo-core-network/src/main/res/raw/kache.nt3d
deleted file mode 100644
index 3e822240b5..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/kache.nt3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/motuoche.nt3d b/core/mogo-core-network/src/main/res/raw/motuoche.nt3d
deleted file mode 100644
index da9492887c..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/motuoche.nt3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/people.nt3d b/core/mogo-core-network/src/main/res/raw/people.nt3d
deleted file mode 100644
index 5866095c00..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/people.nt3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/qfpz.n3d b/core/mogo-core-network/src/main/res/raw/qfpz.n3d
deleted file mode 100644
index 3abf28fa94..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/qfpz.n3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/shexiangtou.nt3d b/core/mogo-core-network/src/main/res/raw/shexiangtou.nt3d
deleted file mode 100644
index 58520fd3d9..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/shexiangtou.nt3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/special_vehicle.nt3d b/core/mogo-core-network/src/main/res/raw/special_vehicle.nt3d
deleted file mode 100644
index 7ba4844ec4..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/special_vehicle.nt3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/stopline.nt3d b/core/mogo-core-network/src/main/res/raw/stopline.nt3d
deleted file mode 100644
index 5d28ae1f5f..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/stopline.nt3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/tachexiaoche.nt3d b/core/mogo-core-network/src/main/res/raw/tachexiaoche.nt3d
deleted file mode 100644
index 7ba4844ec4..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/tachexiaoche.nt3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/v2x_daolujiebing.nt3d b/core/mogo-core-network/src/main/res/raw/v2x_daolujiebing.nt3d
deleted file mode 100644
index 2e560d1169..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/v2x_daolujiebing.nt3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/v2x_daolujishui.nt3d b/core/mogo-core-network/src/main/res/raw/v2x_daolujishui.nt3d
deleted file mode 100644
index 9d35863567..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/v2x_daolujishui.nt3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/v2x_daolushigong.nt3d b/core/mogo-core-network/src/main/res/raw/v2x_daolushigong.nt3d
deleted file mode 100644
index f56cd6334f..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/v2x_daolushigong.nt3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/v2x_guzhangqiuzhu.nt3d b/core/mogo-core-network/src/main/res/raw/v2x_guzhangqiuzhu.nt3d
deleted file mode 100644
index a7eb5f45f1..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/v2x_guzhangqiuzhu.nt3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/v2x_jiaotongjiancha.nt3d b/core/mogo-core-network/src/main/res/raw/v2x_jiaotongjiancha.nt3d
deleted file mode 100644
index fd583da02f..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/v2x_jiaotongjiancha.nt3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/v2x_nongwu.nt3d b/core/mogo-core-network/src/main/res/raw/v2x_nongwu.nt3d
deleted file mode 100644
index c238a2d106..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/v2x_nongwu.nt3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/v2x_shigong_warning.nt3d b/core/mogo-core-network/src/main/res/raw/v2x_shigong_warning.nt3d
deleted file mode 100644
index 5df0d7a047..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/v2x_shigong_warning.nt3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/v2x_shigu.nt3d b/core/mogo-core-network/src/main/res/raw/v2x_shigu.nt3d
deleted file mode 100644
index 59889f955e..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/v2x_shigu.nt3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/v2x_shishilukuang.nt3d b/core/mogo-core-network/src/main/res/raw/v2x_shishilukuang.nt3d
deleted file mode 100644
index 7485fe445e..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/v2x_shishilukuang.nt3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/v2x_yongdu.nt3d b/core/mogo-core-network/src/main/res/raw/v2x_yongdu.nt3d
deleted file mode 100644
index b237c05a85..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/v2x_yongdu.nt3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/ziche.nt3d b/core/mogo-core-network/src/main/res/raw/ziche.nt3d
deleted file mode 100644
index 2020d08b91..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/ziche.nt3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/zixingche.nt3d b/core/mogo-core-network/src/main/res/raw/zixingche.nt3d
deleted file mode 100644
index 0cc50358f1..0000000000
Binary files a/core/mogo-core-network/src/main/res/raw/zixingche.nt3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/values-xhdpi-2560x1440/dimens.xml b/core/mogo-core-network/src/main/res/values-xhdpi-2560x1440/dimens.xml
deleted file mode 100644
index 0b095cc6d1..0000000000
--- a/core/mogo-core-network/src/main/res/values-xhdpi-2560x1440/dimens.xml
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
- 460px
- 460px
-
- 30px
- 130px
-
- 40px
- 320px
- 320px
- 20px
- 110px
- 40px
-
- 74px
- 92px
-
- 460px
- 140px
- 40px
- 30px
- 92px
- 44px
- 28px
-
- 30px
- 70px
-
- 138px
- 368px
- 60px
- 44px
-
-
- 280px
- 120px
- 20px
- 38px
- 50px
- 60px
-
-
-
\ No newline at end of file
diff --git a/core/mogo-core-network/src/main/res/values/color.xml b/core/mogo-core-network/src/main/res/values/color.xml
deleted file mode 100644
index b2c628bf52..0000000000
--- a/core/mogo-core-network/src/main/res/values/color.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
- #FFFFFF
- #4DFFFFFF
-
- #323C6F
-
- #FFFFFF
-
-
\ No newline at end of file
diff --git a/core/mogo-core-network/src/main/res/values/dimens.xml b/core/mogo-core-network/src/main/res/values/dimens.xml
deleted file mode 100644
index cc92f49987..0000000000
--- a/core/mogo-core-network/src/main/res/values/dimens.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-
-
- 300px
- 300px
-
- 20px
- 110px
-
- 40px
- 200px
- 200px
- 10px
- 80px
- 28px
-
- 46px
- 60px
-
- 300px
- 100px
- 40px
- 30px
- 20px
- 30px
- 18px
-
- 20px
- 50px
-
- 138px
- 368px
- 38px
- 33px
-
-
- 190px
- 76px
- 16px
- 24px
- 35px
- 38px
-
-
-
-
\ No newline at end of file
diff --git a/core/mogo-core-network/src/main/res/values/string.xml b/core/mogo-core-network/src/main/res/values/string.xml
deleted file mode 100644
index e618039a94..0000000000
--- a/core/mogo-core-network/src/main/res/values/string.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
- "不支持该视频。"
- 此文件不支持播放
-
-
- 近距视角
- 远距视角
-
\ No newline at end of file
diff --git a/core/mogo-core-network/src/main/res/values/styles.xml b/core/mogo-core-network/src/main/res/values/styles.xml
deleted file mode 100644
index d983a865a0..0000000000
--- a/core/mogo-core-network/src/main/res/values/styles.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/core/mogo-core-res/src/main/res/raw/selfbus.n3d b/core/mogo-core-res/src/main/res/raw/selfbus.n3d
deleted file mode 100644
index d897618b04..0000000000
Binary files a/core/mogo-core-res/src/main/res/raw/selfbus.n3d and /dev/null differ
diff --git a/core/mogo-core-network/src/main/res/raw/selfbus.n3d b/core/mogo-core-res/src/main/res/raw/xiaobache.nt3d
similarity index 89%
rename from core/mogo-core-network/src/main/res/raw/selfbus.n3d
rename to core/mogo-core-res/src/main/res/raw/xiaobache.nt3d
index d897618b04..158ebecbcc 100644
Binary files a/core/mogo-core-network/src/main/res/raw/selfbus.n3d and b/core/mogo-core-res/src/main/res/raw/xiaobache.nt3d differ
diff --git a/libraries/map-custom/src/main/java/com/mogo/map/impl/custom/AMapViewWrapper.java b/libraries/map-custom/src/main/java/com/mogo/map/impl/custom/AMapViewWrapper.java
index 0e7aec0f8f..9499e7bae8 100644
--- a/libraries/map-custom/src/main/java/com/mogo/map/impl/custom/AMapViewWrapper.java
+++ b/libraries/map-custom/src/main/java/com/mogo/map/impl/custom/AMapViewWrapper.java
@@ -727,6 +727,13 @@ public class AMapViewWrapper implements IMogoMapView,
}
}
+ @Override
+ public void changeCurrentIcon(int iconId) {
+ if (checkAMapView()) {
+ mMapView.getMapAutoViewHelper().getMyLocationStyle().myLocationIcon(iconId, true);
+ }
+ }
+
@Override
public long getTileId(double lon, double lat) {
return getMap().getUIController().getTileId(lon, lat);
@@ -875,8 +882,6 @@ public class AMapViewWrapper implements IMogoMapView,
@Override
public void onMapLoaded() {
Logger.i(TAG, "autoop--onMapLoaded: ");
- // TODO 这里只有小巴车才会替换自车模型
- //MapAutoApi.INSTANCE.getMyLocationStyle().myLocationIcon(R.raw.selfbus, true); //修改自车模型,未来需区分车的类型
mMapView.getMapAutoViewHelper().setRenderFrequency(true, 50);
MogoMapListenerHandler.getInstance().onMapLoaded();
mMapLoaded = true;
diff --git a/libraries/map-custom/src/main/java/com/mogo/map/impl/custom/uicontroller/AMapUIController.java b/libraries/map-custom/src/main/java/com/mogo/map/impl/custom/uicontroller/AMapUIController.java
index ab0c6cdd42..6cff141005 100644
--- a/libraries/map-custom/src/main/java/com/mogo/map/impl/custom/uicontroller/AMapUIController.java
+++ b/libraries/map-custom/src/main/java/com/mogo/map/impl/custom/uicontroller/AMapUIController.java
@@ -301,6 +301,13 @@ public class AMapUIController implements IMogoMapUIController {
}
}
+ @Override
+ public void changeCurrentIcon(int iconId) {
+ if (mClient != null) {
+ mClient.changeCurrentIcon(iconId);
+ }
+ }
+
@Override
public long getTileId(double lon, double lat) {
return MapAutoApi.INSTANCE.getTileID(lon, lat, 13); // 13为默认获取瓦片层级级别
diff --git a/libraries/mogo-map-api/src/main/java/com/mogo/map/uicontroller/IMogoMapUIController.java b/libraries/mogo-map-api/src/main/java/com/mogo/map/uicontroller/IMogoMapUIController.java
index bd1a293647..6973ebd20d 100644
--- a/libraries/mogo-map-api/src/main/java/com/mogo/map/uicontroller/IMogoMapUIController.java
+++ b/libraries/mogo-map-api/src/main/java/com/mogo/map/uicontroller/IMogoMapUIController.java
@@ -7,6 +7,7 @@ import android.view.View;
import android.view.animation.Interpolator;
import androidx.annotation.Nullable;
+import androidx.annotation.RawRes;
import com.mogo.eagle.core.data.map.MogoLatLng;
import com.mogo.map.marker.IMogoMarker;
@@ -245,6 +246,12 @@ public interface IMogoMapUIController {
*/
void changeMapViewAngle(int type);
+ /**
+ * 修改高精地图自车图标
+ * 传入资源ID
+ */
+ void changeCurrentIcon(@RawRes int iconId);
+
/**
* 获取瓦片id
*
diff --git a/libraries/mogo-map/src/main/java/com/mogo/map/MogoMapUIController.java b/libraries/mogo-map/src/main/java/com/mogo/map/MogoMapUIController.java
index 169ebf6378..2d74881993 100644
--- a/libraries/mogo-map/src/main/java/com/mogo/map/MogoMapUIController.java
+++ b/libraries/mogo-map/src/main/java/com/mogo/map/MogoMapUIController.java
@@ -345,6 +345,14 @@ public class MogoMapUIController implements IMogoMapUIController {
}
}
+ @Override
+ public void changeCurrentIcon(int iconId) {
+ initDelegate();
+ if (mDelegate != null) {
+ mDelegate.changeCurrentIcon(iconId);
+ }
+ }
+
@Override
public long getTileId(double lon, double lat) {
return mDelegate.getTileId(lon, lat);
diff --git a/modules/mogo-module-map/src/main/java/com/mogo/module/map/MapFragment.java b/modules/mogo-module-map/src/main/java/com/mogo/module/map/MapFragment.java
index 610ccd3d37..63d66d0575 100644
--- a/modules/mogo-module-map/src/main/java/com/mogo/module/map/MapFragment.java
+++ b/modules/mogo-module-map/src/main/java/com/mogo/module/map/MapFragment.java
@@ -216,4 +216,9 @@ public class MapFragment extends MvpFragment< MapView, MapPresenter >
public void changeMaoViewAngle(int type) {
mMogoMapView.getMap().getUIController().changeMapViewAngle(type);
}
+
+ @Override
+ public void changeCurrentIcon(int iconId) {
+ mMogoMapView.getMap().getUIController().changeCurrentIcon(iconId);
+ }
}
diff --git a/modules/mogo-module-map/src/main/java/com/mogo/module/map/MapFragmentProvider.java b/modules/mogo-module-map/src/main/java/com/mogo/module/map/MapFragmentProvider.java
deleted file mode 100644
index e126f1e32a..0000000000
--- a/modules/mogo-module-map/src/main/java/com/mogo/module/map/MapFragmentProvider.java
+++ /dev/null
@@ -1,94 +0,0 @@
-package com.mogo.module.map;
-
-import android.content.Context;
-import android.os.Bundle;
-import android.view.View;
-
-import androidx.annotation.NonNull;
-import androidx.fragment.app.Fragment;
-
-import com.alibaba.android.arouter.facade.annotation.Route;
-import com.mogo.map.listener.IMogoMapListener;
-import com.mogo.map.location.IMogoLocationListener;
-import com.mogo.map.marker.IMogoMarkerClickListener;
-import com.mogo.map.navi.IMogoNaviListener;
-import com.mogo.module.common.MogoModulePaths;
-import com.mogo.service.module.IMogoModuleLifecycle;
-import com.mogo.service.module.IMogoModuleProvider;
-import com.mogo.service.module.ModuleType;
-
-/**
- * @author congtaowang
- * @since 2019-12-24
- *
- * 描述
- */
-@Route( path = MogoModulePaths.PATH_MODULE_MAP )
-public class MapFragmentProvider implements IMogoModuleProvider {
-
- @Override
- public Fragment createFragment( Context context, Bundle data ) {
- return null;
- }
-
- @NonNull
- @Override
- public String getModuleName() {
- return MogoModulePaths.PATH_MODULE_MAP;
- }
-
- @Override
- public void init( Context context ) {
-
- }
-
- @Override
- public int getType() {
- return ModuleType.TYPE_MAP;
- }
-
-
- @Override
- public View createView( Context context ) {
- return null;
- }
-
- @Override
- public IMogoModuleLifecycle getCardLifecycle() {
- return null;
- }
-
- @Override
- public IMogoMapListener getMapListener() {
- return null;
- }
-
- @Override
- public IMogoNaviListener getNaviListener() {
- return null;
- }
-
- @Override
- public IMogoLocationListener getLocationListener() {
- return null;
- }
-
- @Override
- public IMogoMarkerClickListener getMarkerClickListener() {
- return null;
- }
-
- @Override
- public String getAppPackage() {
- return null;
- }
-
- @Override
- public String getAppName() {
- return null;
- }
-
- @Override
- public void onDestroy() {
- }
-}