SelectionItem.get_rect
Create method get\rect in SelectionItem to gather all rect computing (plotting in MapView or mean computation in PlotModel) in a single place. Also create generic methods for SelectionItem add/update in PlotModel.
def get_rect(self) -> Union[tuple[int, int, int, int], list[tuple[int, int, int, int]]]
Edited by Colin Thomas