fix bug of car color and biz config upper case

This commit is contained in:
zhongchao
2022-09-26 15:00:41 +08:00
parent a3e71ce3f6
commit a690584760
17 changed files with 95 additions and 53 deletions

View File

@@ -677,7 +677,6 @@ public class AMapViewWrapper implements IMogoMapView,
@Override
public void changeMapViewAngle(int type) {
Log.d("XXXX", "--- 1 -----");
if (checkAMapView()) {
//mMapView.getMapAutoViewHelper().testMapViewAngle(type);
}

View File

@@ -116,6 +116,7 @@ public class AMapWrapper implements IMogoMap {
optionsArrayList.forEach((s, trackedObject) -> {
MarkerSimpleData markerOptions = ObjectUtils.fromTrafficData(trackedObject);
if (markerOptions != null) {
Log.i("EmArrow0926","markerOpt : " + markerOptions.toString());
markerOptionsArrayList.add(markerOptions);
}
});

View File

@@ -54,7 +54,6 @@ public class CustomMapApiBuilder implements IMogoMapApiBuilder {
@Override
public IMogoMapView getMapView(Context context) {
Log.d(TAG, "setDebugMode==true");
MapParams mapParams = MapParams.Companion.init();
mapParams.setDebugMode(false)
//todo 1-使用本地地图数据0-使用在线地图数据

View File

@@ -132,6 +132,8 @@ public class ObjectUtils {
markerOptions.setLon(trafficData.getLongitude());
if(trafficData.getColor()!=null && !trafficData.getColor().isEmpty()){
markerOptions.setColor(trafficData.getColor());
}else{
markerOptions.setColor("#00000000");
}
} catch (Exception e) {
e.printStackTrace();