Skip to content

Commit

Permalink
hide lines
Browse files Browse the repository at this point in the history
  • Loading branch information
gcor committed Sep 14, 2023
1 parent 6cc0502 commit 41f4f8c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
28 changes: 14 additions & 14 deletions components/Layers/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -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;
2 changes: 1 addition & 1 deletion components/Map/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function MapLayers() {
<BuildingSource />
<OknSource />
<DtpSource />
<LinesSource />
{/* <LinesSource /> */}
<DesignCodeSource />
</>
);
Expand Down

0 comments on commit 41f4f8c

Please sign in to comment.