MapContextMemoryManagementOptions class

Memory management options.

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.

Constructors

MapContextMemoryManagementOptions()
Creates a new instance.

Properties

hashCode → int
The hash code for this object.
no setterinherited
memoryManagementStrategy MapContextMemoryManagementStrategy
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.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tileCacheMemoryLimitInKiB ↔ int?
Tile cache memory limit in kibibytes. Non positive or null values are ignored. Default value is null. Low tile cache limit will lead to eviction of tiles only if MemoryManagementStrategy is set to FIXED.
getter/setter pair
videoMemoryLimitInKiB ↔ int?
Target video memory limit in kibibytes. Non positive or null values are ignored. Default value is null.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited