aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-19 09:38:27 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-19 09:38:27 -0700
commit652910400f87fa3e143a75d6587cd8d0f50d5778 (patch)
treeb21e0c3b5f432c7b4c0e6e62e9011492dbefa3a0
parente3827fbad0cb51e0e1e92b722d1c0c132c3d07c9 (diff)
downloadtrackermap-web-652910400f87fa3e143a75d6587cd8d0f50d5778.tar.gz
trackermap-web-652910400f87fa3e143a75d6587cd8d0f50d5778.tar.bz2
trackermap-web-652910400f87fa3e143a75d6587cd8d0f50d5778.zip
Add search to geofences
-rw-r--r--modern/src/other/GeofencesPage.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/modern/src/other/GeofencesPage.js b/modern/src/other/GeofencesPage.js
index 21df8f34..4ecba888 100644
--- a/modern/src/other/GeofencesPage.js
+++ b/modern/src/other/GeofencesPage.js
@@ -13,6 +13,7 @@ import MapGeofenceEdit from '../map/MapGeofenceEdit';
import GeofencesList from './GeofencesList';
import { useTranslation } from '../common/components/LocalizationProvider';
import dimensions from '../common/theme/dimensions';
+import MapGeocoder from '../map/geocoder/MapGeocoder';
const useStyles = makeStyles((theme) => ({
root: {
@@ -70,9 +71,10 @@ const GeofencesPage = () => {
</Drawer>
<div className={classes.mapContainer}>
<MapView>
- <MapCurrentLocation />
<MapGeofenceEdit />
</MapView>
+ <MapCurrentLocation />
+ <MapGeocoder />
</div>
</div>
</div>