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.
@@ -77,7 +77,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
77
77
  }
78
78
 
79
79
  var azuremapsMaplibreGlUnminified = createCommonjsModule(function (module, exports) {
80
- /* The Azure Maps fork of MapLibre GL JS is licensed under the 3-Clause BSD License. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v1.16.0/LICENSE.txt */
80
+ /* The Azure Maps fork of MapLibre GL JS is licensed under the 3-Clause BSD License. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v1.16.1/LICENSE.txt */
81
81
  (function (global, factory) {
82
82
  module.exports = factory() ;
83
83
  }(commonjsGlobal, (function () {
@@ -109,7 +109,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
109
109
  return module = { exports: {} }, fn(module, module.exports), module.exports;
110
110
  }
111
111
 
112
- var version = "1.16.0";
112
+ var version = "1.16.1";
113
113
 
114
114
  var unitbezier = UnitBezier;
115
115
  function UnitBezier(p1x, p1y, p2x, p2y) {
@@ -441,7 +441,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
441
441
  }
442
442
  function uuid() {
443
443
  function b(a) {
444
- return a ? (a ^ Math.random() * 16 >> a / 4).toString(16) : ([10000000] + -[1000] + -4000 + -8000 + -100000000000).replace(/[018]/g, b);
444
+ var rand = window$1.crypto.getRandomValues(new Uint32Array(1))[0] / Math.pow(2, 32);
445
+ return a ? (a ^ rand * 16 >> a / 4).toString(16) : ([10000000] + -[1000] + -4000 + -8000 + -100000000000).replace(/[018]/g, b);
445
446
  }
446
447
  return b();
447
448
  }
@@ -43476,7 +43477,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
43476
43477
  return Url;
43477
43478
  }());
43478
43479
 
43479
- var version = "2.3.0";
43480
+ var version = "2.3.1";
43480
43481
 
43481
43482
  /**
43482
43483
  * A helper class that provides methods for getting various forms of the map controls current version.
@@ -65712,9 +65713,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
65712
65713
  Map.prototype._rebuildStyle = function (diff) {
65713
65714
  if (diff === void 0) { diff = true; }
65714
65715
  return __awaiter$4(this, void 0, void 0, function () {
65716
+ var _this = this;
65715
65717
  return __generator$4(this, function (_a) {
65716
65718
  this.styles.setStyle(this.styleOptions, diff);
65717
- this.imageSprite._restoreImages();
65719
+ this.events.addOnce("stylechanged", function () { return _this.imageSprite._restoreImages(); });
65718
65720
  return [2 /*return*/];
65719
65721
  });
65720
65722
  });
@@ -77,7 +77,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
77
77
  }
78
78
 
79
79
  var azuremapsMaplibreGlUnminified = createCommonjsModule(function (module, exports) {
80
- /* The Azure Maps fork of MapLibre GL JS is licensed under the 3-Clause BSD License. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v1.16.0/LICENSE.txt */
80
+ /* The Azure Maps fork of MapLibre GL JS is licensed under the 3-Clause BSD License. Full text of license: https://github.com/maplibre/maplibre-gl-js/blob/v1.16.1/LICENSE.txt */
81
81
  (function (global, factory) {
82
82
  module.exports = factory() ;
83
83
  }(commonjsGlobal, (function () {
@@ -109,7 +109,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
109
109
  return module = { exports: {} }, fn(module, module.exports), module.exports;
110
110
  }
111
111
 
112
- var version = "1.16.0";
112
+ var version = "1.16.1";
113
113
 
114
114
  var unitbezier = UnitBezier;
115
115
  function UnitBezier(p1x, p1y, p2x, p2y) {
@@ -441,7 +441,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
441
441
  }
442
442
  function uuid() {
443
443
  function b(a) {
444
- return a ? (a ^ Math.random() * 16 >> a / 4).toString(16) : ([10000000] + -[1000] + -4000 + -8000 + -100000000000).replace(/[018]/g, b);
444
+ var rand = window$1.crypto.getRandomValues(new Uint32Array(1))[0] / Math.pow(2, 32);
445
+ return a ? (a ^ rand * 16 >> a / 4).toString(16) : ([10000000] + -[1000] + -4000 + -8000 + -100000000000).replace(/[018]/g, b);
445
446
  }
446
447
  return b();
447
448
  }
@@ -43476,7 +43477,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
43476
43477
  return Url;
43477
43478
  }());
43478
43479
 
43479
- var version = "2.3.0";
43480
+ var version = "2.3.1";
43480
43481
 
43481
43482
  /**
43482
43483
  * A helper class that provides methods for getting various forms of the map controls current version.
@@ -73437,9 +73438,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
73437
73438
  Map.prototype._rebuildStyle = function (diff) {
73438
73439
  if (diff === void 0) { diff = true; }
73439
73440
  return __awaiter$5(this, void 0, void 0, function () {
73441
+ var _this = this;
73440
73442
  return __generator$5(this, function (_a) {
73441
73443
  this.styles.setStyle(this.styleOptions, diff);
73442
- this.imageSprite._restoreImages();
73444
+ this.events.addOnce("stylechanged", function () { return _this.imageSprite._restoreImages(); });
73443
73445
  return [2 /*return*/];
73444
73446
  });
73445
73447
  });