aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
Diffstat (limited to 'modern')
-rw-r--r--modern/src/other/EventPage.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/other/EventPage.js b/modern/src/other/EventPage.js
index f84e1e5e..7f5d32ba 100644
--- a/modern/src/other/EventPage.js
+++ b/modern/src/other/EventPage.js
@@ -9,6 +9,7 @@ import { useNavigate, useParams } from 'react-router-dom';
import { useEffectAsync } from '../reactHelper';
import { useTranslation } from '../common/components/LocalizationProvider';
import MapView from '../map/core/MapView';
+import MapCamera from '../map/MapCamera';
import MapPositions from '../map/MapPositions';
const useStyles = makeStyles(() => ({
@@ -71,6 +72,7 @@ const EventPage = () => {
<MapView>
{position && <MapPositions positions={[position]} />}
</MapView>
+ {position && <MapCamera latitude={position.latitude} longitude={position.longitude} />}
</div>
</div>
);