aboutsummaryrefslogtreecommitdiff
path: root/modern/src/main
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-28 07:37:24 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-28 07:37:24 -0700
commit47fdc633966a8f2baefb5424042de6be2ecd1ab6 (patch)
tree9817e5b02898636f146c4ed7c62aa8221310bb6f /modern/src/main
parentab26340ead6eba063734286a374101951d08688b (diff)
downloadtrackermap-web-47fdc633966a8f2baefb5424042de6be2ecd1ab6.tar.gz
trackermap-web-47fdc633966a8f2baefb5424042de6be2ecd1ab6.tar.bz2
trackermap-web-47fdc633966a8f2baefb5424042de6be2ecd1ab6.zip
Add map to stops report
Diffstat (limited to 'modern/src/main')
-rw-r--r--modern/src/main/MainPage.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/modern/src/main/MainPage.js b/modern/src/main/MainPage.js
index b3b23aab..f9341eb6 100644
--- a/modern/src/main/MainPage.js
+++ b/modern/src/main/MainPage.js
@@ -15,7 +15,7 @@ import ListIcon from '@mui/icons-material/ViewList';
import { useDispatch, useSelector } from 'react-redux';
import DevicesList from './DevicesList';
-import Map from '../map/core/Map';
+import MapView from '../map/core/MapView';
import MapSelectedDevice from '../map/main/MapSelectedDevice';
import MapAccuracy from '../map/main/MapAccuracy';
import MapGeofence from '../map/main/MapGeofence';
@@ -149,15 +149,15 @@ const MainPage = () => {
return (
<div className={classes.root}>
- <Map>
+ <MapView>
<MapGeofence />
<MapAccuracy />
{mapLiveRoutes && <MapLiveRoutes />}
- <MapPositions positions={positions} onClick={onClick} />
+ <MapPositions positions={positions} onClick={onClick} showStatus />
<MapDefaultCamera />
<MapSelectedDevice />
<PoiMap />
- </Map>
+ </MapView>
<MapCurrentLocation />
{desktop && <MapPadding left={parseInt(theme.dimensions.drawerWidthDesktop, 10)} />}
<Button