Gets the maximum number of tiles that can be added to the scene per frame
Gets the maximum number of tiles that can be added to the scene per frame
The way the cache usage is computed, either based on size in MB (mega bytes) or in number of tiles.
Cache may be either keeping number of elements stored or the memory consumed by them.
Sets the way tile cache is managing its elements.
Cache may be either keeping number of elements stored or the memory consumed by them.
Type of algorith used in cache for checking full saturation, may be counting number of elements or memory consumed by them.
Clear the tile cache.
Remove the Tile objects created by cacheable DataSource. If a DataSource name is provided, this method restricts the eviction the DataSource with the given name.
Optional tile filter
Dispose tiles that are marked for removal by {@link @here/harp-lrucache#LRUCache} algorithm.
Dispose a Tile
from cache, 'dispose()' is also called on the tile to free its resources.
Process callback function [[fun]] with each tile in the cache.
Optional dataSource parameter limits processing to the tiles that belongs to DataSource passed in.
The callback function to be called.
The optional DataSource reference for tiles selection.
Gets the tile corresponding to the given data source, key and offset from the cache.
The data source the tile belongs to.
The key identifying the tile.
Tile offset.
Frame in which the tile was requested
The tile if found in cache, undefined otherwise.
Returns cache size.
Retrieves maximum number of visible tiles.
Gets the tile corresponding to the given data source, key and offset from the rendered tiles.
The data source the tile belongs to.
The key identifying the tile.
Tile offset.
The tile if found among the rendered tiles, undefined otherwise.
Gets the tile corresponding to the given data source and location from the rendered tiles.
The data source the tile belongs to.
The geolocation included within the tile.
The tile if found among the rendered tiles, undefined otherwise.
Gets the tile corresponding to the given data source, key and offset, creating it if necessary.
The data source the tile belongs to.
The key identifying the tile.
Tile offset.
Frame in which the tile was requested
The tile if it was found or created, undefined otherwise.
Visit each tile in visible, rendered, and cached sets.
If passed, only the tiles from this DataSource instance
are processed. If undefined
, tiles from all DataSources are processed.
Optional tile filter
Removes all internal bookkeeping entries and cache related to specified datasource.
Called by MapView when DataSource has been removed from MapView.
Sets cache size.
cache size
Optional value specifying the way a Tiles cache usage is
computed, either based on size in MB (mega bytes) or in number of tiles. Defaults to
ResourceComputationType.EstimationInMb
.
Sets maximum number of visible tiles.
size of visible tiles array
Evaluate frustum near/far clip planes and visibility ranges.
Calculates a new set of visible tiles.
The camera storage level, see MapView.storageLevel.
The camera zoom level.
The data sources for which the visible tiles will be calculated.
Source of elevation range data if any.
view ranges and their status since last update (changed or not).
Generated using TypeDoc
Manages visible Tiles for MapView.
Responsible for election of rendered tiles: