Refactoring to implement visualization and edition features.

This commit is contained in:
vdv committed 2023-01-02 17:27:55 +01:00
1 parent 67cfd16efb
commit adc37fef03
11 files changed
+129 -223

No files matched your search

+2 -1
View File
@@ -9,6 +9,7 @@ import { Paper, Stack } from '@suid/material';
import styled from '@suid/material/styles/styled';
import Dialog from '../dialog';
import Tree from '../tree';
import { GpxViewer } from '../gpx';
const Item = styled(Paper)(({ theme }) => ({
...theme.typography.body2,
@@ -124,7 +125,7 @@ const FeaturesTree: Component<{ featuresHierarchy: any }> = ({
subTree={Object.keys(featuresHierarchy)
.filter((key: string) => key.startsWith('gpx/'))
.map((key: string) => (
<FeaturesTree featuresHierarchy={featuresHierarchy[key]} />
<GpxViewer gpxId={key} />
))}
/>
);