flywave-mapview.itileloader.cancel
Home > @flywave/flywave-mapview > ITileLoader > cancel
ITileLoader.cancel() method
Cancel loading of the [[Tile]]. Cancellation token is notified, an internal state is cleaned up.
Signature:
cancel(client?: any): void;
Parameters
Parameter | Type | Description |
|---|---|---|
client | any | (Optional) Optional client requesting the cancelation. It's expected to match one of the clients that previously called ITileLoader.loadAndDecode(). |
Returns:
void