We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 969ae35 commit 6f7620dCopy full SHA for 6f7620d
1 file changed
src/components/features/products/object-browser/ObjectPreview.tsx
@@ -13,7 +13,7 @@ const getIframeAttributes = (
13
switch (sourceUrl.split(".").pop()) {
14
case "pmtiles":
15
return {
16
- src: `https://pmtiles.io/#url=${sourceUrl}&iframe=true`,
+ src: `https://pmtiles.io/#iframe=true&url=${sourceUrl}`,
17
style: { border: "none" },
18
};
19
case "parquet":
@@ -23,7 +23,7 @@ const getIframeAttributes = (
23
24
case "tif":
25
26
- src: `https://cogeo.org/viewer/#url=${sourceUrl}`,
+ src: `https://cogeo.org/viewer/#iframe=true&url=${sourceUrl}`,
27
28
}
29
default:
0 commit comments