Module: ol/DataTile

ol/DataTile


Classes

DataTile

Type Definitions

Data{Uint8Array} {Uint8ClampedArray} {Float32Array} {DataView}

Data that can be used with a DataTile. For increased browser compatibility, use Uint8Array instead of Uint8ClampedArray where possible.

Options{Object}

Properties:
Name Type Argument Default Description
tileCoord module:ol/tilecoord~TileCoord

Tile coordinate.

loader function

Data loader.

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 module:ol/size~Size <optional>
[256, 256]

Tile size.