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:
parent
0531389cd8
commit
b123981dde
@ -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;}
|
||||||
|
@ -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;}
|
||||||
|
@ -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);
|
||||||
|
@ -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();
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user