aboutsummaryrefslogtreecommitdiff
path: root/modern/src/main/MainPage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-19 09:36:12 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-19 09:36:12 -0700
commite3827fbad0cb51e0e1e92b722d1c0c132c3d07c9 (patch)
tree585321727f053558cfac8bbcd0e2041cb7fbf297 /modern/src/main/MainPage.js
parente67aafb900f474da2381ea418c3e8eb09bc4683b (diff)
downloadtrackermap-web-e3827fbad0cb51e0e1e92b722d1c0c132c3d07c9.tar.gz
trackermap-web-e3827fbad0cb51e0e1e92b722d1c0c132c3d07c9.tar.bz2
trackermap-web-e3827fbad0cb51e0e1e92b722d1c0c132c3d07c9.zip
Implement geocoding search
Diffstat (limited to 'modern/src/main/MainPage.js')
-rw-r--r--modern/src/main/MainPage.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/main/MainPage.js b/modern/src/main/MainPage.js
index b93a3940..a3d39b15 100644
--- a/modern/src/main/MainPage.js
+++ b/modern/src/main/MainPage.js
@@ -34,6 +34,7 @@ import { useDeviceReadonly } from '../common/util/permissions';
import MapPositions from '../map/MapPositions';
import MapDirection from '../map/MapDirection';
import MapOverlay from '../map/overlay/MapOverlay';
+import MapGeocoder from '../map/geocoder/MapGeocoder';
const useStyles = makeStyles((theme) => ({
root: {
@@ -213,6 +214,7 @@ const MainPage = () => {
<PoiMap />
</MapView>
<MapCurrentLocation />
+ <MapGeocoder />
{desktop && <MapPadding left={parseInt(theme.dimensions.drawerWidthDesktop, 10)} />}
<Button
variant="contained"