MapContextMemoryManagementStrategy enum
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.
Values
- fixed → const MapContextMemoryManagementStrategy
-
The cache of all loaded map-data is constrained to a fixed capacity.
- dynamic → const MapContextMemoryManagementStrategy
-
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.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
-
values
→ const List<
MapContextMemoryManagementStrategy> - A constant List of the values in this enum, in order of their declaration.