Improving RteViewer.

This commit is contained in:
vdv committed 2023-01-03 18:17:12 +01:00
1 parent c1fe37d0a6
commit 44ce641d6a
6 files changed
+77 -17

No files matched your search

+6 -1
View File
@@ -3,6 +3,7 @@ import { peekCachedSignal } from '../../workers/cached-signals';
import Tree from '../tree';
import TrkIcon from '../../icons/human-footprints-svgrepo-com.svg?component-solid';
import { TrksegViewer } from '../trkseg';
import { findAddress } from '../../lib/osm';
interface Props {
trkId: string;
@@ -23,7 +24,11 @@ const TrkViewer: Component<Props> = ({ trkId, restrictToHierarchy }) => {
<TrkIcon width='24' height='24' /> {title()}
</>
}
content={undefined}
content={
<div>
</div>
}
subTree={
<For
each={Object.keys(restrictToHierarchy).filter((key: string) =>