[3.2.0][Opt]移除无用的日志
This commit is contained in:
@@ -744,7 +744,6 @@ class OverMapView @JvmOverloads constructor(
|
||||
Message.obtain().apply {
|
||||
what = DRAW_SITE_LINE
|
||||
obj = Pair(coordinates, bitmap)
|
||||
Log.d("cff", "发送绘制站点轨迹!")
|
||||
nonFrequentHandler?.sendMessage(this)
|
||||
}
|
||||
}
|
||||
@@ -756,7 +755,6 @@ class OverMapView @JvmOverloads constructor(
|
||||
fun clearSitePolyline() {
|
||||
Message.obtain().apply {
|
||||
what = CLEAR_SITE_POLYLINE
|
||||
Log.d("cff", "发送清除站点轨迹!")
|
||||
nonFrequentHandler?.sendMessage(this)
|
||||
}
|
||||
}
|
||||
@@ -976,7 +974,6 @@ class OverMapView @JvmOverloads constructor(
|
||||
}
|
||||
|
||||
private fun realDrawSitePolyline(coordinates: List<LatLng>, bitmap: Bitmap) {
|
||||
Log.d("cff", "绘制站点线!!!")
|
||||
val textureList = arrayListOf<BitmapDescriptor>()
|
||||
textureList.add(BitmapDescriptorFactory.fromBitmap(bitmap))
|
||||
val texIndexList = arrayListOf<Int>()
|
||||
@@ -1009,7 +1006,6 @@ class OverMapView @JvmOverloads constructor(
|
||||
}
|
||||
|
||||
private fun realClearSitePolyline() {
|
||||
Log.d("cff", "清除站点线!!!")
|
||||
mSitePolyline?.points = emptyList()
|
||||
}
|
||||
|
||||
@@ -1188,7 +1184,6 @@ class OverMapView @JvmOverloads constructor(
|
||||
super.handleMessage(msg)
|
||||
when (msg.what) {
|
||||
DRAW_SITE_LINE -> {
|
||||
Log.d("cff", "准备真正执行绘制站点线")
|
||||
removeMessages(DRAW_SITE_LINE)
|
||||
// 绘制站点轨迹线时停止绘制全局轨迹,降低性能损耗
|
||||
MarkerDrawerManager.isStopCalculate = true
|
||||
@@ -1219,7 +1214,6 @@ class OverMapView @JvmOverloads constructor(
|
||||
}
|
||||
}
|
||||
CLEAR_SITE_POLYLINE -> {
|
||||
Log.d("cff", "准备真正执行清除站点线")
|
||||
removeMessages(CLEAR_SITE_POLYLINE)
|
||||
MarkerDrawerManager.isStopCalculate = false
|
||||
realClearSitePolyline()
|
||||
|
||||
Reference in New Issue
Block a user