[map-sdk]地图白天样式还原

This commit is contained in:
wangyanjun
2023-11-29 18:26:20 +08:00
parent 55f4130ba2
commit c3c30d6cea
126 changed files with 29 additions and 19 deletions

View File

@@ -474,4 +474,6 @@ interface IMapController {
fun setMapCenterBlur(isEnable: Boolean, color: String?, starDis: Float?, endDis: Float?, density: Float?)
fun setStreetLightEffectIsEnable(isEnable: Boolean)
fun setHDTypeVisibile(type: IntArray?)
}

View File

@@ -2218,4 +2218,8 @@ class MapController(private var context: Context?, private val mMapView: IMapVie
}
}
override fun setHDTypeVisibile(type: IntArray?){
mMapView.getMapEngine().setHDTypeVisibile(type)
}
}

View File

@@ -19,7 +19,7 @@ object MapStyleHelper {
private val TAG = javaClass.simpleName
//更新样式时版本+1
val currentStyleVersion = 66
val currentStyleVersion = 67
private var copyJob:Job? = null

View File

@@ -1523,5 +1523,9 @@ class MapAutoViewHelper(mapAutoView: MapAutoView) {
mMapAutoView.getMapStyleParams()?.setVrAngleDefaultMode(mode)
}
//设置显示高精元素
fun setHDTypeVisibile(type: IntArray?){
mMapAutoView.getMapController()?.setHDTypeVisibile(type)
}
}