Skip to main content

zarr-maps-ol

OpenLayers tile-layer integration for rendering multidimensional Zarr and Icechunk datasets directly in the browser.

npm install zarr-maps-ol ol
import Map from 'ol/Map';
import { ZarrLayer } from 'zarr-maps-ol';

const layer = new ZarrLayer({
id: 'temperature',
url: 'https://example.com/temperature.zarr',
variable: 'temperature',
colormap: 'viridis',
scale: [270, 310]
});

await layer.load();
map.addLayer(layer);

The layer supports custom Zarrita stores such as Icechunk, authenticated requests, dimension selectors, runtime styling, and point/profile/transect queries. See the zarr-maps documentation for complete configuration and API details.

Classes

ClassDescription
ZarrLayerOpenLayers Zarr tile layer using the shared ZarrTileProvider.

Interfaces

InterfaceDescription
OLLayerOptionsConfiguration for a 2D raster (image) layer visualization in OpenLayers.
ZarrImageElement-