[6.5.0] fix bug of roam

This commit is contained in:
EmArrow
2024-07-03 20:18:55 +08:00
parent de4d758930
commit 3d0c70cb59
18 changed files with 81 additions and 91 deletions

View File

@@ -181,9 +181,6 @@ class MapView(context: Context, private val mMapStyleParams: IMapStyleParams, pr
}
}
override fun getMapEngine(): MapEngine {
return mMapEngine
}
@@ -229,7 +226,7 @@ class MapView(context: Context, private val mMapStyleParams: IMapStyleParams, pr
mITraffic = null
}
//surfaceview截屏
// surfaceView截屏
private fun createBitmapFromGLSurface(x: Int, y: Int, w: Int, h: Int, gl: GL10): Bitmap? {
val bitmapBuffer = IntArray(w * h)
val bitmapSource = IntArray(w * h)
@@ -256,10 +253,6 @@ class MapView(context: Context, private val mMapStyleParams: IMapStyleParams, pr
return Bitmap.createBitmap(bitmapSource, w, h, Bitmap.Config.ARGB_8888)
}
fun setMapController(mMapController: IMapController?) {
this.mMapController = mMapController
}
@@ -1231,7 +1224,6 @@ class MapView(context: Context, private val mMapStyleParams: IMapStyleParams, pr
//设置刷新帧率
override fun setRenderFps(fps: Int) {
m_FPS = fps
}
//设置刷新帧率