GPX import.

This commit is contained in:
vdv committed 2022-11-26 22:04:08 +01:00
1 parent 5de30283b1
commit 83e14932a4
7 files changed
+128 -8

No files matched your search

+9
View File
@@ -21,6 +21,7 @@ import { Circle, Fill, Stroke, Style, Icon } from 'ol/style';
import GetLocation, { getCurrentLocation } from '../get-location';
import ShowLocationIcon from '../get-location/ShowLocationIcon.svg';
import { Back, Forward } from '../back-forward';
import GpxImport from '../gpx-import';
const [getState, setState] = createSignal({
lon: 0,
@@ -161,6 +162,14 @@ const Map: Component = () => {
</div>
),
}),
new Control({
// @ts-ignore
element: (
<div>
<GpxImport />
</div>
),
}),
]),
});
olMap.on(['moveend'], changeListener);