Skip to content

@eodash/eodash / @eodash/stac / getObservationPointsLayer

Function: getObservationPointsLayer() ​

ts
function getObservationPointsLayer(collections, options?): EoxLayer | null;

Creates a vector layer containing spatial observation points across collections.

Parameters ​

collections ​

STACCollection[]

Array of STAC Collections

options? ​

currentLayers? ​

EoxLayer[] = []

Layers whose interactions are preserved

themes? ​

ObservationPointsThemes = OBSERVATION_POINT_THEMES

Theme styling options

Returns ​

EoxLayer | null

Vector layer definition or null if no points exist