Skip to content

@eodash/eodash / client/types / EodashStore

Interface: EodashStore

Properties

actions

actions: object

changeMapProjection()

changeMapProjection: (code?) => Promise<void>

Change eox-map projection from an EPSG code

Parameters

code?: string | number | object

Returns

Promise<void>

getLayers()

getLayers: (el?) => object[]

returns the layers of the eox-map

Parameters

el?: string

eox-map element selector

Returns

object[]

registerProjection()

registerProjection: (code?) => Promise<void>

Register EPSG projection in eox-map and adds it to availableMapProjection

Parameters

code?: string | number | object

Returns

Promise<void>

Defined in

core/client/types.d.ts:253


stac

stac: object

Pinia store definition used to navigate the root STAC catalog.

useSTAcStore

useSTAcStore: StoreDefinition<"stac", _UnwrapAll<Pick<object, "stac" | "selectedStac" | "selectedCompareStac">>, Pick<object, never>, Pick<object, "loadSTAC" | "loadSelectedSTAC" | "loadSelectedCompareSTAC" | "resetSelectedCompareSTAC">>

Defined in

core/client/types.d.ts:274


states

states: object

Stateful Reactive variables

availableMapProjection

availableMapProjection: Ref<string, string>

available projection to be rendered by the Map

currentUrl

currentUrl: Ref<string, string>

Currently selected STAC endpoint

datetime

datetime: Ref<string, string>

Currently selected datetime

indicator

indicator: Ref<string, string>

Currently selected indicator

registeredProjections

registeredProjections: `EPSG${number}`[]

Defined in

core/client/types.d.ts:240