diff options
author | Anton Tananaev <anton@traccar.org> | 2022-08-17 07:03:25 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-08-17 07:03:25 -0700 |
commit | 6ec5eaf47904fbec5ac7ecd1939291e3aab60530 (patch) | |
tree | 599a59cdcbce26207090662f97ad4e8073a26c09 /modern/src/other/EventPage.js | |
parent | 13eaaebb02814e539648c3bc545c3e3d07f204c3 (diff) | |
download | trackermap-web-6ec5eaf47904fbec5ac7ecd1939291e3aab60530.tar.gz trackermap-web-6ec5eaf47904fbec5ac7ecd1939291e3aab60530.tar.bz2 trackermap-web-6ec5eaf47904fbec5ac7ecd1939291e3aab60530.zip |
Geofences on most maps
Diffstat (limited to 'modern/src/other/EventPage.js')
-rw-r--r-- | modern/src/other/EventPage.js | 2 |
1 files changed, 2 insertions, 0 deletions
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 = () => { </AppBar> <div className={classes.mapContainer}> <MapView> + <MapGeofence /> {position && <MapPositions positions={[position]} />} </MapView> {position && <MapCamera latitude={position.latitude} longitude={position.longitude} />} |