We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4c7a29 commit f6f4936Copy full SHA for f6f4936
src/provider.tsx
@@ -35,6 +35,14 @@ export function StacMapProvider({
35
} = useStacGeoparquet(parquetPath, temporalFilter);
36
const [items, setItems] = useState<StacItem[]>();
37
38
+ useEffect(() => {
39
+ if (value?.title || value?.id) {
40
+ document.title = "stac-map | " + (value.title || value.id);
41
+ } else {
42
+ document.title = "stac-map";
43
+ }
44
+ }, [value]);
45
+
46
useEffect(() => {
47
setPicked(stacGeoparquetItem);
48
}, [stacGeoparquetItem]);
0 commit comments