proximiio-js-library 1.12.39 → 1.12.40

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.
@@ -2665,9 +2665,12 @@ export class Map {
2665
2665
  .filter((f) => f.properties.metadata && f.properties.metadata['anchor-logo'] && f.properties.type !== 'poi')
2666
2666
  .map((f) => __awaiter(this, void 0, void 0, function* () {
2667
2667
  try {
2668
- const response = yield this.map.loadImage(this.defaultOptions.bundleUrl
2668
+ /*const response = await this.map.loadImage(
2669
+ this.defaultOptions.bundleUrl
2669
2670
  ? `${this.defaultOptions.bundleUrl}/images/${f.properties.metadata['anchor-logo']}`
2670
- : `${f.properties.metadata['anchor-logo']}?token=${this.state.user.token}`);
2671
+ : `${f.properties.metadata['anchor-logo']}?token=${this.state.user.token}`,
2672
+ );*/
2673
+ const response = yield this.map.loadImage(`${f.properties.metadata['anchor-logo']}?token=${this.state.user.token}`);
2671
2674
  if (response) {
2672
2675
  this.map.addImage(f.id, response.data);
2673
2676
  }