@wemap/providers 14.5.6 → 14.5.8
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/dist/index.js
CHANGED
|
@@ -3052,7 +3052,7 @@ var field = function(e, C, w) {
|
|
|
3052
3052
|
}
|
|
3053
3053
|
}(), package_default = {
|
|
3054
3054
|
name: "@wemap/providers",
|
|
3055
|
-
version: "14.5.
|
|
3055
|
+
version: "14.5.7",
|
|
3056
3056
|
type: "module",
|
|
3057
3057
|
publishConfig: { access: "public" },
|
|
3058
3058
|
main: "./dist/index.js",
|
|
@@ -3063,12 +3063,12 @@ var field = function(e, C, w) {
|
|
|
3063
3063
|
} },
|
|
3064
3064
|
files: ["dist"],
|
|
3065
3065
|
dependencies: {
|
|
3066
|
-
"@wemap/camera": "14.5.
|
|
3067
|
-
"@wemap/core": "14.5.
|
|
3068
|
-
"@wemap/geo": "14.5.
|
|
3069
|
-
"@wemap/osm": "14.5.
|
|
3070
|
-
"@wemap/routers": "14.5.
|
|
3071
|
-
"@wemap/utils": "14.5.
|
|
3066
|
+
"@wemap/camera": "14.5.7",
|
|
3067
|
+
"@wemap/core": "14.5.7",
|
|
3068
|
+
"@wemap/geo": "14.5.7",
|
|
3069
|
+
"@wemap/osm": "14.5.7",
|
|
3070
|
+
"@wemap/routers": "14.5.7",
|
|
3071
|
+
"@wemap/utils": "14.5.7"
|
|
3072
3072
|
},
|
|
3073
3073
|
devDependencies: {
|
|
3074
3074
|
"@wemap/logger-legacy": "^13.3.0",
|
|
@@ -3511,6 +3511,7 @@ var field = function(e, C, w) {
|
|
|
3511
3511
|
useAllAbsolutePositions = !1;
|
|
3512
3512
|
_waitUntilNextVpsPosition = !1;
|
|
3513
3513
|
_lastPolestarFix = null;
|
|
3514
|
+
ignoreGnssWifi = !1;
|
|
3514
3515
|
getName = () => "AbsolutePosition";
|
|
3515
3516
|
availability() {
|
|
3516
3517
|
return AvailabilityHelper.some([
|
|
@@ -3524,6 +3525,7 @@ var field = function(e, C, w) {
|
|
|
3524
3525
|
GeoRelativePositionProvider_default.getAvailability().then((e) => {
|
|
3525
3526
|
e || (this._relativePositionProviderId = GeoRelativePositionProvider_default.addEventListener((e) => this._onRelativePosition(e)));
|
|
3526
3527
|
}), this._gnssWifiProviderId = GnssWifiProvider_default.addEventListener((e) => {
|
|
3528
|
+
if (this.ignoreGnssWifi) return;
|
|
3527
3529
|
let C = e.clone();
|
|
3528
3530
|
C.bearing = null, this._onAbsolutePosition(C, !1);
|
|
3529
3531
|
}), this._vpsProviderId = VpsProvider_default.addEventListener((e) => this._onAbsolutePosition(e.absolutePosition), this.notifyError, !1), ProvidersOptions_default.hasPoleStar && (this._polestarProviderId = PoleStarProvider_default.addEventListener((e) => {
|
|
@@ -12,6 +12,14 @@ declare class AbsolutePositionProvider extends Provider<AbsolutePosition> {
|
|
|
12
12
|
useAllAbsolutePositions: boolean;
|
|
13
13
|
_waitUntilNextVpsPosition: boolean;
|
|
14
14
|
_lastPolestarFix: number | null;
|
|
15
|
+
/**
|
|
16
|
+
* When true, positions coming from {@link GnssWifiProvider} are ignored. Other sources
|
|
17
|
+
* (VPS, relative/PDR, feed) keep being taken into account. Unlike
|
|
18
|
+
* {@link ProvidersOptions.ignoreProviders} — which is only evaluated at provider
|
|
19
|
+
* start/availability time — this flag is checked on every GnssWifi emission, so it can
|
|
20
|
+
* be toggled dynamically at runtime (e.g. to discard GPS while inside VPS coverage).
|
|
21
|
+
*/
|
|
22
|
+
ignoreGnssWifi: boolean;
|
|
15
23
|
getName: () => string;
|
|
16
24
|
availability(): import('../../../events/AvailabilityHelper').AvailabilityPromise;
|
|
17
25
|
start(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbsolutePositionProvider.d.ts","sourceRoot":"","sources":["../../../../../src/providers/position/absolute/AbsolutePositionProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAS,mBAAmB,EAAgB,MAAM,YAAY,CAAC;AAGtE,OAAO,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AEvB,OAAO,eAA4B;IAGnC,YAAY;IAUZ,KAAK;IAwDL;;OAEG;IACH,IAAI;IAsBJ,OAAO,CAAC,yCAAyC;IA8CjD;;OAEG;IACH,OAAO,CAAC,mBAAmB;IA+B3B;;OAEG;IACH,mBAAmB,CAAC,aAAa,EAAE,mBAAmB;IA6BtD,IAAI,CAAC,IAAI,EAAE,gBAAgB;IA4B3B,oBAAoB,CAAC,GAAG,sBAAsB,EAAE,CAAC,gBAAgB,GAAG,IAAI,CAAC,EAAE;CAc9E;;AAED,wBAA8C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wemap/providers",
|
|
3
|
-
"version": "14.5.
|
|
3
|
+
"version": "14.5.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"dist"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@wemap/camera": "14.5.
|
|
21
|
-
"@wemap/core": "14.5.
|
|
22
|
-
"@wemap/geo": "14.5.
|
|
23
|
-
"@wemap/osm": "14.5.
|
|
24
|
-
"@wemap/routers": "14.5.
|
|
25
|
-
"@wemap/utils": "14.5.
|
|
20
|
+
"@wemap/camera": "14.5.8",
|
|
21
|
+
"@wemap/core": "14.5.8",
|
|
22
|
+
"@wemap/geo": "14.5.8",
|
|
23
|
+
"@wemap/osm": "14.5.8",
|
|
24
|
+
"@wemap/routers": "14.5.8",
|
|
25
|
+
"@wemap/utils": "14.5.8"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@wemap/logger-legacy": "^13.3.0",
|