diff --git a/src/components/back-forward/BackForward.module.css b/src/components/back-forward/BackForward.module.css index 9339489..1df966c 100644 --- a/src/components/back-forward/BackForward.module.css +++ b/src/components/back-forward/BackForward.module.css @@ -3,6 +3,7 @@ --ion-background-color: white; position: fixed !important; top: 6px; + z-index: 1; } .back { diff --git a/src/components/get-location/GetLocation.module.css b/src/components/get-location/GetLocation.module.css index 4a3d3aa..3c7c93a 100644 --- a/src/components/get-location/GetLocation.module.css +++ b/src/components/get-location/GetLocation.module.css @@ -3,5 +3,6 @@ --ion-background-color: white; margin-left: calc(50% - 20px) !important; position: fixed !important; + z-index: 1; bottom: 6px; } diff --git a/src/components/gpx-import/GpxImport.module.css b/src/components/gpx-import/GpxImport.module.css index bfa1a79..a391397 100644 --- a/src/components/gpx-import/GpxImport.module.css +++ b/src/components/gpx-import/GpxImport.module.css @@ -2,6 +2,7 @@ position: fixed !important; top: 6px; margin-left: calc(100% - 80px) !important; + z-index: 1; } .label { --opacity: 0.6; diff --git a/src/components/map/Map.tsx b/src/components/map/Map.tsx index 6374838..02134e6 100644 --- a/src/components/map/Map.tsx +++ b/src/components/map/Map.tsx @@ -137,39 +137,39 @@ const Map: Component = () => { new Attribution({ collapsible: true }), new Rotate(), new ScaleLine({ bar: true }), - // @ts-ignore - new Control({ - // @ts-ignore - element: ( -
- -
- ), - }), - new Control({ - // @ts-ignore - element: ( -
- -
- ), - }), - new Control({ - // @ts-ignore - element: ( -
- -
- ), - }), - new Control({ - // @ts-ignore - element: ( -
- -
- ), - }), + // // @ts-ignore + // new Control({ + // // @ts-ignore + // element: ( + //
+ // + //
+ // ), + // }), + // new Control({ + // // @ts-ignore + // element: ( + //
+ // + //
+ // ), + // }), + // new Control({ + // // @ts-ignore + // element: ( + //
+ // + //
+ // ), + // }), + // new Control({ + // // @ts-ignore + // element: ( + //
+ // + //
+ // ), + // }), ]), }); olMap.on(['moveend'], changeListener); @@ -178,7 +178,14 @@ const Map: Component = () => { }); // @ts-ignore - return
; + return ( +
+ + + + +
+ ); }; export default Map;