[6.3.0][Opt]taxi乘客屏默认开启天气效果
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
android:id="@+id/mapBizView"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
app:isWeatherEnable="false"
|
||||
app:isWeatherEnable="true"
|
||||
app:default_perspective="MAP_STYLE_VR_SKY_BOX"
|
||||
app:styleMode="MAP_STYLE_DAY_VR_TAXI" />
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
android:id="@+id/mapBizView"
|
||||
app:styleMode="MAP_STYLE_DAY_VR_TAXI"
|
||||
app:default_perspective="MAP_STYLE_VR_SKY_BOX"
|
||||
app:isWeatherEnable="false"
|
||||
app:isWeatherEnable="true"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
|
||||
@@ -763,10 +763,8 @@ internal class SOPSettingView @JvmOverloads constructor(
|
||||
}
|
||||
it.layoutParams = params
|
||||
it.setOnCheckedChangeListener { _, isChecked ->
|
||||
CallerMapUIServiceManager.getMapUIController()?.setWeatherEnable(isChecked)
|
||||
CallerTelematicManager.sendMsgToAllClients(TelematicConstant.WEATHER_SWITCH_STATUS, (if (isChecked) "1" else "0").toByteArray())
|
||||
}
|
||||
CallerMapUIServiceManager.getMapUIController()?.setWeatherEnable(true)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user