mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-07-23 15:14:24 +02:00
Added support for custom HTTP headers in map tile requests
This commit is contained in:
@ -20,7 +20,7 @@ WMTSMap::WMTSMap(const QString &fileName, const QString &name,
|
||||
QString tilesDir(QDir(ProgramPaths::tilesDir()).filePath(_name));
|
||||
|
||||
_tileLoader = new TileLoader(tilesDir, this);
|
||||
_tileLoader->setAuthorization(setup.authorization());
|
||||
_tileLoader->setHeaders(setup.headers());
|
||||
connect(_tileLoader, &TileLoader::finished, this, &WMTSMap::tilesLoaded);
|
||||
|
||||
_wmts = new WMTS(QDir(tilesDir).filePath(CAPABILITIES_FILE), setup, this);
|
||||
|
Reference in New Issue
Block a user