MemoryManagementStrategy

public enum MemoryManagementStrategy : UInt32, CaseIterable, Codable

The memory management strategy.

Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.

  • The cache of all loaded map-data is constrained to a fixed capacity.

    Declaration

    Swift

    case fixed
  • The cache of all loaded map-data adjusts dynamically based on visible data requirements. Memory usage can grow beyond the configured tile cache limit when needed for visible data. When memory usage drops, excess memory is released but never below the configured limit, ensuring a minimum reserved cache is always maintained.

    Declaration

    Swift

    case dynamic