mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-24 07:34:22 +02:00
Improved DEM downloads handling logic
This commit is contained in:
@ -1147,3 +1147,19 @@ void MapView::fitContentToSize()
|
||||
|
||||
centerOn(contentCenter());
|
||||
}
|
||||
|
||||
RectC MapView::boundingRect() const
|
||||
{
|
||||
RectC rect;
|
||||
|
||||
if (_showTracks)
|
||||
rect |= _tr;
|
||||
if (_showRoutes)
|
||||
rect |= _rr;
|
||||
if (_showWaypoints)
|
||||
rect |= _wr;
|
||||
if (_showAreas)
|
||||
rect |= _ar;
|
||||
|
||||
return rect;
|
||||
}
|
||||
|
Reference in New Issue
Block a user