azure-maps-control 2.3.0 → 2.3.1

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.
@@ -265,7 +265,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
265
265
  return Url;
266
266
  }());
267
267
 
268
- var version = "2.3.0";
268
+ var version = "2.3.1";
269
269
 
270
270
  /**
271
271
  * A helper class that provides methods for getting various forms of the map controls current version.
@@ -22519,9 +22519,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
22519
22519
  Map.prototype._rebuildStyle = function (diff) {
22520
22520
  if (diff === void 0) { diff = true; }
22521
22521
  return __awaiter$4(this, void 0, void 0, function () {
22522
+ var _this = this;
22522
22523
  return __generator$4(this, function (_a) {
22523
22524
  this.styles.setStyle(this.styleOptions, diff);
22524
- this.imageSprite._restoreImages();
22525
+ this.events.addOnce("stylechanged", function () { return _this.imageSprite._restoreImages(); });
22525
22526
  return [2 /*return*/];
22526
22527
  });
22527
22528
  });
@@ -265,7 +265,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
265
265
  return Url;
266
266
  }());
267
267
 
268
- var version = "2.3.0";
268
+ var version = "2.3.1";
269
269
 
270
270
  /**
271
271
  * A helper class that provides methods for getting various forms of the map controls current version.
@@ -30244,9 +30244,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
30244
30244
  Map.prototype._rebuildStyle = function (diff) {
30245
30245
  if (diff === void 0) { diff = true; }
30246
30246
  return __awaiter$5(this, void 0, void 0, function () {
30247
+ var _this = this;
30247
30248
  return __generator$5(this, function (_a) {
30248
30249
  this.styles.setStyle(this.styleOptions, diff);
30249
- this.imageSprite._restoreImages();
30250
+ this.events.addOnce("stylechanged", function () { return _this.imageSprite._restoreImages(); });
30250
30251
  return [2 /*return*/];
30251
30252
  });
30252
30253
  });