@eodash/eodash / client/types / EodashStore
Interface: EodashStore
Defined in: client/types.ts:252
Properties
actions
actions:
object
Defined in: client/types.ts:267
changeMapProjection()
changeMapProjection: (
code
?) =>Promise
<void
>
Change eox-map
projection from an EPSG code or a registered projection code
Parameters
code?
string
| number
| { def
: string
; name
: string
; }
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
| { def
: string
; name
: string
; }
Returns
Promise
<void
>
stac
stac:
object
Defined in: client/types.ts:288
Pinia store definition used to navigate the root STAC catalog.
useSTAcStore
useSTAcStore:
StoreDefinition
<"stac"
,Pick
<{loadSelectedCompareSTAC
: (relativePath
) =>Promise
<void
>;loadSelectedSTAC
: (relativePath
) =>Promise
<void
>;loadSTAC
: (url
?) =>Promise
<void
>;resetSelectedCompareSTAC
: () =>Promise
<void
>;selectedCompareStac
:Ref
<null
|StacCatalog
|StacCollection
|StacItem
,null
|StacCatalog
|StacCollection
|StacItem
>;selectedStac
:Ref
<null
|StacCatalog
|StacCollection
|StacItem
,null
|StacCatalog
|StacCollection
|StacItem
>;stac
:Ref
<null
|StacLink
[],null
|StacLink
[]>; },"stac"
|"selectedStac"
|"selectedCompareStac"
>,Pick
<{loadSelectedCompareSTAC
: (relativePath
) =>Promise
<void
>;loadSelectedSTAC
: (relativePath
) =>Promise
<void
>;loadSTAC
: (url
?) =>Promise
<void
>;resetSelectedCompareSTAC
: () =>Promise
<void
>;selectedCompareStac
:Ref
<null
|StacCatalog
|StacCollection
|StacItem
,null
|StacCatalog
|StacCollection
|StacItem
>;selectedStac
:Ref
<null
|StacCatalog
|StacCollection
|StacItem
,null
|StacCatalog
|StacCollection
|StacItem
>;stac
:Ref
<null
|StacLink
[],null
|StacLink
[]>; },never
>,Pick
<{loadSelectedCompareSTAC
: (relativePath
) =>Promise
<void
>;loadSelectedSTAC
: (relativePath
) =>Promise
<void
>;loadSTAC
: (url
?) =>Promise
<void
>;resetSelectedCompareSTAC
: () =>Promise
<void
>;selectedCompareStac
:Ref
<null
|StacCatalog
|StacCollection
|StacItem
,null
|StacCatalog
|StacCollection
|StacItem
>;selectedStac
:Ref
<null
|StacCatalog
|StacCollection
|StacItem
,null
|StacCatalog
|StacCollection
|StacItem
>;stac
:Ref
<null
|StacLink
[],null
|StacLink
[]>; },"loadSTAC"
|"loadSelectedSTAC"
|"loadSelectedCompareSTAC"
|"resetSelectedCompareSTAC"
>>
states
states:
object
Defined in: client/types.ts:254
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}`
[]