[map-sdk]默认显示光圈

This commit is contained in:
wangyanjun
2023-12-26 16:05:25 +08:00
parent 1f29dd88c3
commit c0569cb32b
2 changed files with 2 additions and 2 deletions

View File

@@ -186,7 +186,7 @@ open class MapAutoView : FrameLayout, LonLatPointListener, ITraffic,ILockLocatio
val isWeatherEnable = typedArray.getBoolean(R.styleable.MapAutoView_isWeatherEnable, true)
val locationIcon3DRes = typedArray.getResourceId(R.styleable.MapAutoView_locationIcon3DRes, R.raw.car)
val locationIconRes = typedArray.getResourceId(R.styleable.MapAutoView_locationIconRes, R.mipmap.map_custom_self_car_night)
val isDisplayAnim = typedArray.getBoolean(R.styleable.MapAutoView_isDisplayAnim, false)
val isDisplayAnim = typedArray.getBoolean(R.styleable.MapAutoView_isDisplayAnim, true)
typedArray.recycle()
val mapStyleParams = MapStyleParams()
mapStyleParams.setZoom(zoom)

View File

@@ -101,7 +101,7 @@ class MapStyleParams: IMapStyleParams {
private var isWeatherEnable = false
//是否使用光圈
private var isDisplayAnim = false
private var isDisplayAnim = true
companion object {