diff --git a/components/Layers/DesignCode/CardContent/CardContent.tsx b/components/Layers/DesignCode/CardContent/CardContent.tsx index d1ec86dc..d01d7879 100644 --- a/components/Layers/DesignCode/CardContent/CardContent.tsx +++ b/components/Layers/DesignCode/CardContent/CardContent.tsx @@ -1,11 +1,10 @@ -import React from 'react'; - -import { Section } from 'components/UI/Card/components/Section/Section'; import { Header } from 'components/UI/Card/components/Header/Header'; import { Label } from 'components/UI/Card/components/Label/Label'; +import { Section } from 'components/UI/Card/components/Section/Section'; import { DESIGN_MAP_HOST } from 'components/Layers/DesignCode/designCode'; import styles from 'styles/CardContent.module.css'; +import { Sources } from 'components/UI/Card/components/Sources/Sources'; import { DESIGN_CODE_MARKER_COLOR_BY_TYPE } from '../MapData/MapData.constants'; import { DesignCodeObject } from '../designCodeObject'; @@ -44,6 +43,9 @@ export function DesignCodeCardContent({ placemark }: { placemark?: DesignCodeObj ); })} +
+ +
) : null; } diff --git a/components/Layers/Houses/CardContent/CardContent.tsx b/components/Layers/Houses/CardContent/CardContent.tsx index 5d29825a..fef5b816 100644 --- a/components/Layers/Houses/CardContent/CardContent.tsx +++ b/components/Layers/Houses/CardContent/CardContent.tsx @@ -171,7 +171,7 @@ export function HousesCardContent() { )}
- +
diff --git a/constants/sources.ts b/constants/sources.ts index dfbf9e82..5dbb25c3 100644 --- a/constants/sources.ts +++ b/constants/sources.ts @@ -1,4 +1,9 @@ export const SOURCES_BY_TYPE = { + osm: { + name: 'OpenStreetMap', + link: 'https://www.openstreetmap.org/', + data: null, + }, okn: { name: 'Объекты культурного наследия Свердловской области', link: 'https://okn.midural.ru/kategorii/obekty-kulturnogo-naslediya-sverdlovskoy-oblasti',