All text element group states in the cache by group priority.
Clears the whole cache contents.
Clears visited state for all text element groups in cache.
Removes duplicates for a given text element.
Current zoom level.
State of the text element to deduplicate.
True if it's the remaining element after deduplication, false if it's been marked as duplicate.
Gets the state corresponding to a given text element group or sets a newly created state if not found. It updates the states of the text elements belonging to the group using the specified parameters.
The group of which the state will be obtained.
The key of the tile to which the group belongs.
Filter used to decide if a text element must be initialized,
Tuple with the group state as first element and a boolean indicating whether the
state was found in cache (true
) or newly created (false
) as second element.
Replaces a visible unvisited text element with a visited duplicate.
Current zoom level.
State of the text element to deduplicate.
true
if an item from the cache has been reused and its state has been replaced,
false
otherwise.
Updates state of all cached groups, discarding those that are not needed anymore.
The current time.
True
if fading is currently disabled, false
otherwise.
True
to replace each visible unvisited text element with a
visited duplicate.
Current zoom level.
True
if any textElementGroup was evicted from cache, false otherwise.
Generated using TypeDoc
Caches the state of text element groups currently rendered as well as the text element states belonging to them, including their fading state and text deduplication information.