@wemap/providers 4.0.5 → 4.0.6

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
@@ -39,6 +39,6 @@
39
39
  "url": "git+https://github.com/wemap/wemap-modules-js.git"
40
40
  },
41
41
  "type": "module",
42
- "version": "4.0.5",
43
- "gitHead": "83de234c6e6e93200995545e5d4d523f40850ecd"
42
+ "version": "4.0.6",
43
+ "gitHead": "e6f232b824b7c2caabf0aefd719855a75f94b702"
44
44
  }
@@ -465,7 +465,9 @@ class MapMatchingHandler extends Provider {
465
465
  // Math.min(Math.abs(matchingDirectionAngle1), Math.abs(matchingDirectionAngle2))
466
466
  );
467
467
 
468
- AbsoluteAttitude.feed(new ProviderEvent(EventType.AbsoluteHeading, matchedHeading));
468
+ AbsoluteAttitude._forceHeadingForRelative(
469
+ new ProviderEvent(EventType.AbsoluteHeading, matchedHeading)
470
+ );
469
471
 
470
472
  this._countStepsFromLastMatching = 0;
471
473
  }