[android] - when removing out of viewport MarkerViews keep reference to MapboxMap to be able to update the underlying Marker. (#8064)
This commit is contained in:
@@ -474,7 +474,6 @@ public class MarkerViewManager implements MapView.OnMapChangedListener {
|
||||
if (adapter.getMarkerClass().equals(marker.getClass())) {
|
||||
adapter.prepareViewForReuse(marker, convertView);
|
||||
adapter.releaseView(convertView);
|
||||
marker.setMapboxMap(null);
|
||||
iterator.remove();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user