@mapvx/web-js 1.2.2 → 1.2.3-dev.3

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/umd/index.js CHANGED
@@ -6798,7 +6798,7 @@ var rollbar_umd_min_default = /*#__PURE__*/__webpack_require__.n(rollbar_umd_min
6798
6798
  // version placeholder is replaced with the package version by
6799
6799
  // scripts/inject-build-defines.js. The access token falls back to the MapVX
6800
6800
  // SDK-web Rollbar project token when none is injected at build time.
6801
- var SDK_VERSION = true ? "1.2.2" : 0;
6801
+ var SDK_VERSION = true ? "1.2.3-dev.3" : 0;
6802
6802
  var ACCESS_TOKEN = false ? 0 : "28279d52df43411ebd138c2bee0ab1df";
6803
6803
  var _rollbarConfig = {
6804
6804
  accessToken: ACCESS_TOKEN,
@@ -6845,7 +6845,7 @@ function logger_toPrimitive(t, r) { if ("object" != logger_typeof(t) || !t) retu
6845
6845
  // by scripts/inject-build-defines.js. The Countly key falls back to the
6846
6846
  // MapVX key when none is injected at build time.
6847
6847
  var IS_DEBUG = true ? false : 0;
6848
- var logger_SDK_VERSION = true ? "1.2.2" : 0;
6848
+ var logger_SDK_VERSION = true ? "1.2.3-dev.3" : 0;
6849
6849
  var COUNTLY_API_KEY = false ? 0 : "f0c8d3b96d336e857a8628f49dd1baf7d7add0e9";
6850
6850
  var logger_countly = {
6851
6851
  apiKey: COUNTLY_API_KEY,
@@ -9491,9 +9491,10 @@ var InternalGetRouteConfiguration = /*#__PURE__*/routeConfiguration_createClass(
9491
9491
  * @param language The language for the instructions.
9492
9492
  * @param unitSystem The unit system used for the distance.
9493
9493
  * @param announceFormat The format used to announce directions in the instructions.
9494
+ * @param userBearing The user's heading in degrees used as the reference direction for announcing turns.
9494
9495
  */
9495
9496
  function InternalGetRouteConfiguration(config) {
9496
- var _config$preferAccessi, _config$language, _config$unitSystem, _config$announceForma;
9497
+ var _config$preferAccessi, _config$language, _config$unitSystem, _config$announceForma, _config$userBearing;
9497
9498
  routeConfiguration_classCallCheck(this, InternalGetRouteConfiguration);
9498
9499
  this.initialLocation = config.initialLocation;
9499
9500
  this.finalLocation = config.finalLocation;
@@ -9501,6 +9502,7 @@ function InternalGetRouteConfiguration(config) {
9501
9502
  this.language = (_config$language = config.language) !== null && _config$language !== void 0 ? _config$language : "en";
9502
9503
  this.unitSystem = (_config$unitSystem = config.unitSystem) !== null && _config$unitSystem !== void 0 ? _config$unitSystem : UnitSystem.metric;
9503
9504
  this.announceFormat = (_config$announceForma = config.announceFormat) !== null && _config$announceForma !== void 0 ? _config$announceForma : AnnounceFormat.relative;
9505
+ this.userBearing = (_config$userBearing = config.userBearing) !== null && _config$userBearing !== void 0 ? _config$userBearing : 0;
9504
9506
  });
9505
9507
 
9506
9508
  /**
@@ -11782,7 +11784,7 @@ var Requester = /*#__PURE__*/function () {
11782
11784
  travelMode: TransportationMode.walking,
11783
11785
  reducedMobility: routeConfig.preferAccessibleRoute ? 1 : 0,
11784
11786
  announceFormat: routeConfig.announceFormat,
11785
- userBearing: 0,
11787
+ userBearing: routeConfig.userBearing,
11786
11788
  lang: this.lang,
11787
11789
  unitSystem: routeConfig.unitSystem
11788
11790
  };
@@ -11857,7 +11859,7 @@ var Requester = /*#__PURE__*/function () {
11857
11859
  travelMode: TransportationMode.walking,
11858
11860
  reducedMobility: routeConfig.preferAccessibleRoute ? 1 : 0,
11859
11861
  announceFormat: routeConfig.announceFormat,
11860
- userBearing: 0,
11862
+ userBearing: routeConfig.userBearing,
11861
11863
  lang: this.lang,
11862
11864
  unitSystem: routeConfig.unitSystem
11863
11865
  };
@@ -15284,8 +15286,6 @@ var InternalMapVXMap = /*#__PURE__*/function (_Loggeable) {
15284
15286
  }
15285
15287
  return "";
15286
15288
  }
15287
-
15288
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
15289
15289
  }, {
15290
15290
  key: "removePopOver",
15291
15291
  value: function removePopOver(id) {
@@ -16693,7 +16693,7 @@ var InternalMapVXSDK = /*#__PURE__*/function (_Loggeable) {
16693
16693
  return _searchPlacesByTags.apply(this, arguments);
16694
16694
  }
16695
16695
  return searchPlacesByTags;
16696
- }() // eslint-disable-next-line @typescript-eslint/no-unused-vars
16696
+ }()
16697
16697
  }, {
16698
16698
  key: "getPlacesByCategory",
16699
16699
  value: function () {