From 6ec5eaf47904fbec5ac7ecd1939291e3aab60530 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 17 Aug 2022 07:03:25 -0700 Subject: Geofences on most maps --- modern/src/other/EventPage.js | 2 ++ modern/src/other/ReplayPage.js | 2 ++ 2 files changed, 4 insertions(+) (limited to 'modern/src/other') diff --git a/modern/src/other/EventPage.js b/modern/src/other/EventPage.js index 7f5d32ba..7bd5be30 100644 --- a/modern/src/other/EventPage.js +++ b/modern/src/other/EventPage.js @@ -11,6 +11,7 @@ import { useTranslation } from '../common/components/LocalizationProvider'; import MapView from '../map/core/MapView'; import MapCamera from '../map/MapCamera'; import MapPositions from '../map/MapPositions'; +import MapGeofence from '../map/MapGeofence'; const useStyles = makeStyles(() => ({ root: { @@ -70,6 +71,7 @@ const EventPage = () => {
+ {position && } {position && } diff --git a/modern/src/other/ReplayPage.js b/modern/src/other/ReplayPage.js index 556f5a87..46f7571c 100644 --- a/modern/src/other/ReplayPage.js +++ b/modern/src/other/ReplayPage.js @@ -22,6 +22,7 @@ import ReportFilter from '../reports/components/ReportFilter'; import { useTranslation } from '../common/components/LocalizationProvider'; import { useCatch } from '../reactHelper'; import MapCamera from '../map/MapCamera'; +import MapGeofence from '../map/MapGeofence'; const useStyles = makeStyles((theme) => ({ root: { @@ -151,6 +152,7 @@ const ReplayPage = () => { return (
+ {index < positions.length && ( -- cgit v1.2.3