mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-19 13:24:23 +02:00
Map API refactoring
Including several map providers refactoring/rewrite especial KML, JNX and TrekBuddy atlases.
This commit is contained in:
@ -44,6 +44,15 @@ void WMTSMap::wmtsReady()
|
||||
emit mapLoaded();
|
||||
}
|
||||
|
||||
void WMTSMap::load(const Projection &in, const Projection &out,
|
||||
qreal deviceRatio, bool hidpi)
|
||||
{
|
||||
Q_UNUSED(in);
|
||||
Q_UNUSED(out);
|
||||
|
||||
_mapRatio = hidpi ? deviceRatio : 1.0;
|
||||
}
|
||||
|
||||
void WMTSMap::clearCache()
|
||||
{
|
||||
_tileLoader->clearCache();
|
||||
@ -97,7 +106,7 @@ QRectF WMTSMap::bounds()
|
||||
return lb.isValid() ? lb & tb : tb;
|
||||
}
|
||||
|
||||
RectC WMTSMap::llBounds()
|
||||
RectC WMTSMap::llBounds(const Projection &)
|
||||
{
|
||||
if (_wmts->bbox().isValid())
|
||||
return _wmts->bbox();
|
||||
|
Reference in New Issue
Block a user