mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-28 05:34:47 +01:00
Fixed llBounds() functions with broken signatures
This commit is contained in:
parent
0531389cd8
commit
b123981dde
@ -14,7 +14,7 @@ public:
|
||||
QString name() const {return QString();}
|
||||
|
||||
QRectF bounds();
|
||||
RectC llBounds(const Projection &) {return OSM::BOUNDS;}
|
||||
RectC llBounds() {return OSM::BOUNDS;}
|
||||
qreal resolution(const QRectF &rect);
|
||||
|
||||
int zoom() const {return _zoom;}
|
||||
|
@ -19,7 +19,7 @@ public:
|
||||
QString name() const {return _name;}
|
||||
|
||||
QRectF bounds();
|
||||
RectC llBounds(const Projection &) {return _bounds;}
|
||||
RectC llBounds() {return _bounds;}
|
||||
qreal resolution(const QRectF &rect);
|
||||
|
||||
int zoom() const {return _zoom;}
|
||||
|
@ -20,7 +20,7 @@ public:
|
||||
QString name() const {return _name;}
|
||||
|
||||
QRectF bounds();
|
||||
RectC llBounds(const Projection &) {return _wms->bbox();}
|
||||
RectC llBounds() {return _wms->bbox();}
|
||||
|
||||
int zoom() const {return _zoom;}
|
||||
void setZoom(int zoom);
|
||||
|
@ -106,7 +106,7 @@ QRectF WMTSMap::bounds()
|
||||
return lb.isValid() ? lb & tb : tb;
|
||||
}
|
||||
|
||||
RectC WMTSMap::llBounds(const Projection &)
|
||||
RectC WMTSMap::llBounds()
|
||||
{
|
||||
if (_wmts->bbox().isValid())
|
||||
return _wmts->bbox();
|
||||
|
@ -20,7 +20,7 @@ public:
|
||||
QString name() const {return _name;}
|
||||
|
||||
QRectF bounds();
|
||||
RectC llBounds(const Projection &);
|
||||
RectC llBounds();
|
||||
|
||||
int zoom() const {return _zoom;}
|
||||
void setZoom(int zoom);
|
||||
|
Loading…
Reference in New Issue
Block a user