From 5dd75ead394fd6492ac7f2224c470fdc9f188be1 Mon Sep 17 00:00:00 2001 From: popovspiridon99 Date: Thu, 25 Sep 2025 16:37:17 +0900 Subject: [PATCH] render Map tab as 'a'; remove logs; --- client/src/components/map/mapUtils.ts | 1 - client/src/pages/MapTest.tsx | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/map/mapUtils.ts b/client/src/components/map/mapUtils.ts index 5cf0712..2e9675c 100644 --- a/client/src/components/map/mapUtils.ts +++ b/client/src/components/map/mapUtils.ts @@ -499,7 +499,6 @@ export const zoomToFeature = (map_id: string, feature: Feature | undefined) => { } export const getFeatureByEntityId = (entity_id: number, layer: VectorImageLayer, VectorSource>>) => { - console.log(entity_id, layer.getSource()?.getFeatures()) return layer.getSource()?.getFeatures().find(feature => feature.getProperties().entity_id === entity_id) } diff --git a/client/src/pages/MapTest.tsx b/client/src/pages/MapTest.tsx index 0896451..67c4f5f 100644 --- a/client/src/pages/MapTest.tsx +++ b/client/src/pages/MapTest.tsx @@ -52,6 +52,7 @@ function MapTest() { }> {id[key]?.mapLabel ?? `Tab ${key}`}