Adding a selectHandler (not functional yet).
This commit is contained in:
1 parent
42d66ecfa5
commit
400711eb80
3 files changed
+34
-4
No files matched your search
@@ -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 },
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user