Toggle tile cache final API (#2723)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
This commit is contained in:
Alex Cristici
2024-08-21 00:28:00 +03:00
committed by GitHub
parent d544da140b
commit a4258ccbb8
21 changed files with 170 additions and 63 deletions

View File

@@ -497,8 +497,8 @@ void RenderTileSource::removeFeatureState(const std::optional<std::string>& sour
featureState.removeState(sourceLayerID, featureID, stateKey);
}
void RenderTileSource::enableCache(bool enable) {
tilePyramid.enableCache(enable);
void RenderTileSource::setCacheEnabled(bool enable) {
tilePyramid.setCacheEnabled(enable);
}
void RenderTileSource::reduceMemoryUse() {