From 6beaed68b27d9c1e615603d82c6996b6433d6079 Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Fri, 9 Jan 2026 19:22:31 +0100 Subject: [PATCH] Add basic STAC & JSON Viewer --- .../features/products/object-browser/ObjectPreview.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/features/products/object-browser/ObjectPreview.tsx b/src/components/features/products/object-browser/ObjectPreview.tsx index a6736cad..7848d18b 100644 --- a/src/components/features/products/object-browser/ObjectPreview.tsx +++ b/src/components/features/products/object-browser/ObjectPreview.tsx @@ -27,6 +27,11 @@ const getIframeAttributes = ( src: `https://source-cooperative.github.io/csv-table/?iframe=true&url=${sourceUrl}`, style: { border: "1px solid var(--gray-5)" }, }; + case "json": + return { + src: `https://moregeo-it.github.io/stac-web-component/#${sourceUrl}`, + style: { border: "none" }, + }; default: return null; }