proximiio-js-library 1.12.13 → 1.12.14

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.
@@ -2504,7 +2504,10 @@ export class Map {
2504
2504
  }
2505
2505
  animateRoute() {
2506
2506
  var _a;
2507
- if (this.routingSource && this.routingSource.route && this.routingSource.route[`path-part-${this.currentStep}`]) {
2507
+ if (this.routingSource &&
2508
+ this.routingSource.route &&
2509
+ this.routingSource.route[`path-part-${this.currentStep}`] &&
2510
+ !this.routingSource.preview) {
2508
2511
  const route = this.routingSource.route[`path-part-${this.currentStep}`] &&
2509
2512
  ((_a = this.routingSource.route[`path-part-${this.currentStep}`].properties) === null || _a === void 0 ? void 0 : _a.level) === this.state.floor.level
2510
2513
  ? this.routingSource.route[`path-part-${this.currentStep}`]