[map-sdk] 雨雪天气条件更新

This commit is contained in:
jiaguofeng
2024-03-06 10:35:43 +08:00
parent 1208b2dcb6
commit aec4f5eae5

View File

@@ -27,9 +27,12 @@ class WeatherController(mapAutoView: MapAutoView): IWeatherController {
// Set of rain weather conditions
val rainSet = setOf("小雨", "中雨", "大雨", "暴雨", "大暴雨", "特大暴雨", "")
// Set of snow weather conditions
val snowSet = setOf("小雪", "中雪", "大雪", "暴雪", "")
val snowSet = setOf("", "阵雪", "小雪", "中雪", "大雪", "暴雪", "小雪-中雪", "中雪-大雪", "大雪-暴")
// Set of cloudy weather conditions
val cloudySet = setOf("", "多云")
val cloudySet = setOf("", "多云" ,"小雨", "中雨", "大雨", "暴雨", "大暴雨", "特大暴雨", "",
"阵雨", "雷阵雨" ,"雷阵雨并伴有冰雹", "强阵雨", "强雷阵雨", "极端降雨", "毛毛雨/细雨", "小雨-中雨", "中雨-大雨",
"大雨-暴雨","暴雨-大暴雨","大暴雨-特大暴雨","雨雪天气","雨夹雪","阵雨夹雪","冻雨","","浓雾","强浓雾","大雾","特强浓雾")
private val mWeatherRepository by lazy { WeatherRepository() }
private var mLastUpdateTime: Long = 0