From 41f4f8caed527c3c93a230b66c793db5519b0fc8 Mon Sep 17 00:00:00 2001 From: Anton Akhatov Date: Thu, 14 Sep 2023 23:35:10 +0100 Subject: [PATCH] hide lines --- components/Layers/config.ts | 28 ++++++++++++++-------------- components/Map/Map.tsx | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/components/Layers/config.ts b/components/Layers/config.ts index d98e4a5f..2c62e7ca 100644 --- a/components/Layers/config.ts +++ b/components/Layers/config.ts @@ -3,8 +3,8 @@ import { designCode } from 'components/Layers/DesignCode/designCode'; import { dtp } from 'components/Layers/DTP/dtp'; import { okn } from 'components/Layers/OKN/okn'; -import { lines } from 'components/Layers/Lines/lines'; -import { LinesCardContent } from 'components/Layers/Lines/CardContent/CardContent'; +// import { lines } from 'components/Layers/Lines/lines'; +// import { LinesCardContent } from 'components/Layers/Lines/CardContent/CardContent'; import { DesignCodeCardContent } from './DesignCode/CardContent/CardContent'; import { DTPCardContent } from './DTP/CardContent/CardContent'; import { HousesCardContent } from './Houses/CardContent/CardContent'; @@ -27,16 +27,16 @@ export const MODEL_CONFIG = { cardContent: OKNCardContent, requests: { oneItemRequest: okn.getObject }, }, - [MapItemType.RedLines]: { - cardContent: LinesCardContent, - requests: { oneItemRequest: lines.getObject }, - }, - [MapItemType.PinkLines]: { - cardContent: LinesCardContent, - requests: { oneItemRequest: lines.getObject }, - }, - [MapItemType.BlueLines]: { - cardContent: LinesCardContent, - requests: { oneItemRequest: lines.getObject }, - }, + // [MapItemType.RedLines]: { + // cardContent: LinesCardContent, + // requests: { oneItemRequest: lines.getObject }, + // }, + // [MapItemType.PinkLines]: { + // cardContent: LinesCardContent, + // requests: { oneItemRequest: lines.getObject }, + // }, + // [MapItemType.BlueLines]: { + // cardContent: LinesCardContent, + // requests: { oneItemRequest: lines.getObject }, + // }, } as const; diff --git a/components/Map/Map.tsx b/components/Map/Map.tsx index 7d14d824..78d47789 100644 --- a/components/Map/Map.tsx +++ b/components/Map/Map.tsx @@ -21,7 +21,7 @@ function MapLayers() { - + {/* */} );