aboutsummaryrefslogtreecommitdiff
path: root/modern/src/other
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-08-02 07:11:16 -0700
committerAnton Tananaev <anton@traccar.org>2022-08-02 07:11:16 -0700
commitf57d9020d5031744e3e0e19ac8178cc8f7010f03 (patch)
tree4140037469ff44a7ce91b255d4142189e4832116 /modern/src/other
parent91c121647293dd04daf8c932371dbe7f17e96f98 (diff)
downloadtrackermap-web-f57d9020d5031744e3e0e19ac8178cc8f7010f03.tar.gz
trackermap-web-f57d9020d5031744e3e0e19ac8178cc8f7010f03.tar.bz2
trackermap-web-f57d9020d5031744e3e0e19ac8178cc8f7010f03.zip
Refactor map route plugin
Diffstat (limited to 'modern/src/other')
-rw-r--r--modern/src/other/ReplayPage.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/other/ReplayPage.js b/modern/src/other/ReplayPage.js
index e49835d6..556f5a87 100644
--- a/modern/src/other/ReplayPage.js
+++ b/modern/src/other/ReplayPage.js
@@ -21,6 +21,7 @@ import { formatTime } from '../common/util/formatter';
import ReportFilter from '../reports/components/ReportFilter';
import { useTranslation } from '../common/components/LocalizationProvider';
import { useCatch } from '../reactHelper';
+import MapCamera from '../map/MapCamera';
const useStyles = makeStyles((theme) => ({
root: {
@@ -155,6 +156,7 @@ const ReplayPage = () => {
<MapPositions positions={[positions[index]]} onClick={onClick} />
)}
</MapView>
+ <MapCamera positions={positions} />
<div className={classes.sidebar}>
<Paper elevation={3} square>
<Toolbar>