Skip to main content

LayerOptions

Properties​

cache?​

optional cache: boolean | TileCacheOptions;

Decoded numeric tile cache. Enabled by default and scoped to this layer.


colormap?​

optional colormap: string;

colorScale?​

optional colorScale: [number, number, number][];

crs?​

optional crs: CRS | null;

dimensionNames?​

optional dimensionNames: DimensionNamesProps;

latIsAscending?​

optional latIsAscending: boolean;

maximumLevel?​

optional maximumLevel: number;

minimumLevel?​

optional minimumLevel: number;

multiscaleFormat?​

optional multiscaleFormat: MultiscaleFormat;

noDataMax?​

optional noDataMax: number;

noDataMin?​

optional noDataMin: number;

onAuthError?​

optional onAuthError: OnAuthError;

opacity?​

optional opacity: number;

requestOverrides?​

optional requestOverrides: RequestOverrides;

scale?​

optional scale: [number, number];

selectors?​

optional selectors: Record<string, ZarrSelectorsProps>;

store?​

optional store: Readable;

Custom Zarrita-compatible store, including an IcechunkStore.


tileHeight?​

optional tileHeight: number;

tileWidth?​

optional tileWidth: number;

transformRequest?​

optional transformRequest: TransformRequest;

url?​

optional url: string;

URL to a Zarr store. Required unless store is provided.


variable​

variable: string;

zarrVersion?​

optional zarrVersion: 3 | 2;