GPX import.
This commit is contained in:
1 parent
5de30283b1
commit
83e14932a4
7 files changed
+128
-8
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user