[android] #5106 - add check for destroyed map view for addMarker()
This commit is contained in:
committed by
Brad Leege
parent
d4b3d75700
commit
9f9b310a2f
@@ -1021,6 +1021,9 @@ public class MapView extends FrameLayout {
|
||||
}
|
||||
|
||||
long addMarker(@NonNull Marker marker) {
|
||||
if(mDestroyed){
|
||||
return 0l;
|
||||
}
|
||||
return mNativeMapView.addMarker(marker);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user