Experimental API to toggle tile cache in map view (#2590)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user