1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 11:45:53 +01:00

Fixed llBounds() functions with broken signatures

This commit is contained in:
Martin Tůma 2023-09-25 18:20:37 +02:00
parent 0531389cd8
commit b123981dde
5 changed files with 5 additions and 5 deletions

View File

@ -14,7 +14,7 @@ public:
QString name() const {return QString();} QString name() const {return QString();}
QRectF bounds(); QRectF bounds();
RectC llBounds(const Projection &) {return OSM::BOUNDS;} RectC llBounds() {return OSM::BOUNDS;}
qreal resolution(const QRectF &rect); qreal resolution(const QRectF &rect);
int zoom() const {return _zoom;} int zoom() const {return _zoom;}

View File

@ -19,7 +19,7 @@ public:
QString name() const {return _name;} QString name() const {return _name;}
QRectF bounds(); QRectF bounds();
RectC llBounds(const Projection &) {return _bounds;} RectC llBounds() {return _bounds;}
qreal resolution(const QRectF &rect); qreal resolution(const QRectF &rect);
int zoom() const {return _zoom;} int zoom() const {return _zoom;}

View File

@ -20,7 +20,7 @@ public:
QString name() const {return _name;} QString name() const {return _name;}
QRectF bounds(); QRectF bounds();
RectC llBounds(const Projection &) {return _wms->bbox();} RectC llBounds() {return _wms->bbox();}
int zoom() const {return _zoom;} int zoom() const {return _zoom;}
void setZoom(int zoom); void setZoom(int zoom);

View File

@ -106,7 +106,7 @@ QRectF WMTSMap::bounds()
return lb.isValid() ? lb & tb : tb; return lb.isValid() ? lb & tb : tb;
} }
RectC WMTSMap::llBounds(const Projection &) RectC WMTSMap::llBounds()
{ {
if (_wmts->bbox().isValid()) if (_wmts->bbox().isValid())
return _wmts->bbox(); return _wmts->bbox();

View File

@ -20,7 +20,7 @@ public:
QString name() const {return _name;} QString name() const {return _name;}
QRectF bounds(); QRectF bounds();
RectC llBounds(const Projection &); RectC llBounds();
int zoom() const {return _zoom;} int zoom() const {return _zoom;}
void setZoom(int zoom); void setZoom(int zoom);