Skip to content

@eodash/eodash / @eodash/stac / MapConfig

Interface: MapConfig ​

Map configuration payload for EOxMap initialization.

Properties ​

center ​

ts
center: number[];

datetime? ​

ts
optional datetime?: string;

indicator? ​

ts
optional indicator?: object;

description? ​

ts
optional description?: string;

href? ​

ts
optional href?: string;

id? ​

ts
optional id?: string;

title? ​

ts
optional title?: string;

item? ​

ts
optional item?:
  | STACItem
  | {
  id: string;
  link?: string;
};

layers ​

ts
layers: EoxLayer[];

legends? ​

ts
optional legends?: (
  | Record<string, any>
  | layerConfigLegend
  | layerConfigLegend[]
  | undefined)[];

projection ​

ts
projection: string;

projections ​

ts
projections: Projection[];

timeControl? ​

ts
optional timeControl?: object;

availableDates? ​

ts
optional availableDates?: string[];

count? ​

ts
optional count?: number;

maxDate? ​

ts
optional maxDate?: string;

minDate? ​

ts
optional minDate?: string;

zoom ​

ts
zoom: number;