Class VectorTileImageryProvider

implementation of Cesium ImageryProvider Interface

Accessors

Constructors

Methods

  • Requests the image for a given tile. This function should not be called before returns true.

    Parameters

    • x: number

      The tile X coordinate.

    • y: number

      The tile Y coordinate.

    • level: number

      The tile level.

    Returns Promise<HTMLCanvasElement | HTMLImageElement>

    A promise for the image that will resolve when the image is available, or undefined if there are too many active requests to the server, and the request should be retried later. The resolved image may be either an Image or a Canvas DOM object.

Properties

_reload: undefined | (() => void) = undefined
emptyCanvas: HTMLCanvasElement
headers?: Record<string, string>
maxLevel: number = 26
minLevel: number = 0
tileProvider: TileProvider