[fea]
[ai+高精地图]
This commit is contained in:
yangyakun
2025-04-22 18:24:32 +08:00
parent 45bf1ebb33
commit 5cb104a709
217 changed files with 3554 additions and 66 deletions

View File

@@ -12,6 +12,7 @@ import com.mogo.eagle.core.function.api.autopilot.IMoGoChassisStatesListener
import com.mogo.eagle.core.function.call.autopilot.CallerChassisLocationWGS84ListenerManager
import com.mogo.eagle.core.function.call.autopilot.CallerChassisStatesListenerManager
import com.mogo.eagle.core.function.call.map.CallerMapUIServiceManager
import com.mogo.eagle.core.widget.media.video.TextureVideoViewOutlineProvider
import com.mogo.map.MogoMap
import com.mogo.map.MogoMapView
import com.mogo.map.overlay.line.Polyline
@@ -19,6 +20,7 @@ import com.mogo.map.overlay.point.Point
import com.mogo.map.overlay.proxy.line.IMapPolylineOverlay
import com.mogo.map.overlay.proxy.point.IMapPointOverlay
import com.mogo.map.uicontroller.IMogoMapUIController
import me.jessyan.autosize.utils.AutoSizeUtils
import kotlin.properties.Delegates
@@ -141,4 +143,10 @@ 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
}
}