[6.2.6][Fix]模型替换范围为Taxi乘客屏
This commit is contained in:
@@ -25,7 +25,7 @@ class V2XAiRoadEventMarker {
|
||||
.Builder(V2XConst.V2X_MARKER_OWNER, Level.MAP_MARKER)
|
||||
.longitude(entity.location.lon)
|
||||
.latitude(entity.location.lat)
|
||||
.scale(if (EventTypeEnumNew.TYPE_SOCKET_ROAD_SHIGU.poiType == entity.poiType && AppIdentityModeUtils.isTaxi(
|
||||
.scale(if (EventTypeEnumNew.TYPE_SOCKET_ROAD_SHIGU.poiType == entity.poiType && AppIdentityModeUtils.isTaxiPassenger(
|
||||
FunctionBuildConfig.appIdentityMode)) 0.6f else 1.0f)
|
||||
.icon3DRes(EventTypeEnumNew.getMarker3DRes(entity.poiType))
|
||||
.set3DMode(true)
|
||||
|
||||
@@ -58,7 +58,7 @@ public class V2XRoadEventMarker implements IV2XMarker<V2XRoadEventEntity> {
|
||||
.longitude(entity.getLocation().getLon())
|
||||
.latitude(entity.getLocation().getLat())
|
||||
.set3DMode(true)
|
||||
.scale(EventTypeEnumNew.TYPE_SOCKET_ROAD_SHIGU.getPoiType().equals(entity.getPoiType()) && AppIdentityModeUtils.isTaxi(
|
||||
.scale(EventTypeEnumNew.TYPE_SOCKET_ROAD_SHIGU.getPoiType().equals(entity.getPoiType()) && AppIdentityModeUtils.isTaxiPassenger(
|
||||
FunctionBuildConfig.appIdentityMode) ? 0.6f : 1.0f)
|
||||
.icon3DRes(EventTypeEnumNew.getMarker3DRes(entity.getPoiType())).build(),DEFAULT);
|
||||
if (point != null) {
|
||||
|
||||
@@ -740,7 +740,7 @@ enum class EventTypeEnumNew(
|
||||
TYPE_SOCKET_ROAD_SHIGONG.poiType -> R.raw.v2x_shigong_warning// 施工气泡
|
||||
TYPE_SOCKET_ROAD_JINGZHI.poiType -> R.raw.v2x_zhangai
|
||||
TYPE_SOCKET_ROAD_SHIGU.poiType -> {
|
||||
if (AppIdentityModeUtils.isTaxi(FunctionBuildConfig.appIdentityMode)) {
|
||||
if (AppIdentityModeUtils.isTaxiPassenger(FunctionBuildConfig.appIdentityMode)) {
|
||||
R.raw.v2x_shigu_sanjiaopai
|
||||
} else {
|
||||
R.raw.taxi_sanjiaopai
|
||||
|
||||
@@ -124,7 +124,7 @@ enum class TrafficTypeEnum(
|
||||
@JvmStatic
|
||||
fun getMarker3DRes(type: Int): Int {
|
||||
// Taxi和Bus使用不同的模型
|
||||
if (AppIdentityModeUtils.isTaxi(FunctionBuildConfig.appIdentityMode)) {
|
||||
if (AppIdentityModeUtils.isTaxiPassenger(FunctionBuildConfig.appIdentityMode)) {
|
||||
return when (type) {
|
||||
TYPE_TRAFFIC_ID_WEI_ZHI.type -> R.raw.traffic_xiankuang
|
||||
TYPE_TRAFFIC_ID_PEOPLE.type -> R.raw.taxi_traffic_people
|
||||
@@ -158,7 +158,7 @@ enum class TrafficTypeEnum(
|
||||
@JvmStatic
|
||||
fun getMarkerNight3DRes(type: Int): Int {
|
||||
// Taxi和Bus使用不同的模型
|
||||
if (AppIdentityModeUtils.isTaxi(FunctionBuildConfig.appIdentityMode)) {
|
||||
if (AppIdentityModeUtils.isTaxiPassenger(FunctionBuildConfig.appIdentityMode)) {
|
||||
return when (type) {
|
||||
TYPE_TRAFFIC_ID_WEI_ZHI.type -> R.raw.traffic_xiankuang
|
||||
TYPE_TRAFFIC_ID_PEOPLE.type -> R.raw.taxi_traffic_people
|
||||
|
||||
Reference in New Issue
Block a user