export type Tgu2DMapLayerKey =
  | "tracks"
  | "swath"
  | "planWorks"
  | "complexPlan"
  | "heatmap"
  | "stations"
  | "spacecraftMarkers"
  | "requests";

export type Tgu2DMapLayersState = Record<Tgu2DMapLayerKey, boolean>;

export type Tgu2DMapLayerDefinition = {
  key: Tgu2DMapLayerKey;
  label: string;
  description: string;
};

export const TGU_2D_MAP_LAYERS: Tgu2DMapLayerDefinition[] = [
  {
    key: "planWorks",
    label: "Работы плана",
    description: "Маршруты съёмки из выбранного плана."
  },
  {
    key: "stations",
    label: "Станции",
    description: "Наземные станции приёма."
  },
  {
    key: "requests",
    label: "Заявки на съёмку",
    description: "Полигоны заявок из pcp-request-service."
  }
];

export const DEFAULT_TGU_2D_MAP_LAYERS: Tgu2DMapLayersState = {
  tracks: false,
  swath: false,
  planWorks: true,
  complexPlan: false,
  heatmap: false,
  stations: true,
  spacecraftMarkers: false,
  requests: true
};

