Module: ol/DataTile

ol/DataTile


Classes

DataTile

Type Definitions

ArrayLike{Uint8Array} {Uint8ClampedArray} {Float32Array} {DataView}

Data that can be used with a DataTile.

ImageLike{HTMLImageElement} {HTMLCanvasElement} {HTMLVideoElement} {ImageBitmap}

Options{Object}

Properties:
Name Type Description
tileCoord TileCoord

Tile coordinate.

loader function

Data loader. For loaders that generate images, the promise should not resolve until the image is loaded.

transition number
(defaults to 250)

A duration for tile opacity transitions in milliseconds. A duration of 0 disables the opacity transition.

interpolate boolean
(defaults to false)

Use interpolated values when resampling. By default, the nearest neighbor is used when resampling.

size Size
(defaults to [256, 256])

Tile size.

controller AbortController | undefined

An abort controller.