Skip to content

@eodash/eodash / @eodash/stac / MapConfig

Interface: MapConfig ​

Map configuration payload for EOxMap initialization.

Properties ​

center ​

ts
center: number[];

datetime? ​

ts
datetime?: string;

indicator? ​

ts
indicator?: object;

description? ​

ts
description?: string;

href? ​

ts
href?: string;

id? ​

ts
id?: string;

title? ​

ts
title?: string;

item? ​

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

layers ​

ts
layers: EoxLayer[];

legends? ​

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

projection ​

ts
projection: string;

projections ​

ts
projections: Projection[];

timeControl? ​

ts
timeControl?: object;

availableDates? ​

ts
availableDates?: string[];

count? ​

ts
count?: number;

maxDate? ​

ts
maxDate?: string;

minDate? ​

ts
minDate?: string;

zoom ​

ts
zoom: number;