Experimental API to toggle tile cache in map view (#2590)

This commit is contained in:
Alex Cristici
2024-07-16 01:31:11 +03:00
committed by GitHub
parent 9119afc5a3
commit 1ae14a55d0
21 changed files with 93 additions and 4 deletions

View File

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