diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-22 09:57:51 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-22 09:57:51 -0700 |
commit | 67d7ce8e0f428c521d3d032e8145108c9b2a5f45 (patch) | |
tree | 9f350497ebc64951ce2070723ab2b66e1a0f5472 /modern/src/main | |
parent | 111347e3f40640aa4c43c0bc2666d7a92ce03bb2 (diff) | |
download | trackermap-web-67d7ce8e0f428c521d3d032e8145108c9b2a5f45.tar.gz trackermap-web-67d7ce8e0f428c521d3d032e8145108c9b2a5f45.tar.bz2 trackermap-web-67d7ce8e0f428c521d3d032e8145108c9b2a5f45.zip |
Rename map plugins
Diffstat (limited to 'modern/src/main')
-rw-r--r-- | modern/src/main/MainPage.js | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/modern/src/main/MainPage.js b/modern/src/main/MainPage.js index c6879e9c..c6a0909b 100644 --- a/modern/src/main/MainPage.js +++ b/modern/src/main/MainPage.js @@ -14,20 +14,20 @@ import ListIcon from '@material-ui/icons/ViewList'; import { useDispatch, useSelector } from 'react-redux'; import DevicesList from './DevicesList'; import Map from '../map/core/Map'; -import SelectedDeviceMap from '../map/main/SelectedDeviceMap'; -import AccuracyMap from '../map/main/AccuracyMap'; -import GeofenceMap from '../map/main/GeofenceMap'; -import CurrentPositionsMap from '../map/main/CurrentPositionsMap'; -import CurrentLocationMap from '../map/CurrentLocationMap'; +import MapSelectedDevice from '../map/main/MapSelectedDevice'; +import MapAccuracy from '../map/main/MapAccuracy'; +import MapGeofence from '../map/main/MapGeofence'; +import MapCurrentPositions from '../map/main/MapCurrentPositions'; +import MapCurrentLocation from '../map/MapCurrentLocation'; import BottomMenu from '../common/components/BottomMenu'; import { useTranslation } from '../common/components/LocalizationProvider'; import PoiMap from '../map/main/PoiMap'; import MapPadding from '../map/MapPadding'; import StatusCard from './StatusCard'; import { devicesActions } from '../store'; -import DefaultCameraMap from '../map/main/DefaultCameraMap'; +import MapDefaultCamera from '../map/main/MapDefaultCamera'; import usePersistedState from '../common/util/usePersistedState'; -import LiveRoutesMap from '../map/main/LiveRoutesMap'; +import MapLiveRoutes from '../map/main/MapLiveRoutes'; import { useDeviceReadonly } from '../common/util/permissions'; const useStyles = makeStyles((theme) => ({ @@ -140,15 +140,15 @@ const MainPage = () => { return ( <div className={classes.root}> <Map> - <CurrentLocationMap /> - <GeofenceMap /> - <AccuracyMap /> - {mapLiveRoutes && <LiveRoutesMap />} - <CurrentPositionsMap /> - <DefaultCameraMap /> - <SelectedDeviceMap /> + <MapGeofence /> + <MapAccuracy /> + {mapLiveRoutes && <MapLiveRoutes />} + <MapCurrentPositions /> + <MapDefaultCamera /> + <MapSelectedDevice /> <PoiMap /> </Map> + <MapCurrentLocation /> {!isTablet && <MapPadding left={parseInt(theme.dimensions.drawerWidthDesktop, 10)} />} <Button variant="contained" |