From 47fdc633966a8f2baefb5424042de6be2ecd1ab6 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 28 May 2022 07:37:24 -0700 Subject: Add map to stops report --- modern/src/map/main/MapAccuracy.js | 2 +- modern/src/map/main/MapDefaultCamera.js | 2 +- modern/src/map/main/MapGeofence.js | 2 +- modern/src/map/main/MapLiveRoutes.js | 2 +- modern/src/map/main/MapSelectedDevice.js | 2 +- modern/src/map/main/PoiMap.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'modern/src/map/main') diff --git a/modern/src/map/main/MapAccuracy.js b/modern/src/map/main/MapAccuracy.js index 11ea64ed..089389bd 100644 --- a/modern/src/map/main/MapAccuracy.js +++ b/modern/src/map/main/MapAccuracy.js @@ -2,7 +2,7 @@ import { useEffect } from 'react'; import { useSelector } from 'react-redux'; import circle from '@turf/circle'; -import { map } from '../core/Map'; +import { map } from '../core/MapView'; const MapAccuracy = () => { const id = 'accuracy'; diff --git a/modern/src/map/main/MapDefaultCamera.js b/modern/src/map/main/MapDefaultCamera.js index 24296c2f..6ccf660e 100644 --- a/modern/src/map/main/MapDefaultCamera.js +++ b/modern/src/map/main/MapDefaultCamera.js @@ -2,7 +2,7 @@ import maplibregl from 'maplibre-gl'; import { useEffect, useState } from 'react'; import { useSelector } from 'react-redux'; import { usePreference } from '../../common/util/preferences'; -import { map } from '../core/Map'; +import { map } from '../core/MapView'; const MapDefaultCamera = () => { const selectedDeviceId = useSelector((state) => state.devices.selectedId); diff --git a/modern/src/map/main/MapGeofence.js b/modern/src/map/main/MapGeofence.js index ee1bc884..71d5cb6e 100644 --- a/modern/src/map/main/MapGeofence.js +++ b/modern/src/map/main/MapGeofence.js @@ -1,7 +1,7 @@ import { useEffect } from 'react'; import { useSelector } from 'react-redux'; -import { map } from '../core/Map'; +import { map } from '../core/MapView'; import { geofenceToFeature } from '../core/mapUtil'; const MapGeofence = () => { diff --git a/modern/src/map/main/MapLiveRoutes.js b/modern/src/map/main/MapLiveRoutes.js index 139f7d65..09319cff 100644 --- a/modern/src/map/main/MapLiveRoutes.js +++ b/modern/src/map/main/MapLiveRoutes.js @@ -1,7 +1,7 @@ import { useEffect, useState } from 'react'; import { useSelector } from 'react-redux'; -import { map } from '../core/Map'; +import { map } from '../core/MapView'; import { usePrevious } from '../../reactHelper'; const MapLiveRoutes = () => { diff --git a/modern/src/map/main/MapSelectedDevice.js b/modern/src/map/main/MapSelectedDevice.js index ba3bc784..9d97dd75 100644 --- a/modern/src/map/main/MapSelectedDevice.js +++ b/modern/src/map/main/MapSelectedDevice.js @@ -2,7 +2,7 @@ import { useEffect } from 'react'; import { useSelector } from 'react-redux'; import dimensions from '../../common/theme/dimensions'; -import { map } from '../core/Map'; +import { map } from '../core/MapView'; import { usePrevious } from '../../reactHelper'; import usePersistedState from '../../common/util/usePersistedState'; diff --git a/modern/src/map/main/PoiMap.js b/modern/src/map/main/PoiMap.js index 5874f356..3ca344c5 100644 --- a/modern/src/map/main/PoiMap.js +++ b/modern/src/map/main/PoiMap.js @@ -1,7 +1,7 @@ import { useEffect, useState } from 'react'; import { kml } from '@tmcw/togeojson'; -import { map } from '../core/Map'; +import { map } from '../core/MapView'; import { useEffectAsync } from '../../reactHelper'; import { usePreference } from '../../common/util/preferences'; -- cgit v1.2.3