From 47fdc633966a8f2baefb5424042de6be2ecd1ab6 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 28 May 2022 07:37:24 -0700 Subject: Add map to stops report --- modern/src/other/EventPage.js | 6 +++--- modern/src/other/GeofencesPage.js | 6 +++--- modern/src/other/ReplayPage.js | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'modern/src/other') diff --git a/modern/src/other/EventPage.js b/modern/src/other/EventPage.js index cbe4a0fb..f84e1e5e 100644 --- a/modern/src/other/EventPage.js +++ b/modern/src/other/EventPage.js @@ -8,7 +8,7 @@ import ArrowBackIcon from '@mui/icons-material/ArrowBack'; import { useNavigate, useParams } from 'react-router-dom'; import { useEffectAsync } from '../reactHelper'; import { useTranslation } from '../common/components/LocalizationProvider'; -import Map from '../map/core/Map'; +import MapView from '../map/core/MapView'; import MapPositions from '../map/MapPositions'; const useStyles = makeStyles(() => ({ @@ -68,9 +68,9 @@ const EventPage = () => {
- + {position && } - +
); diff --git a/modern/src/other/GeofencesPage.js b/modern/src/other/GeofencesPage.js index 6706ec98..fce15a39 100644 --- a/modern/src/other/GeofencesPage.js +++ b/modern/src/other/GeofencesPage.js @@ -7,7 +7,7 @@ import { useTheme } from '@mui/material/styles'; import Drawer from '@mui/material/Drawer'; import ArrowBackIcon from '@mui/icons-material/ArrowBack'; import { useNavigate } from 'react-router-dom'; -import Map from '../map/core/Map'; +import MapView from '../map/core/MapView'; import MapCurrentLocation from '../map/MapCurrentLocation'; import MapGeofenceEdit from '../map/MapGeofenceEdit'; import GeofencesList from './GeofencesList'; @@ -77,10 +77,10 @@ const GeofencesPage = () => {
- + - +
diff --git a/modern/src/other/ReplayPage.js b/modern/src/other/ReplayPage.js index fcf01fc7..4893dda9 100644 --- a/modern/src/other/ReplayPage.js +++ b/modern/src/other/ReplayPage.js @@ -13,7 +13,7 @@ import FastForwardIcon from '@mui/icons-material/FastForward'; import FastRewindIcon from '@mui/icons-material/FastRewind'; import { useNavigate } from 'react-router-dom'; import { useSelector } from 'react-redux'; -import Map from '../map/core/Map'; +import MapView from '../map/core/MapView'; import MapRoutePath from '../map/MapRoutePath'; import MapPositions from '../map/MapPositions'; import { formatTime } from '../common/util/formatter'; @@ -143,12 +143,12 @@ const ReplayPage = () => { return (
- + {index < positions.length && ( )} - +
-- cgit v1.2.3