[8.0.0]
[fix] [地图圆角]
This commit is contained in:
@@ -24,7 +24,7 @@ import me.jessyan.autosize.utils.AutoSizeUtils
|
||||
import kotlin.properties.Delegates
|
||||
|
||||
|
||||
class MapBizView(context: Context?, attrs: AttributeSet?) : MogoMapView(context, attrs),
|
||||
open class MapBizView(context: Context?, attrs: AttributeSet?) : MogoMapView(context, attrs),
|
||||
IMoGoChassisLocationWGS84Listener, IMoGoChassisStatesListener, LifecycleObserver {
|
||||
|
||||
companion object {
|
||||
@@ -143,10 +143,4 @@ class MapBizView(context: Context?, attrs: AttributeSet?) : MogoMapView(context,
|
||||
super.onDestroy()
|
||||
}
|
||||
|
||||
override fun onSizeChanged(w: Int, h: Int, oldw: Int, oldh: Int) {
|
||||
super.onSizeChanged(w, h, oldw, oldh)
|
||||
this.outlineProvider = TextureVideoViewOutlineProvider(AutoSizeUtils.dp2px(context,36f).toFloat())
|
||||
this.clipToOutline = true
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user