[map-sdk]地图白天样式还原
This commit is contained in:
@@ -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?)
|
||||
}
|
||||
@@ -2218,4 +2218,8 @@ class MapController(private var context: Context?, private val mMapView: IMapVie
|
||||
}
|
||||
}
|
||||
|
||||
override fun setHDTypeVisibile(type: IntArray?){
|
||||
mMapView.getMapEngine().setHDTypeVisibile(type)
|
||||
}
|
||||
|
||||
}
|
||||
@@ -19,7 +19,7 @@ object MapStyleHelper {
|
||||
private val TAG = javaClass.simpleName
|
||||
|
||||
//更新样式时版本+1
|
||||
val currentStyleVersion = 66
|
||||
val currentStyleVersion = 67
|
||||
|
||||
private var copyJob:Job? = null
|
||||
|
||||
|
||||
@@ -1523,5 +1523,9 @@ class MapAutoViewHelper(mapAutoView: MapAutoView) {
|
||||
mMapAutoView.getMapStyleParams()?.setVrAngleDefaultMode(mode)
|
||||
}
|
||||
|
||||
//设置显示高精元素
|
||||
fun setHDTypeVisibile(type: IntArray?){
|
||||
mMapAutoView.getMapController()?.setHDTypeVisibile(type)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user