Skip to content

@eodash/eodash / @eodash/stac / buildIndicatorDataLayers

Function: buildIndicatorDataLayers() ​

ts
function buildIndicatorDataLayers(params): Promise<{
  items: STACItem[];
  layers: EoxLayer[];
  projections: Projection[];
}>;

Builds data layers, observation points, and projections across multiple collection readers.

Parameters ​

params ​

context? ​

BuildContext = {}

Build context configuration

currentLayers? ​

EoxLayer[] = []

Current map layers to preserve interactions

readers ​

Reader[]

STAC readers for layer generation

stac? ​

STACCollection

STAC indicator collection

themes? ​

ObservationPointsThemes

Observation points styling

timeOrItem? ​

string | STACItem | Date

Datetime or STAC item

Returns ​

Promise<{ items: STACItem[]; layers: EoxLayer[]; projections: Projection[]; }>