diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-10-24 16:42:29 -0700 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-10-24 16:42:29 -0700 |
commit | e9f0913d2b1b66764931b6c1235877a44e72890b (patch) | |
tree | 404241616fcd340dd5b8b16e699ac8c1e1be2bf1 /modern/src/MainPage.js | |
parent | 7806cb2d725ab1aa4f66db86bc376a027dda6df5 (diff) | |
download | trackermap-web-e9f0913d2b1b66764931b6c1235877a44e72890b.tar.gz trackermap-web-e9f0913d2b1b66764931b6c1235877a44e72890b.tar.bz2 trackermap-web-e9f0913d2b1b66764931b6c1235877a44e72890b.zip |
Refactor map implementation
Diffstat (limited to 'modern/src/MainPage.js')
-rw-r--r-- | modern/src/MainPage.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modern/src/MainPage.js b/modern/src/MainPage.js index 659c324e..9f9f744b 100644 --- a/modern/src/MainPage.js +++ b/modern/src/MainPage.js @@ -5,8 +5,9 @@ import Drawer from '@material-ui/core/Drawer'; import ContainerDimensions from 'react-container-dimensions'; import LinearProgress from '@material-ui/core/LinearProgress'; import DevicesList from './DevicesList'; -import MainMap from './map/MainMap'; import MainToolbar from './MainToolbar'; +import Map from './map/Map'; +import PositionsMap from './map/PositionsMap'; const useStyles = makeStyles(theme => ({ root: { @@ -53,7 +54,9 @@ const MainPage = ({ width }) => { </Drawer> <div className={classes.mapContainer}> <ContainerDimensions> - <MainMap /> + <Map> + <PositionsMap /> + </Map> </ContainerDimensions> </div> </div> |