Skip to main content

flywave-mapview.mapview.marktilesdirty

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

MapView.markTilesDirty() method

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

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

## Remarks

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