diff options
author | Anton Tananaev <anton@traccar.org> | 2022-05-28 07:37:24 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-05-28 07:37:24 -0700 |
commit | 47fdc633966a8f2baefb5424042de6be2ecd1ab6 (patch) | |
tree | 9817e5b02898636f146c4ed7c62aa8221310bb6f /modern/src/map/main | |
parent | ab26340ead6eba063734286a374101951d08688b (diff) | |
download | trackermap-web-47fdc633966a8f2baefb5424042de6be2ecd1ab6.tar.gz trackermap-web-47fdc633966a8f2baefb5424042de6be2ecd1ab6.tar.bz2 trackermap-web-47fdc633966a8f2baefb5424042de6be2ecd1ab6.zip |
Add map to stops report
Diffstat (limited to 'modern/src/map/main')
-rw-r--r-- | modern/src/map/main/MapAccuracy.js | 2 | ||||
-rw-r--r-- | modern/src/map/main/MapDefaultCamera.js | 2 | ||||
-rw-r--r-- | modern/src/map/main/MapGeofence.js | 2 | ||||
-rw-r--r-- | modern/src/map/main/MapLiveRoutes.js | 2 | ||||
-rw-r--r-- | modern/src/map/main/MapSelectedDevice.js | 2 | ||||
-rw-r--r-- | modern/src/map/main/PoiMap.js | 2 |
6 files changed, 6 insertions, 6 deletions
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'; |