Skip to main content

flywave-mapview.visibletileset.marktilesdirty

Home > @flywave/flywave-mapview > VisibleTileSet > markTilesDirty

VisibleTileSet.markTilesDirty() method

Visit each tile in visible, rendered, and cached sets.

* Visible and temporarily rendered tiles will be marked for update and retained. * Cached but not rendered/visible will be evicted.

Signature:

markTilesDirty(dataSource?: DataSource, filter?: (tile: Tile) => boolean): void;

Parameters

Parameter

Type

Description

dataSource

DataSource

(Optional) If passed, only the tiles from this DataSource instance are processed. If undefined, tiles from all DataSources are processed.

filter

(tile: Tile) => boolean

(Optional) Optional tile filter

Returns:



void