Adding a selectHandler (not functional yet).

This commit is contained in:
vdv committed 2022-11-28 21:36:12 +01:00
1 parent 42d66ecfa5
commit 400711eb80
3 files changed
+34 -4

No files matched your search

+3 -3
View File
@@ -37,7 +37,7 @@ export const Trkseg: Component<Props> = ({ vectorSource, trksegId }) => {
type: 'Point',
coordinates: [trkseg().trkpt[0].$.lon, trkseg().trkpt[0].$.lat],
},
properties: { type: 'trkseg-start' },
properties: { type: 'trkseg-start', id: trksegId },
},
{
type: 'Feature',
@@ -48,7 +48,7 @@ export const Trkseg: Component<Props> = ({ vectorSource, trksegId }) => {
trkpt.$.lat,
]),
},
properties: { type: 'trkseg' },
properties: { type: 'trkseg', id: trksegId },
},
{
type: 'Feature',
@@ -59,7 +59,7 @@ export const Trkseg: Component<Props> = ({ vectorSource, trksegId }) => {
trkseg().trkpt.at(-1).$.lat,
],
},
properties: { type: 'trkseg-finish' },
properties: { type: 'trkseg-finish', id: trksegId },
},
],
};