Logo FSBarV1_Archived

LayerRenderer Module

Renders map data layers to SKBitmap with caching.

Functions and values

Function or value Description

cacheStats ()

Full Usage: cacheStats ()

Parameters:
    () : unit

Returns: int * int

Returns (hits, misses) cache statistics.

() : unit
Returns: int * int

invalidateAll ()

Full Usage: invalidateAll ()

Parameters:
    () : unit

Invalidates all cached bitmaps.

() : unit

invalidateCache layer

Full Usage: invalidateCache layer

Parameters:

Invalidates the cached bitmap for a specific layer.

layer : LayerKind

renderLayer grid layer scheme

Full Usage: renderLayer grid layer scheme

Parameters:
Returns: SKBitmap

Renders a map layer to a bitmap using the given color scheme.

grid : MapGrid
layer : LayerKind
scheme : ColorScheme
Returns: SKBitmap

Type something to start searching.