fixed bug

This commit is contained in:
lixiaopeng
2020-12-07 10:41:09 +08:00
parent 82da081817
commit 4d22cdbf97

View File

@@ -545,7 +545,11 @@ public class TanluManager implements IMogoMarkerClickListener,
markerShowEntity.setMarkerLocation(markerLocation);
IMogoMarker mogoMarker = TanluServiceManager.getServiceApis().getMarkerService().drawMarker(markerShowEntity);
mogoMarker.setClickable(false);
if (mogoMarker != null) {
mogoMarker.setClickable(false);
} else {
Logger.e(TAG, "mogoMarker == null ");
}
//添加图片动画
Bitmap bitmap = BitmapFactory.decodeResource(mContext.getResources(), R.drawable.tanlu_circle_image, null);