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}

Options{Object}

Properties:
Name Type Argument Default 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 <optional>
250

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

interpolate boolean <optional>
false

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

size Size <optional>
[256, 256]

Tile size.