Custom Raster Source
Describes the Custom Raster Source to be used in the style.
To add the data, implement the CustomRasterSourceOptions.fetchTileFunction callback and call setTileData when needed.
Constructors
Functions
Add the source to the Style.
Invalidate region for provided custom raster source.
Invalidate tile for provided custom raster source.
The property allows to define source specific resource budget, either in tile units or in megabytes. Whenever tile cache goes over the defined limit, least recently used tile will be evicted from the in-memory cache. Note that the current implementation does not take into account resources allocated by the visible tiles.
Set tile data for a raster tile.
Properties
The property allows to define source specific resource budget, either in tile units or in megabytes. Whenever tile cache goes over the defined limit, least recently used tile will be evicted from the in-memory cache. Note that the current implementation does not take into account resources allocated by the visible tiles.