diff options
author | Anton Tananaev <anton@traccar.org> | 2022-08-02 07:11:16 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-08-02 07:11:16 -0700 |
commit | f57d9020d5031744e3e0e19ac8178cc8f7010f03 (patch) | |
tree | 4140037469ff44a7ce91b255d4142189e4832116 /modern/src/reports/TripReportPage.js | |
parent | 91c121647293dd04daf8c932371dbe7f17e96f98 (diff) | |
download | trackermap-web-f57d9020d5031744e3e0e19ac8178cc8f7010f03.tar.gz trackermap-web-f57d9020d5031744e3e0e19ac8178cc8f7010f03.tar.bz2 trackermap-web-f57d9020d5031744e3e0e19ac8178cc8f7010f03.zip |
Refactor map route plugin
Diffstat (limited to 'modern/src/reports/TripReportPage.js')
-rw-r--r-- | modern/src/reports/TripReportPage.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/reports/TripReportPage.js b/modern/src/reports/TripReportPage.js index 23455404..8aed01be 100644 --- a/modern/src/reports/TripReportPage.js +++ b/modern/src/reports/TripReportPage.js @@ -21,6 +21,7 @@ import MapRoutePath from '../map/MapRoutePath'; import AddressValue from '../common/components/AddressValue'; import TableShimmer from '../common/components/TableShimmer'; import MapMarkers from '../map/MapMarkers'; +import MapCamera from '../map/MapCamera'; const columnsArray = [ ['startTime', 'reportStartTime'], @@ -151,6 +152,7 @@ const TripReportPage = () => { </> )} </MapView> + <MapCamera positions={route} /> </div> )} <div className={classes.containerMain}> |