@wemap/providers 5.7.0 → 5.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Attitude, AbsoluteHeading, UserPosition, Network
|
|
4
4
|
} from '@wemap/geo';
|
|
5
|
+
import { Itinerary } from '@wemap/osm';
|
|
5
6
|
|
|
6
7
|
import EventType from './events/EventType.js';
|
|
7
8
|
import {
|
|
8
|
-
AbsoluteAttitude, AbsolutePosition, Barcode, CameraNative,
|
|
9
|
+
AbsoluteAttitude, AbsolutePosition, Barcode, CameraNative,
|
|
10
|
+
CameraProjectionMatrix, Inclination, MagnetometerCalibrationDetector, RelativeAttitude
|
|
9
11
|
} from './Providers.js';
|
|
10
12
|
import ProvidersLoggerOld from './events/ProvidersLoggerOld.js';
|
|
11
13
|
import MapMatchingHandler from './mapmatching/MapMatchingHandler.js';
|
|
12
|
-
import { Itinerary } from '@wemap/osm';
|
|
13
14
|
|
|
14
15
|
class ProvidersInterface {
|
|
15
16
|
|
|
@@ -96,6 +97,9 @@ class ProvidersInterface {
|
|
|
96
97
|
case EventType.CameraProjectionMatrix:
|
|
97
98
|
return CameraProjectionMatrix;
|
|
98
99
|
|
|
100
|
+
case EventType.MagnetometerNeedCalibration:
|
|
101
|
+
return MagnetometerCalibrationDetector;
|
|
102
|
+
|
|
99
103
|
default:
|
|
100
104
|
throw new Error(`Unable to deal with this event type: ${eventType}`);
|
|
101
105
|
}
|