1. 修改高德导航模块部分未命名dimens资源

2. 新增道路事件动态展示marker判断
This commit is contained in:
wangcongtao
2020-07-28 15:36:53 +08:00
parent b3f55b9128
commit f4ebdc8308
13 changed files with 170 additions and 147 deletions

View File

@@ -373,7 +373,11 @@ public class MapMarkerManager implements IMogoMarkerClickListener,
if ( mogoMarker == null || mogoMarker.isDestroyed() ) {
Logger.d( TAG, "draw road condition, sn = %s", sn );
try {
post2AddAndStartAnimation( markerShowEntity, i * 100L );
if ( DebugConfig.isRoadEventAnimated() ) {
post2AddAndStartAnimation( markerShowEntity, i * 100L );
} else {
mogoMarker = drawMapMarker( markerShowEntity, ServiceConst.MARKER_Z_INDEX_HIGH );
}
} catch ( Exception e ) {
e.printStackTrace();
}