@wemap/providers 9.0.0-alpha.5 → 9.0.0-alpha.7
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
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"@wemap/map": "^9.0.0-alpha.5",
|
|
16
16
|
"@wemap/maths": "^9.0.0-alpha.5",
|
|
17
17
|
"@wemap/osm": "^9.0.0-alpha.5",
|
|
18
|
-
"@wemap/routers": "^9.0.0-alpha.
|
|
18
|
+
"@wemap/routers": "^9.0.0-alpha.7",
|
|
19
19
|
"@wemap/utils": "^8.1.0"
|
|
20
20
|
},
|
|
21
21
|
"description": "A package using different geoloc systems",
|
|
@@ -42,6 +42,6 @@
|
|
|
42
42
|
"url": "git+https://github.com/wemap/wemap-modules-js.git"
|
|
43
43
|
},
|
|
44
44
|
"type": "module",
|
|
45
|
-
"version": "9.0.0-alpha.
|
|
46
|
-
"gitHead": "
|
|
45
|
+
"version": "9.0.0-alpha.7",
|
|
46
|
+
"gitHead": "9d24ba2977caabf6034d5849a44a98b0dcd2e1c1"
|
|
47
47
|
}
|
|
@@ -95,8 +95,6 @@ class AbsolutePosition extends Provider {
|
|
|
95
95
|
if (ProvidersOptions.hasPoleStar) {
|
|
96
96
|
this._polestarProviderId = PoleStar.addEventListener(events => {
|
|
97
97
|
this._onAbsolutePosition(events.find(event => event.dataType === EventType.AbsolutePosition));
|
|
98
|
-
PoleStar.removeEventListener(this._polestarProviderId);
|
|
99
|
-
this._polestarProviderId = null;
|
|
100
98
|
});
|
|
101
99
|
}
|
|
102
100
|
|
|
@@ -3,7 +3,7 @@ import { SharedCameras, CameraUtils, Camera } from '@wemap/camera';
|
|
|
3
3
|
import { Attitude, UserPosition } from '@wemap/geo';
|
|
4
4
|
import Logger from '@wemap/logger';
|
|
5
5
|
import { deg2rad, Quaternion } from '@wemap/maths';
|
|
6
|
-
import { TimeUtils } from '
|
|
6
|
+
import { TimeUtils } from '@wemap/utils';
|
|
7
7
|
|
|
8
8
|
import EventType from '../../events/EventType.js';
|
|
9
9
|
import ProviderEvent from '../../events/ProviderEvent.js';
|