MemoryManagementStrategy

public enum MemoryManagementStrategy : UInt32, CaseIterable, Codable

The memory management strategy. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases 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 can adjust dynamically to fit visible data. Cache grows when visible data needs more memory and shrinks when usage drops but not beyond the CPU tile cache memory limit in kibibytes.

    Declaration

    Swift

    case dynamic