copy

fun copy(cacheMemoryMaxSize: Memory = this.maxMemorySize, cacheStorageConfiguration: CacheStorageConfiguration? = this.storageConfiguration): CachingConfiguration

Deprecated

This will be removed from future releases after 2025-09-30.

Replace with

CachingConfiguration(storageConfiguration, maxMemorySize, refreshPeriod)

Creates a copy of this CachingConfiguration object with optional parameter overrides.

Parameters

cacheMemoryMaxSize

Size limit for in-memory tile store, defaults to the current value.

cacheStorageConfiguration

Persistent cache storage configuration, defaults to the current value.

See also


fun copy(cacheMemoryMaxSize: Memory = this.maxMemorySize, cacheStorageConfiguration: CacheStorageConfiguration? = this.storageConfiguration, tileRefreshPeriod: Duration = DEFAULT_TILE_REFRESH_PERIOD): CachingConfiguration

Deprecated

This will be removed from future releases after 2025-09-30.

Replace with

CachingConfiguration(storageConfiguration, maxMemorySize, refreshPeriod)

Creates a copy of this CachingConfiguration object with optional parameter overrides.

Parameters

cacheMemoryMaxSize

Size limit for the in-memory tile store, defaults to the current value.

cacheStorageConfiguration

Persistent cache storage configuration, defaults to the current value.

tileRefreshPeriod

The period after which a downloaded tile is considered stale and triggers an automatic refresh when accessed. Defaults to the current value.

See also

for more details. WARNING: This parameter has effect only with the NdsLiveFeature feature toggle enabled.