Skip to main content

flywave-mapview.mapview.setcachesize

Home > @flywave/flywave-mapview > MapView > setCacheSize

MapView.setCacheSize() method

Sets the cache size in number of tiles.

Signature:

setCacheSize(size: number, numVisibleTiles?: number): void;

Parameters

Parameter

Type

Description

size

number

The cache size in tiles.

numVisibleTiles

number

(Optional) The number of tiles visible, which is size/2 by default.

Returns:



void