memoryManagementStrategy property

MapContextMemoryManagementStrategy memoryManagementStrategy
getter/setter pair

The default setting MemoryManagementStrategy.DYNAMIC is suitable for common cases. The map data cache can adjust dynamically to fit visible data. When the visible data needs extra memory, it would increase. When it's not needed, it will reduce to a limit which is calculated internally or by using MapContextMemoryManagementOptions.tileCacheMemoryLimitInKiB option. The MemoryManagementStrategy.FIXED would be only useful when there is very strict memory consumption requirement for the application. It potentially can have flickering visual artifacts when the map data to be visualized is very large and exceeds the cache limit.

Implementation

MapContextMemoryManagementStrategy memoryManagementStrategy;