MapViewTileProviderBase add cacheDir()

This commit is contained in:
2025-03-18 15:17:14 +03:00
parent 347104d512
commit a0f2d80b4f
7 changed files with 26 additions and 3 deletions

View File

@@ -58,6 +58,11 @@ QSize MapViewTileProvider_MapTiler::tileSize() {
}
QString MapViewTileProvider_MapTiler::cacheDir() const {
return name() + "/" + tileset;
}
void MapViewTileProvider_MapTiler::applyParameters() {
url = PI2QString(getParameters().childValue("url").toString());
key = PI2QString(getParameters().childValue("key").toString());