flywave-mapview.datasource.gettile
Home > @flywave/flywave-mapview > DataSource > getTile
DataSource.getTile() method
This method is called when MapView needs to visualize or preload the content of a .
Signature:
abstract getTile(tileKey: TileKey, delayLoad?: boolean): Tile | undefined;
Parameters
Parameter | Type | Description |
|---|---|---|
tileKey | TileKey | The unique identifier for a map tile. |
delayLoad | boolean | (Optional) If true, the Tile will be created, but Tile.load will not be called false. |
Returns:
[Tile](./flywave-mapview.tile.md) \| undefined