[6.1.0][Opt]数据为空也清除轨迹
This commit is contained in:
@@ -764,8 +764,8 @@ class OverMapView @JvmOverloads constructor(
|
||||
* 绘制站点轨迹线
|
||||
*/
|
||||
fun drawSitePolyline(coordinates: List<LatLng>?, bitmap: Bitmap) {
|
||||
if (coordinates.isNullOrEmpty()) return
|
||||
clearSitePolyline()
|
||||
if (coordinates.isNullOrEmpty()) return
|
||||
if (mAMap != null) {
|
||||
Message.obtain().apply {
|
||||
what = DRAW_SITE_LINE
|
||||
|
||||
Reference in New Issue
Block a user