merge code

This commit is contained in:
qiji4215 2023-11-28 09:22:10 +08:00
parent fa4cf3d251
commit 32d3d1a76f
2 changed files with 21 additions and 1 deletions

View File

@ -24,6 +24,9 @@ import org.locationtech.jts.geom.Point
import org.oscim.core.GeoPoint
import java.lang.reflect.Field
/*
* 要素详情解析类及左侧提前显示内容解析说明
* */
class SignUtil {
companion object {
@ -796,6 +799,23 @@ class SignUtil {
list.add(TwoItemAdapterItem(title = "车道类型", text = getLaneType(data)))
}
//设施分离
DataCodeEnum.OMDB_LINK_SEPARATION.code -> {
list.add(TwoItemAdapterItem(title = "设施分离", text = when (data.properties["separation"]) {
"1" -> "坚固护栏"
"2" -> "非坚固护栏"
else -> ""
}))
}
//中央隔离带
DataCodeEnum.OMDB_LINK_MEDIAN.code -> {
list.add(TwoItemAdapterItem(title = "设施分离", text = when (data.properties["medianSurface"]) {
"0" -> "未铺设"
"1" -> "铺设"
"2" -> "混合"
else -> ""
}))
}
}
adapter.data = list
return adapter

2
vtm

@ -1 +1 @@
Subproject commit 30e94bcd06009bcb3f4c469ee7bb8062334d6124
Subproject commit 0596b02c53f3dad6dba98441820eb63667d9bd88