azure-maps-control 3.2.1 → 3.4.0

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.
@@ -324,7 +324,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
324
324
  return Options;
325
325
  }());
326
326
 
327
- var __extends$1g = (window && window.__extends) || (function () {
327
+ var __extends$1i = (window && window.__extends) || (function () {
328
328
  var extendStatics = function (d, b) {
329
329
  extendStatics = Object.setPrototypeOf ||
330
330
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -359,7 +359,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
359
359
  * @private
360
360
  */
361
361
  var UrlOptions = /** @class */ (function (_super) {
362
- __extends$1g(UrlOptions, _super);
362
+ __extends$1i(UrlOptions, _super);
363
363
  function UrlOptions() {
364
364
  var _this = _super !== null && _super.apply(this, arguments) || this;
365
365
  _this.domain = undefined;
@@ -886,7 +886,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
886
886
  return UserAgent;
887
887
  }());
888
888
 
889
- var version = "3.2.1";
889
+ var version = "3.4.0";
890
890
 
891
891
  /**
892
892
  * A helper class that provides methods for getting various forms of the map controls current version.
@@ -918,7 +918,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
918
918
  return Version;
919
919
  }());
920
920
 
921
- var __extends$1f = (window && window.__extends) || (function () {
921
+ var __extends$1h = (window && window.__extends) || (function () {
922
922
  var extendStatics = function (d, b) {
923
923
  extendStatics = Object.setPrototypeOf ||
924
924
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -992,7 +992,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
992
992
  * Options for specifying how the map control should authenticate with the Azure Maps services.
993
993
  */
994
994
  var AuthenticationOptions = /** @class */ (function (_super) {
995
- __extends$1f(AuthenticationOptions, _super);
995
+ __extends$1h(AuthenticationOptions, _super);
996
996
  function AuthenticationOptions() {
997
997
  var _this = _super !== null && _super.apply(this, arguments) || this;
998
998
  /**
@@ -1608,6 +1608,21 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
1608
1608
  function clearPrewarmedResources() {
1609
1609
  maplibregl.clearPrewarmedResources();
1610
1610
  }
1611
+ /**
1612
+ * Adds a custom load resource function that will be called when using a URL that starts with a custom url schema.
1613
+ * @param customProtocol - the protocol to hook, for example 'custom'
1614
+ * @param loadFn - the function to use when trying to fetch a tile specified by the customProtocol
1615
+ */
1616
+ function addProtocol(customProtocol, loadFn) {
1617
+ maplibregl.addProtocol(customProtocol, loadFn);
1618
+ }
1619
+ /**
1620
+ * Removes a previously added protocol in the main thread.
1621
+ * @param customProtocol - the custom protocol to remove registration for
1622
+ */
1623
+ function removeProtocol(customProtocol) {
1624
+ maplibregl.removeProtocol(customProtocol);
1625
+ }
1611
1626
  /**
1612
1627
  * Returns if authentication options are set.
1613
1628
  * @internal
@@ -1833,7 +1848,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
1833
1848
  eventTarget.addEventListener("keydown", dismissTooltip);
1834
1849
  };
1835
1850
 
1836
- var __extends$1e = (window && window.__extends) || (function () {
1851
+ var __extends$1g = (window && window.__extends) || (function () {
1837
1852
  var extendStatics = function (d, b) {
1838
1853
  extendStatics = Object.setPrototypeOf ||
1839
1854
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -1883,7 +1898,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
1883
1898
  * The options for adding a control to the map.
1884
1899
  */
1885
1900
  var ControlOptions = /** @class */ (function (_super) {
1886
- __extends$1e(ControlOptions, _super);
1901
+ __extends$1g(ControlOptions, _super);
1887
1902
  function ControlOptions() {
1888
1903
  var _this = _super !== null && _super.apply(this, arguments) || this;
1889
1904
  /**
@@ -2027,7 +2042,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
2027
2042
  EventEmitter: EventEmitter
2028
2043
  });
2029
2044
 
2030
- var __extends$1d = (window && window.__extends) || (function () {
2045
+ var __extends$1f = (window && window.__extends) || (function () {
2031
2046
  var extendStatics = function (d, b) {
2032
2047
  extendStatics = Object.setPrototypeOf ||
2033
2048
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -2047,7 +2062,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
2047
2062
  * Implements control interface and provides support for automatic styling based on the map style.
2048
2063
  */
2049
2064
  var ControlBase = /** @class */ (function (_super) {
2050
- __extends$1d(ControlBase, _super);
2065
+ __extends$1f(ControlBase, _super);
2051
2066
  function ControlBase() {
2052
2067
  var _this = _super !== null && _super.apply(this, arguments) || this;
2053
2068
  /**
@@ -2149,7 +2164,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
2149
2164
  return ControlBase;
2150
2165
  }(EventEmitter));
2151
2166
 
2152
- var __extends$1c = (window && window.__extends) || (function () {
2167
+ var __extends$1e = (window && window.__extends) || (function () {
2153
2168
  var extendStatics = function (d, b) {
2154
2169
  extendStatics = Object.setPrototypeOf ||
2155
2170
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -2168,7 +2183,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
2168
2183
  * The options for a CompassControl object.
2169
2184
  */
2170
2185
  var CompassControlOptions = /** @class */ (function (_super) {
2171
- __extends$1c(CompassControlOptions, _super);
2186
+ __extends$1e(CompassControlOptions, _super);
2172
2187
  function CompassControlOptions() {
2173
2188
  var _this = _super !== null && _super.apply(this, arguments) || this;
2174
2189
  /**
@@ -2193,7 +2208,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
2193
2208
  return CompassControlOptions;
2194
2209
  }(Options));
2195
2210
 
2196
- var __extends$1b = (window && window.__extends) || (function () {
2211
+ var __extends$1d = (window && window.__extends) || (function () {
2197
2212
  var extendStatics = function (d, b) {
2198
2213
  extendStatics = Object.setPrototypeOf ||
2199
2214
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -2212,7 +2227,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
2212
2227
  * A control for changing the rotation of the map.
2213
2228
  */
2214
2229
  var CompassControl = /** @class */ (function (_super) {
2215
- __extends$1b(CompassControl, _super);
2230
+ __extends$1d(CompassControl, _super);
2216
2231
  /**
2217
2232
  * Constructs a CompassControl.
2218
2233
  * @param options The options for the control.
@@ -2397,7 +2412,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
2397
2412
  return CompassControl;
2398
2413
  }(ControlBase));
2399
2414
 
2400
- var __extends$1a = (window && window.__extends) || (function () {
2415
+ var __extends$1c = (window && window.__extends) || (function () {
2401
2416
  var extendStatics = function (d, b) {
2402
2417
  extendStatics = Object.setPrototypeOf ||
2403
2418
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -2416,7 +2431,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
2416
2431
  * The options for a PitchControl object.
2417
2432
  */
2418
2433
  var PitchControlOptions = /** @class */ (function (_super) {
2419
- __extends$1a(PitchControlOptions, _super);
2434
+ __extends$1c(PitchControlOptions, _super);
2420
2435
  function PitchControlOptions() {
2421
2436
  var _this = _super !== null && _super.apply(this, arguments) || this;
2422
2437
  /**
@@ -2441,7 +2456,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
2441
2456
  return PitchControlOptions;
2442
2457
  }(Options));
2443
2458
 
2444
- var __extends$19 = (window && window.__extends) || (function () {
2459
+ var __extends$1b = (window && window.__extends) || (function () {
2445
2460
  var extendStatics = function (d, b) {
2446
2461
  extendStatics = Object.setPrototypeOf ||
2447
2462
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -2460,7 +2475,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
2460
2475
  * A control for changing the pitch of the map.
2461
2476
  */
2462
2477
  var PitchControl = /** @class */ (function (_super) {
2463
- __extends$19(PitchControl, _super);
2478
+ __extends$1b(PitchControl, _super);
2464
2479
  /**
2465
2480
  * Constructs a PitchControl.
2466
2481
  * @param options The options for the control.
@@ -2688,7 +2703,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
2688
2703
  return PitchControl;
2689
2704
  }(ControlBase));
2690
2705
 
2691
- var __extends$18 = (window && window.__extends) || (function () {
2706
+ var __extends$1a = (window && window.__extends) || (function () {
2692
2707
  var extendStatics = function (d, b) {
2693
2708
  extendStatics = Object.setPrototypeOf ||
2694
2709
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -2707,7 +2722,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
2707
2722
  * A control to display a scale bar on the map.
2708
2723
  */
2709
2724
  var ScaleControl = /** @class */ (function (_super) {
2710
- __extends$18(ScaleControl, _super);
2725
+ __extends$1a(ScaleControl, _super);
2711
2726
  /**
2712
2727
  * A control to displays a scale bar relative to the pixel resolution at the center of the map.
2713
2728
  * @param options Options for defining how the control is rendered and functions.
@@ -6225,7 +6240,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
6225
6240
 
6226
6241
  var merge$1 = /*@__PURE__*/getDefaultExportFromCjs(merge_1);
6227
6242
 
6228
- var __extends$17 = (window && window.__extends) || (function () {
6243
+ var __extends$19 = (window && window.__extends) || (function () {
6229
6244
  var extendStatics = function (d, b) {
6230
6245
  extendStatics = Object.setPrototypeOf ||
6231
6246
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -6244,7 +6259,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
6244
6259
  * The options for a StyleControl object.
6245
6260
  */
6246
6261
  var StyleControlOptions = /** @class */ (function (_super) {
6247
- __extends$17(StyleControlOptions, _super);
6262
+ __extends$19(StyleControlOptions, _super);
6248
6263
  function StyleControlOptions() {
6249
6264
  var _this = _super !== null && _super.apply(this, arguments) || this;
6250
6265
  /**
@@ -6289,7 +6304,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
6289
6304
  return StyleControlOptions;
6290
6305
  }(Options));
6291
6306
 
6292
- var __extends$16 = (window && window.__extends) || (function () {
6307
+ var __extends$18 = (window && window.__extends) || (function () {
6293
6308
  var extendStatics = function (d, b) {
6294
6309
  extendStatics = Object.setPrototypeOf ||
6295
6310
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -6360,7 +6375,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
6360
6375
  * A control for changing the style of the map.
6361
6376
  */
6362
6377
  var StyleControl = /** @class */ (function (_super) {
6363
- __extends$16(StyleControl, _super);
6378
+ __extends$18(StyleControl, _super);
6364
6379
  /**
6365
6380
  * Constructs a StyleControl.
6366
6381
  * @param options The options for the control.
@@ -6725,7 +6740,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
6725
6740
  return StyleControl;
6726
6741
  }(ControlBase));
6727
6742
 
6728
- var __extends$15 = (window && window.__extends) || (function () {
6743
+ var __extends$17 = (window && window.__extends) || (function () {
6729
6744
  var extendStatics = function (d, b) {
6730
6745
  extendStatics = Object.setPrototypeOf ||
6731
6746
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -6744,7 +6759,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
6744
6759
  * The options for setting traffic on the map.
6745
6760
  */
6746
6761
  var TrafficOptions = /** @class */ (function (_super) {
6747
- __extends$15(TrafficOptions, _super);
6762
+ __extends$17(TrafficOptions, _super);
6748
6763
  function TrafficOptions() {
6749
6764
  var _this = _super !== null && _super.apply(this, arguments) || this;
6750
6765
  /**
@@ -6769,7 +6784,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
6769
6784
  return TrafficOptions;
6770
6785
  }(Options));
6771
6786
 
6772
- var __extends$14 = (window && window.__extends) || (function () {
6787
+ var __extends$16 = (window && window.__extends) || (function () {
6773
6788
  var extendStatics = function (d, b) {
6774
6789
  extendStatics = Object.setPrototypeOf ||
6775
6790
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -6788,7 +6803,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
6788
6803
  * The options for a TrafficControl object.
6789
6804
  */
6790
6805
  var TrafficControlOptions = /** @class */ (function (_super) {
6791
- __extends$14(TrafficControlOptions, _super);
6806
+ __extends$16(TrafficControlOptions, _super);
6792
6807
  function TrafficControlOptions() {
6793
6808
  var _this = _super !== null && _super.apply(this, arguments) || this;
6794
6809
  /**
@@ -6808,7 +6823,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
6808
6823
  return TrafficControlOptions;
6809
6824
  }(TrafficOptions));
6810
6825
 
6811
- var __extends$13 = (window && window.__extends) || (function () {
6826
+ var __extends$15 = (window && window.__extends) || (function () {
6812
6827
  var extendStatics = function (d, b) {
6813
6828
  extendStatics = Object.setPrototypeOf ||
6814
6829
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -6827,7 +6842,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
6827
6842
  * A control that toggles traffic data on the map.
6828
6843
  */
6829
6844
  var TrafficControl = /** @class */ (function (_super) {
6830
- __extends$13(TrafficControl, _super);
6845
+ __extends$15(TrafficControl, _super);
6831
6846
  /**
6832
6847
  * Constructs a TrafficControl
6833
6848
  * @param options The options for the control.
@@ -6954,7 +6969,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
6954
6969
  return TrafficControl;
6955
6970
  }(ControlBase));
6956
6971
 
6957
- var __extends$12 = (window && window.__extends) || (function () {
6972
+ var __extends$14 = (window && window.__extends) || (function () {
6958
6973
  var extendStatics = function (d, b) {
6959
6974
  extendStatics = Object.setPrototypeOf ||
6960
6975
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -6984,7 +6999,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
6984
6999
  * A control that display traffic legend on the map.
6985
7000
  */
6986
7001
  var TrafficLegendControl = /** @class */ (function (_super) {
6987
- __extends$12(TrafficLegendControl, _super);
7002
+ __extends$14(TrafficLegendControl, _super);
6988
7003
  /**
6989
7004
  * Construct a traffic legend control
6990
7005
  */
@@ -7718,7 +7733,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
7718
7733
  return Feature;
7719
7734
  }());
7720
7735
 
7721
- var __extends$11 = (window && window.__extends) || (function () {
7736
+ var __extends$13 = (window && window.__extends) || (function () {
7722
7737
  var extendStatics = function (d, b) {
7723
7738
  extendStatics = Object.setPrototypeOf ||
7724
7739
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -7737,7 +7752,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
7737
7752
  * Represent a pixel coordinate or offset. Extends an array of [x, y].
7738
7753
  */
7739
7754
  var Pixel = /** @class */ (function (_super) {
7740
- __extends$11(Pixel, _super);
7755
+ __extends$13(Pixel, _super);
7741
7756
  /**
7742
7757
  * Constructs a Pixel object and initializes it with the specified x and y coordinates.
7743
7758
  * @param x The horizontal pixel offset.
@@ -9957,7 +9972,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
9957
9972
  return result;
9958
9973
  }
9959
9974
 
9960
- var __extends$10 = (window && window.__extends) || (function () {
9975
+ var __extends$12 = (window && window.__extends) || (function () {
9961
9976
  var extendStatics = function (d, b) {
9962
9977
  extendStatics = Object.setPrototypeOf ||
9963
9978
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -9977,7 +9992,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
9977
9992
  * full description is detailed in [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-3.1.1}.
9978
9993
  */
9979
9994
  var Position = /** @class */ (function (_super) {
9980
- __extends$10(Position, _super);
9995
+ __extends$12(Position, _super);
9981
9996
  /**
9982
9997
  * Constructs a Position.
9983
9998
  * @param longitude The position's longitude.
@@ -10040,10 +10055,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
10040
10055
  Position.fromLatLng = function (y, x, z) {
10041
10056
  var position = [];
10042
10057
  if (typeof y === "number") {
10043
- position.push(y);
10044
10058
  if (typeof x === "number") {
10045
10059
  position.push(x);
10046
10060
  }
10061
+ position.push(y);
10047
10062
  if (typeof z === "number") {
10048
10063
  position.push(z);
10049
10064
  }
@@ -10052,10 +10067,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
10052
10067
  // Assume array is in the form [lat, lng] or [lat, lng, elv]
10053
10068
  if (y.length >= 2 && typeof y[0] === "number" && typeof y[1] === "number") {
10054
10069
  if (y.length >= 3 && typeof y[2] === "number") {
10055
- position.push(y[0], y[1], y[2]);
10070
+ position.push(y[1], y[0], y[2]);
10056
10071
  }
10057
10072
  else {
10058
- position.push(y[0], y[1]);
10073
+ position.push(y[1], y[0]);
10059
10074
  }
10060
10075
  }
10061
10076
  }
@@ -10169,7 +10184,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
10169
10184
  return Polygon;
10170
10185
  }());
10171
10186
 
10172
- var __extends$$ = (window && window.__extends) || (function () {
10187
+ var __extends$11 = (window && window.__extends) || (function () {
10173
10188
  var extendStatics = function (d, b) {
10174
10189
  extendStatics = Object.setPrototypeOf ||
10175
10190
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -10199,7 +10214,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
10199
10214
  * A helper class that wraps a Geometry or Feature and makes it easy to update and maintain.
10200
10215
  */
10201
10216
  var Shape = /** @class */ (function (_super) {
10202
- __extends$$(Shape, _super);
10217
+ __extends$11(Shape, _super);
10203
10218
  function Shape(data, id, properties) {
10204
10219
  var _this = _super.call(this) || this;
10205
10220
  var geometry;
@@ -10495,7 +10510,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
10495
10510
  return Shape;
10496
10511
  }(EventEmitter));
10497
10512
 
10498
- var __extends$_ = (window && window.__extends) || (function () {
10513
+ var __extends$10 = (window && window.__extends) || (function () {
10499
10514
  var extendStatics = function (d, b) {
10500
10515
  extendStatics = Object.setPrototypeOf ||
10501
10516
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -10528,7 +10543,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
10528
10543
  * [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-5}.
10529
10544
  */
10530
10545
  var BoundingBox = /** @class */ (function (_super) {
10531
- __extends$_(BoundingBox, _super);
10546
+ __extends$10(BoundingBox, _super);
10532
10547
  function BoundingBox(southwestPositionOrPositions, northeastPosition) {
10533
10548
  var _this = this;
10534
10549
  if (southwestPositionOrPositions && northeastPosition) {
@@ -11245,7 +11260,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11245
11260
  return MultiPolygon;
11246
11261
  }());
11247
11262
 
11248
- var __extends$Z = (window && window.__extends) || (function () {
11263
+ var __extends$$ = (window && window.__extends) || (function () {
11249
11264
  var extendStatics = function (d, b) {
11250
11265
  extendStatics = Object.setPrototypeOf ||
11251
11266
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -11276,7 +11291,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11276
11291
  * The `z` dimension of `MercatorPoint` is conformal. A cube in the mercator coordinate space would be rendered as a cube.
11277
11292
  */
11278
11293
  var MercatorPoint = /** @class */ (function (_super) {
11279
- __extends$Z(MercatorPoint, _super);
11294
+ __extends$$(MercatorPoint, _super);
11280
11295
  /**
11281
11296
  * Constructs a MercatorPoint.
11282
11297
  * @param x A points x position in mercator units.
@@ -11765,7 +11780,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11765
11780
  simplify: simplify
11766
11781
  });
11767
11782
 
11768
- var __extends$Y = (window && window.__extends) || (function () {
11783
+ var __extends$_ = (window && window.__extends) || (function () {
11769
11784
  var extendStatics = function (d, b) {
11770
11785
  extendStatics = Object.setPrototypeOf ||
11771
11786
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -11784,7 +11799,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11784
11799
  * The options for a ZoomControl object.
11785
11800
  */
11786
11801
  var ZoomControlOptions = /** @class */ (function (_super) {
11787
- __extends$Y(ZoomControlOptions, _super);
11802
+ __extends$_(ZoomControlOptions, _super);
11788
11803
  function ZoomControlOptions() {
11789
11804
  var _this = _super !== null && _super.apply(this, arguments) || this;
11790
11805
  /**
@@ -11804,7 +11819,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11804
11819
  return ZoomControlOptions;
11805
11820
  }(Options));
11806
11821
 
11807
- var __extends$X = (window && window.__extends) || (function () {
11822
+ var __extends$Z = (window && window.__extends) || (function () {
11808
11823
  var extendStatics = function (d, b) {
11809
11824
  extendStatics = Object.setPrototypeOf ||
11810
11825
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -11823,7 +11838,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11823
11838
  * A control for changing the zoom of the map.
11824
11839
  */
11825
11840
  var ZoomControl = /** @class */ (function (_super) {
11826
- __extends$X(ZoomControl, _super);
11841
+ __extends$Z(ZoomControl, _super);
11827
11842
  /**
11828
11843
  * Constructs a ZoomControl.
11829
11844
  * @param options The options for the control.
@@ -12058,7 +12073,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12058
12073
  return AccessibleIndicator;
12059
12074
  }());
12060
12075
 
12061
- var __extends$W = (window && window.__extends) || (function () {
12076
+ var __extends$Y = (window && window.__extends) || (function () {
12062
12077
  var extendStatics = function (d, b) {
12063
12078
  extendStatics = Object.setPrototypeOf ||
12064
12079
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -12080,7 +12095,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12080
12095
  * @module Object Definitions
12081
12096
  */
12082
12097
  var DataSourceOptions = /** @class */ (function (_super) {
12083
- __extends$W(DataSourceOptions, _super);
12098
+ __extends$Y(DataSourceOptions, _super);
12084
12099
  function DataSourceOptions() {
12085
12100
  var _this = _super !== null && _super.apply(this, arguments) || this;
12086
12101
  /*
@@ -12140,7 +12155,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12140
12155
  */
12141
12156
  _this.generateId = false;
12142
12157
  /**
12143
- * A property to use as a feature id (for feature state). Either a property name, or an object of the form {<sourceLayer>: <propertyName>}.
12158
+ * A specified property name to be used as a feature ID (for feature state).
12159
+ * This can either be a property name or an object in the form `{<sourceLayer>: <propertyName>}`.
12144
12160
  */
12145
12161
  _this.promoteId = undefined;
12146
12162
  /**
@@ -12152,7 +12168,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12152
12168
  return DataSourceOptions;
12153
12169
  }(Options));
12154
12170
 
12155
- var __extends$V = (window && window.__extends) || (function () {
12171
+ var __extends$X = (window && window.__extends) || (function () {
12156
12172
  var extendStatics = function (d, b) {
12157
12173
  extendStatics = Object.setPrototypeOf ||
12158
12174
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -12172,7 +12188,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12172
12188
  * A source must be added to a layer before it is visible on the map.
12173
12189
  */
12174
12190
  var Source = /** @class */ (function (_super) {
12175
- __extends$V(Source, _super);
12191
+ __extends$X(Source, _super);
12176
12192
  function Source(id) {
12177
12193
  var _this = _super.call(this) || this;
12178
12194
  _this.id = id || uuid();
@@ -12211,7 +12227,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12211
12227
  return Source;
12212
12228
  }(EventEmitter));
12213
12229
 
12214
- var __extends$U = (window && window.__extends) || (function () {
12230
+ var __extends$W = (window && window.__extends) || (function () {
12215
12231
  var extendStatics = function (d, b) {
12216
12232
  extendStatics = Object.setPrototypeOf ||
12217
12233
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -12243,7 +12259,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12243
12259
  * The DataSource class may be used with the SymbolLayer, LineLayer, PolygonLayer, BubbleLayer, and HeatMapLayer.
12244
12260
  */
12245
12261
  var DataSource = /** @class */ (function (_super) {
12246
- __extends$U(DataSource, _super);
12262
+ __extends$W(DataSource, _super);
12247
12263
  /**
12248
12264
  * A data source class that makes it easy to manage shapes data that will be displayed on the map.
12249
12265
  * A data source must be added to a layer before it is visible on the map.
@@ -12698,7 +12714,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12698
12714
  return DataSource;
12699
12715
  }(Source));
12700
12716
 
12701
- var __extends$T = (window && window.__extends) || (function () {
12717
+ var __extends$V = (window && window.__extends) || (function () {
12702
12718
  var extendStatics = function (d, b) {
12703
12719
  extendStatics = Object.setPrototypeOf ||
12704
12720
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -12720,7 +12736,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12720
12736
  * @module Object Definitions
12721
12737
  */
12722
12738
  var VectorTileSourceOptions = /** @class */ (function (_super) {
12723
- __extends$T(VectorTileSourceOptions, _super);
12739
+ __extends$V(VectorTileSourceOptions, _super);
12724
12740
  function VectorTileSourceOptions() {
12725
12741
  /*
12726
12742
  * TODO:
@@ -12773,7 +12789,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12773
12789
  return VectorTileSourceOptions;
12774
12790
  }(Options));
12775
12791
 
12776
- var __extends$S = (window && window.__extends) || (function () {
12792
+ var __extends$U = (window && window.__extends) || (function () {
12777
12793
  var extendStatics = function (d, b) {
12778
12794
  extendStatics = Object.setPrototypeOf ||
12779
12795
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -12793,7 +12809,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12793
12809
  * Vector tile sources can be used with; SymbolLayer, LineLayer, PolygonLayer, BubbleLayer, HeatmapLayer and VectorTileLayer.
12794
12810
  */
12795
12811
  var VectorTileSource = /** @class */ (function (_super) {
12796
- __extends$S(VectorTileSource, _super);
12812
+ __extends$U(VectorTileSource, _super);
12797
12813
  function VectorTileSource(id, options) {
12798
12814
  var _this = _super.call(this, id) || this;
12799
12815
  _this.options = new VectorTileSourceOptions().merge(cloneDeep$1(options));
@@ -12859,7 +12875,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12859
12875
  return VectorTileSource;
12860
12876
  }(Source));
12861
12877
 
12862
- var __extends$R = (window && window.__extends) || (function () {
12878
+ var __extends$T = (window && window.__extends) || (function () {
12863
12879
  var extendStatics = function (d, b) {
12864
12880
  extendStatics = Object.setPrototypeOf ||
12865
12881
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -12880,7 +12896,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12880
12896
  * @private
12881
12897
  */
12882
12898
  var CanvasSource = /** @class */ (function (_super) {
12883
- __extends$R(CanvasSource, _super);
12899
+ __extends$T(CanvasSource, _super);
12884
12900
  /**
12885
12901
  * Constructs a source from the contents of a layer resource file.
12886
12902
  * @param id The source's id.
@@ -12915,7 +12931,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12915
12931
  return CanvasSource;
12916
12932
  }(Source));
12917
12933
 
12918
- var __extends$Q = (window && window.__extends) || (function () {
12934
+ var __extends$S = (window && window.__extends) || (function () {
12919
12935
  var extendStatics = function (d, b) {
12920
12936
  extendStatics = Object.setPrototypeOf ||
12921
12937
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -12936,7 +12952,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12936
12952
  * @private
12937
12953
  */
12938
12954
  var UnknownSource = /** @class */ (function (_super) {
12939
- __extends$Q(UnknownSource, _super);
12955
+ __extends$S(UnknownSource, _super);
12940
12956
  /**
12941
12957
  * Constructs a source from the contents of a layer resource file.
12942
12958
  * @param id The source's id.
@@ -12968,7 +12984,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12968
12984
  return UnknownSource;
12969
12985
  }(Source));
12970
12986
 
12971
- var __extends$P = (window && window.__extends) || (function () {
12987
+ var __extends$R = (window && window.__extends) || (function () {
12972
12988
  var extendStatics = function (d, b) {
12973
12989
  extendStatics = Object.setPrototypeOf ||
12974
12990
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -12989,7 +13005,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12989
13005
  * @private
12990
13006
  */
12991
13007
  var ImageSource = /** @class */ (function (_super) {
12992
- __extends$P(ImageSource, _super);
13008
+ __extends$R(ImageSource, _super);
12993
13009
  /**
12994
13010
  * Constructs a source from the contents of a layer resource file.
12995
13011
  * @param id The source's id.
@@ -13023,7 +13039,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13023
13039
  return ImageSource;
13024
13040
  }(Source));
13025
13041
 
13026
- var __extends$O = (window && window.__extends) || (function () {
13042
+ var __extends$Q = (window && window.__extends) || (function () {
13027
13043
  var extendStatics = function (d, b) {
13028
13044
  extendStatics = Object.setPrototypeOf ||
13029
13045
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13044,7 +13060,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13044
13060
  * @private
13045
13061
  */
13046
13062
  var VideoSource = /** @class */ (function (_super) {
13047
- __extends$O(VideoSource, _super);
13063
+ __extends$Q(VideoSource, _super);
13048
13064
  /**
13049
13065
  * Constructs a source from the contents of a layer resource file.
13050
13066
  * @param id The source's id.
@@ -13078,7 +13094,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13078
13094
  return VideoSource;
13079
13095
  }(Source));
13080
13096
 
13081
- var __extends$N = (window && window.__extends) || (function () {
13097
+ var __extends$P = (window && window.__extends) || (function () {
13082
13098
  var extendStatics = function (d, b) {
13083
13099
  extendStatics = Object.setPrototypeOf ||
13084
13100
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13094,7 +13110,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13094
13110
  };
13095
13111
  })();
13096
13112
  var RasterTileSourceOptions = /** @class */ (function (_super) {
13097
- __extends$N(RasterTileSourceOptions, _super);
13113
+ __extends$P(RasterTileSourceOptions, _super);
13098
13114
  function RasterTileSourceOptions() {
13099
13115
  var _this = _super !== null && _super.apply(this, arguments) || this;
13100
13116
  /**
@@ -13108,7 +13124,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13108
13124
  return RasterTileSourceOptions;
13109
13125
  }(VectorTileSourceOptions));
13110
13126
 
13111
- var __extends$M = (window && window.__extends) || (function () {
13127
+ var __extends$O = (window && window.__extends) || (function () {
13112
13128
  var extendStatics = function (d, b) {
13113
13129
  extendStatics = Object.setPrototypeOf ||
13114
13130
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13124,7 +13140,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13124
13140
  };
13125
13141
  })();
13126
13142
  var ElevationTileSourceOptions = /** @class */ (function (_super) {
13127
- __extends$M(ElevationTileSourceOptions, _super);
13143
+ __extends$O(ElevationTileSourceOptions, _super);
13128
13144
  function ElevationTileSourceOptions() {
13129
13145
  var _this = _super !== null && _super.apply(this, arguments) || this;
13130
13146
  /**
@@ -13140,7 +13156,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13140
13156
  return ElevationTileSourceOptions;
13141
13157
  }(RasterTileSourceOptions));
13142
13158
 
13143
- var __extends$L = (window && window.__extends) || (function () {
13159
+ var __extends$N = (window && window.__extends) || (function () {
13144
13160
  var extendStatics = function (d, b) {
13145
13161
  extendStatics = Object.setPrototypeOf ||
13146
13162
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13170,7 +13186,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13170
13186
  * Publicly exposed ElevationTileSource.
13171
13187
  */
13172
13188
  var ElevationTileSource = /** @class */ (function (_super) {
13173
- __extends$L(ElevationTileSource, _super);
13189
+ __extends$N(ElevationTileSource, _super);
13174
13190
  function ElevationTileSource(id, options) {
13175
13191
  var _this = _super.call(this, id) || this;
13176
13192
  _this.options = new ElevationTileSourceOptions().merge(cloneDeep$1(options));
@@ -13214,7 +13230,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13214
13230
  VideoSource: VideoSource
13215
13231
  });
13216
13232
 
13217
- var __extends$K = (window && window.__extends) || (function () {
13233
+ var __extends$M = (window && window.__extends) || (function () {
13218
13234
  var extendStatics = function (d, b) {
13219
13235
  extendStatics = Object.setPrototypeOf ||
13220
13236
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13233,7 +13249,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13233
13249
  * Abstract class for other layer classes to extend.
13234
13250
  */
13235
13251
  var Layer = /** @class */ (function (_super) {
13236
- __extends$K(Layer, _super);
13252
+ __extends$M(Layer, _super);
13237
13253
  function Layer(id) {
13238
13254
  var _this =
13239
13255
  // Assign an random id using a UUID if none was specified.
@@ -13340,7 +13356,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13340
13356
  return Layer;
13341
13357
  }(EventEmitter));
13342
13358
 
13343
- var __extends$J = (window && window.__extends) || (function () {
13359
+ var __extends$L = (window && window.__extends) || (function () {
13344
13360
  var extendStatics = function (d, b) {
13345
13361
  extendStatics = Object.setPrototypeOf ||
13346
13362
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13359,7 +13375,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13359
13375
  * A base class which all other layer options inherit from.
13360
13376
  */
13361
13377
  var LayerOptions$1 = /** @class */ (function (_super) {
13362
- __extends$J(LayerOptions, _super);
13378
+ __extends$L(LayerOptions, _super);
13363
13379
  function LayerOptions() {
13364
13380
  var _this = _super !== null && _super.apply(this, arguments) || this;
13365
13381
  /**
@@ -13406,7 +13422,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13406
13422
  return LayerOptions;
13407
13423
  }(Options));
13408
13424
 
13409
- var __extends$I = (window && window.__extends) || (function () {
13425
+ var __extends$K = (window && window.__extends) || (function () {
13410
13426
  var extendStatics = function (d, b) {
13411
13427
  extendStatics = Object.setPrototypeOf ||
13412
13428
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13425,7 +13441,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13425
13441
  * Options used when rendering Point objects in a BubbleLayer.
13426
13442
  */
13427
13443
  var BubbleLayerOptions = /** @class */ (function (_super) {
13428
- __extends$I(BubbleLayerOptions, _super);
13444
+ __extends$K(BubbleLayerOptions, _super);
13429
13445
  function BubbleLayerOptions() {
13430
13446
  var _this = _super !== null && _super.apply(this, arguments) || this;
13431
13447
  /**
@@ -13533,7 +13549,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13533
13549
  return BubbleLayerOptions;
13534
13550
  }(LayerOptions$1));
13535
13551
 
13536
- var __extends$H = (window && window.__extends) || (function () {
13552
+ var __extends$J = (window && window.__extends) || (function () {
13537
13553
  var extendStatics = function (d, b) {
13538
13554
  extendStatics = Object.setPrototypeOf ||
13539
13555
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13613,7 +13629,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13613
13629
  * Renders Point objects as scalable circles (bubbles).
13614
13630
  */
13615
13631
  var BubbleLayer = /** @class */ (function (_super) {
13616
- __extends$H(BubbleLayer, _super);
13632
+ __extends$J(BubbleLayer, _super);
13617
13633
  /**
13618
13634
  * Constructs a new BubbleLayer.
13619
13635
  * @param source The id or instance of a data source which the layer will render.
@@ -13888,7 +13904,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13888
13904
  return BubbleLayer;
13889
13905
  }(Layer));
13890
13906
 
13891
- var __extends$G = (window && window.__extends) || (function () {
13907
+ var __extends$I = (window && window.__extends) || (function () {
13892
13908
  var extendStatics = function (d, b) {
13893
13909
  extendStatics = Object.setPrototypeOf ||
13894
13910
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13907,7 +13923,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13907
13923
  * Options used when rendering Point objects in a HeatMapLayer.
13908
13924
  */
13909
13925
  var HeatMapLayerOptions = /** @class */ (function (_super) {
13910
- __extends$G(HeatMapLayerOptions, _super);
13926
+ __extends$I(HeatMapLayerOptions, _super);
13911
13927
  function HeatMapLayerOptions() {
13912
13928
  var _this = _super !== null && _super.apply(this, arguments) || this;
13913
13929
  /**
@@ -13974,7 +13990,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13974
13990
  return HeatMapLayerOptions;
13975
13991
  }(LayerOptions$1));
13976
13992
 
13977
- var __extends$F = (window && window.__extends) || (function () {
13993
+ var __extends$H = (window && window.__extends) || (function () {
13978
13994
  var extendStatics = function (d, b) {
13979
13995
  extendStatics = Object.setPrototypeOf ||
13980
13996
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13993,7 +14009,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13993
14009
  * Represent the density of data using different colors (HeatMap).
13994
14010
  */
13995
14011
  var HeatMapLayer = /** @class */ (function (_super) {
13996
- __extends$F(HeatMapLayer, _super);
14012
+ __extends$H(HeatMapLayer, _super);
13997
14013
  /**
13998
14014
  * Constructs a new HeatMapLayer.
13999
14015
  * @param source The id or instance of a data source which the layer will render.
@@ -14097,7 +14113,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14097
14113
  return HeatMapLayer;
14098
14114
  }(Layer));
14099
14115
 
14100
- var __extends$E = (window && window.__extends) || (function () {
14116
+ var __extends$G = (window && window.__extends) || (function () {
14101
14117
  var extendStatics = function (d, b) {
14102
14118
  extendStatics = Object.setPrototypeOf ||
14103
14119
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14116,7 +14132,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14116
14132
  * Options used when rendering canvas, image, raster tile, and video layers
14117
14133
  */
14118
14134
  var MediaLayerOptions = /** @class */ (function (_super) {
14119
- __extends$E(MediaLayerOptions, _super);
14135
+ __extends$G(MediaLayerOptions, _super);
14120
14136
  function MediaLayerOptions() {
14121
14137
  var _this = _super !== null && _super.apply(this, arguments) || this;
14122
14138
  /**
@@ -14168,7 +14184,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14168
14184
  return MediaLayerOptions;
14169
14185
  }(LayerOptions$1));
14170
14186
 
14171
- var __extends$D = (window && window.__extends) || (function () {
14187
+ var __extends$F = (window && window.__extends) || (function () {
14172
14188
  var extendStatics = function (d, b) {
14173
14189
  extendStatics = Object.setPrototypeOf ||
14174
14190
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14187,7 +14203,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14187
14203
  * Options used when rendering Point objects in a ImageLayer.
14188
14204
  */
14189
14205
  var ImageLayerOptions = /** @class */ (function (_super) {
14190
- __extends$D(ImageLayerOptions, _super);
14206
+ __extends$F(ImageLayerOptions, _super);
14191
14207
  function ImageLayerOptions() {
14192
14208
  var _this = _super !== null && _super.apply(this, arguments) || this;
14193
14209
  /**
@@ -14217,7 +14233,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14217
14233
  return ImageLayerOptions;
14218
14234
  }(MediaLayerOptions));
14219
14235
 
14220
- var __extends$C = (window && window.__extends) || (function () {
14236
+ var __extends$E = (window && window.__extends) || (function () {
14221
14237
  var extendStatics = function (d, b) {
14222
14238
  extendStatics = Object.setPrototypeOf ||
14223
14239
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14237,7 +14253,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14237
14253
  * @internal
14238
14254
  */
14239
14255
  var SourceBuildingLayer = /** @class */ (function (_super) {
14240
- __extends$C(SourceBuildingLayer, _super);
14256
+ __extends$E(SourceBuildingLayer, _super);
14241
14257
  function SourceBuildingLayer() {
14242
14258
  return _super !== null && _super.apply(this, arguments) || this;
14243
14259
  }
@@ -14255,7 +14271,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14255
14271
  return SourceBuildingLayer;
14256
14272
  }(Layer));
14257
14273
 
14258
- var __extends$B = (window && window.__extends) || (function () {
14274
+ var __extends$D = (window && window.__extends) || (function () {
14259
14275
  var extendStatics = function (d, b) {
14260
14276
  extendStatics = Object.setPrototypeOf ||
14261
14277
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14274,7 +14290,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14274
14290
  * Overlays an image on the map with each corner anchored to a coordinate on the map. Also known as a ground or image overlay.
14275
14291
  */
14276
14292
  var ImageLayer = /** @class */ (function (_super) {
14277
- __extends$B(ImageLayer, _super);
14293
+ __extends$D(ImageLayer, _super);
14278
14294
  /**
14279
14295
  * Constructs a new ImageLayer.
14280
14296
  * @param id The id of the layer. If not specified a random one will be generated.
@@ -14482,7 +14498,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14482
14498
  return ImageLayer;
14483
14499
  }(SourceBuildingLayer));
14484
14500
 
14485
- var __extends$A = (window && window.__extends) || (function () {
14501
+ var __extends$C = (window && window.__extends) || (function () {
14486
14502
  var extendStatics = function (d, b) {
14487
14503
  extendStatics = Object.setPrototypeOf ||
14488
14504
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14502,7 +14518,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14502
14518
  * LineString, MultiLineString, Polygon, and MultiPolygon objects in a line layer.
14503
14519
  */
14504
14520
  var LineLayerOptions = /** @class */ (function (_super) {
14505
- __extends$A(LineLayerOptions, _super);
14521
+ __extends$C(LineLayerOptions, _super);
14506
14522
  function LineLayerOptions() {
14507
14523
  var _this = _super !== null && _super.apply(this, arguments) || this;
14508
14524
  /**
@@ -14602,7 +14618,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14602
14618
  return LineLayerOptions;
14603
14619
  }(LayerOptions$1));
14604
14620
 
14605
- var __extends$z = (window && window.__extends) || (function () {
14621
+ var __extends$B = (window && window.__extends) || (function () {
14606
14622
  var extendStatics = function (d, b) {
14607
14623
  extendStatics = Object.setPrototypeOf ||
14608
14624
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14633,7 +14649,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14633
14649
  * CirclePolygon, LineString, MultiLineString, Polygon, and MultiPolygon objects.
14634
14650
  */
14635
14651
  var LineLayer = /** @class */ (function (_super) {
14636
- __extends$z(LineLayer, _super);
14652
+ __extends$B(LineLayer, _super);
14637
14653
  /**
14638
14654
  * Constructs a new LineLayer.
14639
14655
  * @param source The id or instance of a data source which the layer will render.
@@ -14724,7 +14740,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14724
14740
  return LineLayer;
14725
14741
  }(Layer));
14726
14742
 
14727
- var __extends$y = (window && window.__extends) || (function () {
14743
+ var __extends$A = (window && window.__extends) || (function () {
14728
14744
  var extendStatics = function (d, b) {
14729
14745
  extendStatics = Object.setPrototypeOf ||
14730
14746
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14743,7 +14759,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14743
14759
  * Options used when rendering `Polygon` and `MultiPolygon` objects in a `PolygonExtrusionLayer`.
14744
14760
  */
14745
14761
  var PolygonExtrusionLayerOptions = /** @class */ (function (_super) {
14746
- __extends$y(PolygonExtrusionLayerOptions, _super);
14762
+ __extends$A(PolygonExtrusionLayerOptions, _super);
14747
14763
  function PolygonExtrusionLayerOptions() {
14748
14764
  var _this = _super !== null && _super.apply(this, arguments) || this;
14749
14765
  /**
@@ -14816,7 +14832,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14816
14832
  return PolygonExtrusionLayerOptions;
14817
14833
  }(LayerOptions$1));
14818
14834
 
14819
- var __extends$x = (window && window.__extends) || (function () {
14835
+ var __extends$z = (window && window.__extends) || (function () {
14820
14836
  var extendStatics = function (d, b) {
14821
14837
  extendStatics = Object.setPrototypeOf ||
14822
14838
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14846,7 +14862,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14846
14862
  * Renders extruded filled `Polygon` and `MultiPolygon` objects on the map.
14847
14863
  */
14848
14864
  var PolygonExtrusionLayer = /** @class */ (function (_super) {
14849
- __extends$x(PolygonExtrusionLayer, _super);
14865
+ __extends$z(PolygonExtrusionLayer, _super);
14850
14866
  /**
14851
14867
  * Constructs a new PolygonExtrusionLayer.
14852
14868
  * @param source The id or instance of a data source which the layer will render.
@@ -14934,7 +14950,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14934
14950
  return PolygonExtrusionLayer;
14935
14951
  }(Layer));
14936
14952
 
14937
- var __extends$w = (window && window.__extends) || (function () {
14953
+ var __extends$y = (window && window.__extends) || (function () {
14938
14954
  var extendStatics = function (d, b) {
14939
14955
  extendStatics = Object.setPrototypeOf ||
14940
14956
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14953,7 +14969,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14953
14969
  * Options used when rendering Polygon and MultiPolygon objects in a PolygonLayer.
14954
14970
  */
14955
14971
  var PolygonLayerOptions$1 = /** @class */ (function (_super) {
14956
- __extends$w(PolygonLayerOptions, _super);
14972
+ __extends$y(PolygonLayerOptions, _super);
14957
14973
  function PolygonLayerOptions() {
14958
14974
  var _this = _super !== null && _super.apply(this, arguments) || this;
14959
14975
  /**
@@ -14993,7 +15009,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14993
15009
  return PolygonLayerOptions;
14994
15010
  }(LayerOptions$1));
14995
15011
 
14996
- var __extends$v = (window && window.__extends) || (function () {
15012
+ var __extends$x = (window && window.__extends) || (function () {
14997
15013
  var extendStatics = function (d, b) {
14998
15014
  extendStatics = Object.setPrototypeOf ||
14999
15015
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -15012,7 +15028,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
15012
15028
  * Renders filled Polygon and MultiPolygon objects on the map.
15013
15029
  */
15014
15030
  var PolygonLayer = /** @class */ (function (_super) {
15015
- __extends$v(PolygonLayer, _super);
15031
+ __extends$x(PolygonLayer, _super);
15016
15032
  /**
15017
15033
  * Constructs a new PolygonLayer.
15018
15034
  * @param source The id or instance of a data source which the layer will render.
@@ -15122,7 +15138,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
15122
15138
  return PolygonLayer;
15123
15139
  }(Layer));
15124
15140
 
15125
- var __extends$u = (window && window.__extends) || (function () {
15141
+ var __extends$w = (window && window.__extends) || (function () {
15126
15142
  var extendStatics = function (d, b) {
15127
15143
  extendStatics = Object.setPrototypeOf ||
15128
15144
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -15141,7 +15157,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
15141
15157
  * Options used to customize the icons in a SymbolLayer
15142
15158
  */
15143
15159
  var IconOptions = /** @class */ (function (_super) {
15144
- __extends$u(IconOptions, _super);
15160
+ __extends$w(IconOptions, _super);
15145
15161
  function IconOptions() {
15146
15162
  var _this = _super !== null && _super.apply(this, arguments) || this;
15147
15163
  /**
@@ -15251,7 +15267,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
15251
15267
  return IconOptions;
15252
15268
  }(Options));
15253
15269
 
15254
- var __extends$t = (window && window.__extends) || (function () {
15270
+ var __extends$v = (window && window.__extends) || (function () {
15255
15271
  var extendStatics = function (d, b) {
15256
15272
  extendStatics = Object.setPrototypeOf ||
15257
15273
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -15270,7 +15286,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
15270
15286
  * Options used to customize the text in a SymbolLayer
15271
15287
  */
15272
15288
  var TextOptions = /** @class */ (function (_super) {
15273
- __extends$t(TextOptions, _super);
15289
+ __extends$v(TextOptions, _super);
15274
15290
  function TextOptions() {
15275
15291
  var _this = _super !== null && _super.apply(this, arguments) || this;
15276
15292
  /**
@@ -15450,7 +15466,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
15450
15466
  return TextOptions;
15451
15467
  }(Options));
15452
15468
 
15453
- var __extends$s = (window && window.__extends) || (function () {
15469
+ var __extends$u = (window && window.__extends) || (function () {
15454
15470
  var extendStatics = function (d, b) {
15455
15471
  extendStatics = Object.setPrototypeOf ||
15456
15472
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -15469,7 +15485,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
15469
15485
  * Options used when rendering geometries in a SymbolLayer.
15470
15486
  */
15471
15487
  var SymbolLayerOptions = /** @class */ (function (_super) {
15472
- __extends$s(SymbolLayerOptions, _super);
15488
+ __extends$u(SymbolLayerOptions, _super);
15473
15489
  function SymbolLayerOptions() {
15474
15490
  var _this = _super !== null && _super.apply(this, arguments) || this;
15475
15491
  /**
@@ -15534,7 +15550,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
15534
15550
  return SymbolLayerOptions;
15535
15551
  }(LayerOptions$1));
15536
15552
 
15537
- var __extends$r = (window && window.__extends) || (function () {
15553
+ var __extends$t = (window && window.__extends) || (function () {
15538
15554
  var extendStatics = function (d, b) {
15539
15555
  extendStatics = Object.setPrototypeOf ||
15540
15556
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -15565,7 +15581,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
15565
15581
  * Symbols can also be created for line and polygon data as well.
15566
15582
  */
15567
15583
  var SymbolLayer = /** @class */ (function (_super) {
15568
- __extends$r(SymbolLayer, _super);
15584
+ __extends$t(SymbolLayer, _super);
15569
15585
  /**
15570
15586
  * Constructs a new SymbolLayer.
15571
15587
  * @param source The id or instance of a data source which the layer will render.
@@ -15707,7 +15723,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
15707
15723
  return SymbolLayer;
15708
15724
  }(Layer));
15709
15725
 
15710
- var __extends$q = (window && window.__extends) || (function () {
15726
+ var __extends$s = (window && window.__extends) || (function () {
15711
15727
  var extendStatics = function (d, b) {
15712
15728
  extendStatics = Object.setPrototypeOf ||
15713
15729
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -15738,7 +15754,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
15738
15754
  * @private
15739
15755
  */
15740
15756
  var FundamentalMapSource = /** @class */ (function (_super) {
15741
- __extends$q(FundamentalMapSource, _super);
15757
+ __extends$s(FundamentalMapSource, _super);
15742
15758
  /**
15743
15759
  * Constructs a source from the contents of a layer resource file.
15744
15760
  * @param id The source's id.
@@ -15824,7 +15840,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
15824
15840
  return FundamentalMapSource;
15825
15841
  }(Source));
15826
15842
 
15827
- var __extends$p = (window && window.__extends) || (function () {
15843
+ var __extends$r = (window && window.__extends) || (function () {
15828
15844
  var extendStatics = function (d, b) {
15829
15845
  extendStatics = Object.setPrototypeOf ||
15830
15846
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -15843,7 +15859,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
15843
15859
  * Options used when rendering raster tiled images in a TileLayer.
15844
15860
  */
15845
15861
  var TileLayerOptions = /** @class */ (function (_super) {
15846
- __extends$p(TileLayerOptions, _super);
15862
+ __extends$r(TileLayerOptions, _super);
15847
15863
  function TileLayerOptions() {
15848
15864
  var _this = _super !== null && _super.apply(this, arguments) || this;
15849
15865
  /**
@@ -15899,7 +15915,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
15899
15915
  return TileLayerOptions;
15900
15916
  }(MediaLayerOptions));
15901
15917
 
15902
- var __extends$o = (window && window.__extends) || (function () {
15918
+ var __extends$q = (window && window.__extends) || (function () {
15903
15919
  var extendStatics = function (d, b) {
15904
15920
  extendStatics = Object.setPrototypeOf ||
15905
15921
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -15940,7 +15956,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
15940
15956
  * Renders raster tiled images on top of the map tiles.
15941
15957
  */
15942
15958
  var TileLayer = /** @class */ (function (_super) {
15943
- __extends$o(TileLayer, _super);
15959
+ __extends$q(TileLayer, _super);
15944
15960
  /**
15945
15961
  * Constructs a new TileLayer.
15946
15962
  * @param options The options for the tile layer.
@@ -16093,7 +16109,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
16093
16109
  return TileLayer;
16094
16110
  }(SourceBuildingLayer));
16095
16111
 
16096
- var __extends$n = (window && window.__extends) || (function () {
16112
+ var __extends$p = (window && window.__extends) || (function () {
16097
16113
  var extendStatics = function (d, b) {
16098
16114
  extendStatics = Object.setPrototypeOf ||
16099
16115
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -16112,7 +16128,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
16112
16128
  * Options used to render graphics in a WebGLLayer.
16113
16129
  */
16114
16130
  var WebGLLayerOptions = /** @class */ (function (_super) {
16115
- __extends$n(WebGLLayerOptions, _super);
16131
+ __extends$p(WebGLLayerOptions, _super);
16116
16132
  function WebGLLayerOptions() {
16117
16133
  var _this = _super !== null && _super.apply(this, arguments) || this;
16118
16134
  /**
@@ -16124,7 +16140,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
16124
16140
  return WebGLLayerOptions;
16125
16141
  }(LayerOptions$1));
16126
16142
 
16127
- var __extends$m = (window && window.__extends) || (function () {
16143
+ var __extends$o = (window && window.__extends) || (function () {
16128
16144
  var extendStatics = function (d, b) {
16129
16145
  extendStatics = Object.setPrototypeOf ||
16130
16146
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -16143,7 +16159,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
16143
16159
  * Enables custom rendering logic with access to the WebGL context of the map.
16144
16160
  */
16145
16161
  var WebGLLayer = /** @class */ (function (_super) {
16146
- __extends$m(WebGLLayer, _super);
16162
+ __extends$o(WebGLLayer, _super);
16147
16163
  /**
16148
16164
  * Constructs a new WebGLLayer.
16149
16165
  * @param id The id of the layer. If not specified a random one will be generated.
@@ -16376,7 +16392,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
16376
16392
 
16377
16393
  var isElement$1 = /*@__PURE__*/getDefaultExportFromCjs(isElement_1);
16378
16394
 
16379
- var __extends$l = (window && window.__extends) || (function () {
16395
+ var __extends$n = (window && window.__extends) || (function () {
16380
16396
  var extendStatics = function (d, b) {
16381
16397
  extendStatics = Object.setPrototypeOf ||
16382
16398
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -16395,7 +16411,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
16395
16411
  * The options for a popup.
16396
16412
  */
16397
16413
  var PopupOptions = /** @class */ (function (_super) {
16398
- __extends$l(PopupOptions, _super);
16414
+ __extends$n(PopupOptions, _super);
16399
16415
  function PopupOptions() {
16400
16416
  var _this = _super !== null && _super.apply(this, arguments) || this;
16401
16417
  /**
@@ -16464,7 +16480,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
16464
16480
  return PopupOptions;
16465
16481
  }(Options));
16466
16482
 
16467
- var __extends$k = (window && window.__extends) || (function () {
16483
+ var __extends$m = (window && window.__extends) || (function () {
16468
16484
  var extendStatics = function (d, b) {
16469
16485
  extendStatics = Object.setPrototypeOf ||
16470
16486
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -16499,7 +16515,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
16499
16515
  * An information window anchored at a specified position on a map.
16500
16516
  */
16501
16517
  var Popup = /** @class */ (function (_super) {
16502
- __extends$k(Popup, _super);
16518
+ __extends$m(Popup, _super);
16503
16519
  /**
16504
16520
  * Constructs a Popup object and initializes it with the specified options.
16505
16521
  * @param options The options for the popup.
@@ -16973,7 +16989,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
16973
16989
  return Popup;
16974
16990
  }(EventEmitter));
16975
16991
 
16976
- var __extends$j = (window && window.__extends) || (function () {
16992
+ var __extends$l = (window && window.__extends) || (function () {
16977
16993
  var extendStatics = function (d, b) {
16978
16994
  extendStatics = Object.setPrototypeOf ||
16979
16995
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -16992,7 +17008,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
16992
17008
  * Options for rendering an HtmlMarker object
16993
17009
  */
16994
17010
  var HtmlMarkerOptions = /** @class */ (function (_super) {
16995
- __extends$j(HtmlMarkerOptions, _super);
17011
+ __extends$l(HtmlMarkerOptions, _super);
16996
17012
  function HtmlMarkerOptions() {
16997
17013
  var _this = _super !== null && _super.apply(this, arguments) || this;
16998
17014
  /**
@@ -17070,7 +17086,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
17070
17086
  return HtmlMarkerOptions;
17071
17087
  }(Options));
17072
17088
 
17073
- var __extends$i = (window && window.__extends) || (function () {
17089
+ var __extends$k = (window && window.__extends) || (function () {
17074
17090
  var extendStatics = function (d, b) {
17075
17091
  extendStatics = Object.setPrototypeOf ||
17076
17092
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -17089,7 +17105,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
17089
17105
  * This class wraps an HTML element that can be displayed on the map.
17090
17106
  */
17091
17107
  var HtmlMarker = /** @class */ (function (_super) {
17092
- __extends$i(HtmlMarker, _super);
17108
+ __extends$k(HtmlMarker, _super);
17093
17109
  /**
17094
17110
  * Constructs a new HtmlMarker.
17095
17111
  * @param options The options for the HtmlMarker.
@@ -17388,7 +17404,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
17388
17404
  return Media;
17389
17405
  }());
17390
17406
 
17391
- var __extends$h = (window && window.__extends) || (function () {
17407
+ var __extends$j = (window && window.__extends) || (function () {
17392
17408
  var extendStatics = function (d, b) {
17393
17409
  extendStatics = Object.setPrototypeOf ||
17394
17410
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -17407,7 +17423,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
17407
17423
  * The options for a CopyrightControl object.
17408
17424
  */
17409
17425
  var CopyrightControlOptions = /** @class */ (function (_super) {
17410
- __extends$h(CopyrightControlOptions, _super);
17426
+ __extends$j(CopyrightControlOptions, _super);
17411
17427
  function CopyrightControlOptions() {
17412
17428
  var _this = _super !== null && _super.apply(this, arguments) || this;
17413
17429
  /**
@@ -17436,7 +17452,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
17436
17452
  return CopyrightControlOptions;
17437
17453
  }(Options));
17438
17454
 
17439
- var __extends$g = (window && window.__extends) || (function () {
17455
+ var __extends$i = (window && window.__extends) || (function () {
17440
17456
  var extendStatics = function (d, b) {
17441
17457
  extendStatics = Object.setPrototypeOf ||
17442
17458
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -17455,7 +17471,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
17455
17471
  * @private
17456
17472
  */
17457
17473
  var CopyrightControl = /** @class */ (function (_super) {
17458
- __extends$g(CopyrightControl, _super);
17474
+ __extends$i(CopyrightControl, _super);
17459
17475
  function CopyrightControl(options) {
17460
17476
  var _this = _super.call(this) || this;
17461
17477
  _this.textAttribution = function (options) {
@@ -17477,13 +17493,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
17477
17493
  CopyrightControl.prototype.onAdd = function (map) {
17478
17494
  this.map = map;
17479
17495
  this.container = this.buildContainer(map, exports.ControlStyle.auto);
17480
- this.container.className = "map-copyright";
17496
+ this.container.className = "map-copyright without-bg";
17481
17497
  this.copyrightDiv = this.buildCopyrightDiv();
17482
17498
  this.copyrightDiv.className = "azure-map-copyright";
17483
17499
  this.container.appendChild(this.copyrightDiv);
17484
- if (this.options.showLogo) {
17485
- this.addRemoveLogo(true);
17486
- }
17487
17500
  if (this.options.showFeedbackLink) {
17488
17501
  this.addRemoveFeedbackDiv(true);
17489
17502
  }
@@ -17513,12 +17526,6 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
17513
17526
  }
17514
17527
  this.options.copyrightContent = newOptions.copyrightContent;
17515
17528
  }
17516
- if (!newOptions.showLogo && this.logoAnchor) {
17517
- this.addRemoveLogo(false);
17518
- }
17519
- else if (newOptions.showLogo && !this.logoAnchor) {
17520
- this.addRemoveLogo(true);
17521
- }
17522
17529
  if (!newOptions.showFeedbackLink && this.feedbackAnchor) {
17523
17530
  this.addRemoveFeedbackDiv(false);
17524
17531
  }
@@ -17544,31 +17551,138 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
17544
17551
  var link = document.createElement("a");
17545
17552
  link.setAttribute("alt", "Provide Map Data Feedback");
17546
17553
  link.setAttribute("aria-label", "Provide Map Data Feedback");
17554
+ link.innerText = "Feedback";
17547
17555
  link.href = CopyrightControl.feedbackLink;
17548
17556
  link.target = "_blank";
17549
17557
  link.rel = "noopener";
17550
- link.className = "azure-map-feedback";
17558
+ link.className = "azure-map-feedback-text";
17551
17559
  return link;
17552
17560
  };
17553
17561
  CopyrightControl.prototype.addRemoveFeedbackDiv = function (add) {
17554
17562
  var _a, _b, _c, _d;
17555
17563
  if (add) {
17556
17564
  this.feedbackAnchor = this.buildFeedbackLink();
17557
- this.tooltip = buildAccessibleTooltip("Provide Map Data Feedback");
17565
+ this.feedbackTooltip = buildAccessibleTooltip("Provide Map Data Feedback");
17558
17566
  this.container.appendChild(this.feedbackAnchor);
17559
- this.container.appendChild(this.tooltip);
17560
- positionTooltip(this.tooltip, this.feedbackAnchor);
17567
+ this.container.appendChild(this.feedbackTooltip);
17568
+ positionTooltip(this.feedbackTooltip, this.feedbackAnchor);
17561
17569
  (_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a.events) === null || _b === void 0 ? void 0 : _b.add("moveend", this.updateFeedbackLink);
17562
17570
  }
17563
17571
  else {
17564
17572
  this.feedbackAnchor.remove();
17565
- this.tooltip.remove();
17566
- delete this.tooltip;
17573
+ this.feedbackTooltip.remove();
17574
+ delete this.feedbackTooltip;
17567
17575
  delete this.feedbackAnchor;
17568
17576
  (_d = (_c = this.map) === null || _c === void 0 ? void 0 : _c.events) === null || _d === void 0 ? void 0 : _d.remove("moveend", this.updateFeedbackLink);
17569
17577
  }
17570
17578
  };
17571
- CopyrightControl.prototype.addRemoveLogo = function (add) {
17579
+ CopyrightControl.feedbackLink = "https://aka.ms/azuremaps-feedback?feedbackep=UrlAzureMapsWebSdk";
17580
+ return CopyrightControl;
17581
+ }(ControlBase));
17582
+
17583
+ var __extends$h = (window && window.__extends) || (function () {
17584
+ var extendStatics = function (d, b) {
17585
+ extendStatics = Object.setPrototypeOf ||
17586
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
17587
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
17588
+ return extendStatics(d, b);
17589
+ };
17590
+ return function (d, b) {
17591
+ if (typeof b !== "function" && b !== null)
17592
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
17593
+ extendStatics(d, b);
17594
+ function __() { this.constructor = d; }
17595
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
17596
+ };
17597
+ })();
17598
+ /**
17599
+ * The options for a LogoControl object.
17600
+ */
17601
+ var LogoControlOptions = /** @class */ (function (_super) {
17602
+ __extends$h(LogoControlOptions, _super);
17603
+ function LogoControlOptions() {
17604
+ var _this = _super !== null && _super.apply(this, arguments) || this;
17605
+ /**
17606
+ * If true will show the Microsoft logo.
17607
+ */
17608
+ _this.showLogo = true;
17609
+ return _this;
17610
+ }
17611
+ return LogoControlOptions;
17612
+ }(Options));
17613
+
17614
+ var __extends$g = (window && window.__extends) || (function () {
17615
+ var extendStatics = function (d, b) {
17616
+ extendStatics = Object.setPrototypeOf ||
17617
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
17618
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
17619
+ return extendStatics(d, b);
17620
+ };
17621
+ return function (d, b) {
17622
+ if (typeof b !== "function" && b !== null)
17623
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
17624
+ extendStatics(d, b);
17625
+ function __() { this.constructor = d; }
17626
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
17627
+ };
17628
+ })();
17629
+ /**
17630
+ * A control that displays the logo on the map.
17631
+ * @private
17632
+ */
17633
+ var LogoControl = /** @class */ (function (_super) {
17634
+ __extends$g(LogoControl, _super);
17635
+ /**
17636
+ * Construct a control
17637
+ */
17638
+ function LogoControl(options) {
17639
+ var _this = _super.call(this) || this;
17640
+ _this.map = null;
17641
+ /**
17642
+ * Set visibility of the control based on the container width.
17643
+ */
17644
+ _this._onResize = function () {
17645
+ var _a, _b;
17646
+ var width = ((_b = (_a = _this.map) === null || _a === void 0 ? void 0 : _a.getMapContainer()) === null || _b === void 0 ? void 0 : _b.clientWidth) || 0;
17647
+ _this._setVisiblity(_this.options.showLogo && width >= LogoControl.CONTAINER_MIN_WIDTH);
17648
+ };
17649
+ _this.options = new LogoControlOptions().merge(options);
17650
+ return _this;
17651
+ }
17652
+ /**
17653
+ * Initialization method for the control which is called when added to the map.
17654
+ * @param map The map that the control will be added to.
17655
+ * @param options The ControlOptions for this control.
17656
+ * @return An HTMLElement to be placed on the map for the control.
17657
+ */
17658
+ LogoControl.prototype.onAdd = function (map) {
17659
+ var _a;
17660
+ this.map = map;
17661
+ this.container = this.buildContainer(map, exports.ControlStyle.auto);
17662
+ this.container.className = "map-logo-control";
17663
+ (_a = this.map) === null || _a === void 0 ? void 0 : _a.events.add("resize", this._onResize);
17664
+ this._addRemoveLogo(this.options.showLogo);
17665
+ return this.container;
17666
+ };
17667
+ LogoControl.prototype.onRemove = function () {
17668
+ var _a;
17669
+ _super.prototype.onRemove.call(this);
17670
+ (_a = this.map) === null || _a === void 0 ? void 0 : _a.events.remove("resize", this._onResize);
17671
+ this.map = null;
17672
+ delete this.container;
17673
+ };
17674
+ LogoControl.prototype.setOptions = function (options) {
17675
+ var newOptions = new LogoControlOptions().merge(this.options, options);
17676
+ if (!newOptions.showLogo && this.logoAnchor) {
17677
+ this._addRemoveLogo(false);
17678
+ }
17679
+ else if (newOptions.showLogo && !this.logoAnchor) {
17680
+ this._addRemoveLogo(true);
17681
+ }
17682
+ this.options = newOptions;
17683
+ };
17684
+ LogoControl.prototype._addRemoveLogo = function (add) {
17685
+ var _a, _b;
17572
17686
  if (add) {
17573
17687
  this.logoAnchor = document.createElement("a");
17574
17688
  this.logoAnchor.className = "azure-map-logo";
@@ -17579,15 +17693,25 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
17579
17693
  this.logoTooltip = buildAccessibleTooltip("Visit azure.microsoft.com");
17580
17694
  this.container.appendChild(this.logoTooltip);
17581
17695
  positionTooltip(this.logoTooltip, this.logoAnchor);
17696
+ this._setVisiblity(true);
17582
17697
  }
17583
17698
  else {
17584
- this.logoAnchor.remove();
17585
- this.logoTooltip.remove();
17699
+ (_a = this.logoAnchor) === null || _a === void 0 ? void 0 : _a.remove();
17700
+ (_b = this.logoTooltip) === null || _b === void 0 ? void 0 : _b.remove();
17586
17701
  delete this.logoAnchor;
17702
+ this._setVisiblity(false);
17587
17703
  }
17588
17704
  };
17589
- CopyrightControl.feedbackLink = "https://aka.ms/azuremapsdatafeedback?feedbackep=UrlAzureMapsWebSdk";
17590
- return CopyrightControl;
17705
+ /**
17706
+ * Set visibility of the control.
17707
+ */
17708
+ LogoControl.prototype._setVisiblity = function (visible) {
17709
+ if (this.container) {
17710
+ this.container.style.display = visible ? "flex" : "none";
17711
+ }
17712
+ };
17713
+ LogoControl.CONTAINER_MIN_WIDTH = 480; // The minimum width of the container to show the logo, 5 copyright texts, and the feedback link.
17714
+ return LogoControl;
17591
17715
  }(ControlBase));
17592
17716
 
17593
17717
  var __assign$4 = (window && window.__assign) || function () {
@@ -19221,6 +19345,17 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19221
19345
  _this.layers = mbLayers;
19222
19346
  return _this;
19223
19347
  }
19348
+ /**
19349
+ * Gets the options of the layer.
19350
+ */
19351
+ FundamentalMapLayer.prototype.getOptions = function () {
19352
+ return {};
19353
+ };
19354
+ /**
19355
+ * Sets the options of the layer.
19356
+ * @param options The new options of the layer.
19357
+ */
19358
+ FundamentalMapLayer.prototype.setOptions = function (options) { return; };
19224
19359
  /**
19225
19360
  * @internal
19226
19361
  */
@@ -22082,7 +22217,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
22082
22217
  if (!_this.indoorState) {
22083
22218
  return !style.name.includes('indoor');
22084
22219
  // NOTE: azure-maps-indoor prior to 2.0.7 will not pass theme auto
22085
- // the IndoorModule will request getTheme() from StyleManager and will call StyleManager.setStyleSet(theme == 'dark ? 'indoor_dark' : 'indoor') as approperaite
22220
+ // the IndoorModule will request getTheme() from StyleManager and will call StyleManager.setStyleSet(theme == 'dark ? 'indoor_dark' : 'indoor') as approperaite
22086
22221
  }
22087
22222
  else if (_this.indoorState.theme === 'auto') {
22088
22223
  return style.name.endsWith(style.theme === 'dark' ? '_indoor_dark' : '_indoor');
@@ -22107,7 +22242,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
22107
22242
  styleVersion: definitions.version !== undefined && definitions.version !== null
22108
22243
  ? definitions.version
22109
22244
  : _this.serviceOptions.styleDefinitionsVersion,
22110
- // thus far we don't need to differentiate based on parameter here, as stylePatch will be called on cached styles as well
22245
+ // thus far we don't need to differentiate based on parameter here, as stylePatch will be called on cached styles as well
22111
22246
  //language: styleOptions.language
22112
22247
  // add MapControlVersion to make sure we have different local cache between map control versions
22113
22248
  mcv: version.replace(/\./g, '')
@@ -22224,7 +22359,14 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
22224
22359
  }
22225
22360
  if (layer) {
22226
22361
  var sourcesToCopy = new Set(Array.from(userLayer.layer._getSourceIds())
22227
- .map(function (sourceId) { return previousStyle.sources[sourceId] ? { source: previousStyle.sources[sourceId], id: sourceId } : undefined; })
22362
+ .map(function (sourceId) {
22363
+ // If source is already present in the target style, skip copy
22364
+ if (style.sources[sourceId]) {
22365
+ return undefined;
22366
+ }
22367
+ var source = previousStyle.sources[sourceId];
22368
+ return source ? { source: source, id: sourceId } : undefined;
22369
+ })
22228
22370
  .filter(function (source) { return source !== undefined; }));
22229
22371
  var insertIdx = beforeLayerId ? style.layers.findIndex(function (layer) { return layer.id === beforeLayerId; }) : -1;
22230
22372
  if (insertIdx > -1) {
@@ -22260,7 +22402,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
22260
22402
  // FIXME: below diffing will be soon fixed on the maplibre side
22261
22403
  // If there was a previous styledata change event attached, remove it.
22262
22404
  // When the sprite url changes between style changes then maplibre can't perform the diff
22263
- // In such cases it recalculate the style again. Removing previous attached
22405
+ // In such cases it recalculate the style again. Removing previous attached
22264
22406
  // event listener makes sure that style changed event is not fired twice in these cases.
22265
22407
  _this.map.events.remove("styledata", styleDataCallback);
22266
22408
  _this.map.events.addOnce("styledata", styleDataCallback);
@@ -22736,7 +22878,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
22736
22878
  /**
22737
22879
  * The callback used when styleOptions.autoResize is true.
22738
22880
  */
22739
- _this._windowResizeCallback = function () { return _this.resize(); };
22881
+ _this._resizeCallback = function () { return _this.resize(); };
22740
22882
  // Update global defaults based on which options were specified to this constructor.
22741
22883
  _this._updateGlobalDefaults(options);
22742
22884
  _this.serviceOptions = new ServiceOptions().merge(options);
@@ -22827,6 +22969,13 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
22827
22969
  _this.controls.add(_this.copyrightControl, {
22828
22970
  position: exports.ControlPosition.NonFixed
22829
22971
  });
22972
+ // Add logo control to occupy the bottom left corner of the map.
22973
+ _this.logoControl = new LogoControl({
22974
+ showLogo: _this.styleOptions.showLogo
22975
+ });
22976
+ _this.controls.add(_this.logoControl, {
22977
+ position: exports.ControlPosition.BottomLeft
22978
+ });
22830
22979
  // Initialize state of map
22831
22980
  // --> Initialize the authentication manager
22832
22981
  var authManInit = _this.authentication ?
@@ -23012,8 +23161,9 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
23012
23161
  if ('maxPitch' in options) {
23013
23162
  this.map.setMaxPitch(options.maxPitch);
23014
23163
  }
23015
- this.map.setMaxZoom(cameraBoundsOptions.maxZoom);
23016
- this._invokeEvent("maxzoomchanged", this.map.getMaxZoom());
23164
+ if ('minZoom' in options) {
23165
+ this.map.setMinZoom(options.minZoom);
23166
+ }
23017
23167
  maxBounds = this._generateSafeBounds(cameraBoundsOptions.maxBounds);
23018
23168
  }
23019
23169
  else {
@@ -23134,6 +23284,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
23134
23284
  // Add or remove the logo if needed.
23135
23285
  if (newOptions.showLogo !== this.styleOptions.showLogo) {
23136
23286
  this.copyrightControl.setOptions({ showLogo: newOptions.showLogo });
23287
+ this.logoControl.setOptions({ showLogo: newOptions.showLogo });
23137
23288
  }
23138
23289
  // Update showing tile boundaries if needed.
23139
23290
  if (newOptions.showTileBoundaries !== this.styleOptions.showTileBoundaries) {
@@ -23712,13 +23863,14 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
23712
23863
  * Clean up the map's resources. Map will not function correctly after calling this method.
23713
23864
  */
23714
23865
  Map.prototype.dispose = function () {
23715
- var _a;
23866
+ var _a, _b;
23716
23867
  this.clear();
23717
23868
  this.map.remove();
23718
23869
  (_a = this.authentication) === null || _a === void 0 ? void 0 : _a.dispose();
23719
23870
  this.removed = true;
23720
23871
  // Remove event listeners
23721
- window.removeEventListener("resize", this._windowResizeCallback);
23872
+ (_b = this.resizeObserver) === null || _b === void 0 ? void 0 : _b.disconnect();
23873
+ this.resizeObserver = null;
23722
23874
  while (this.getMapContainer().firstChild) {
23723
23875
  var currChild = this.getMapContainer().firstChild;
23724
23876
  this.getMapContainer().removeChild(currChild);
@@ -23947,10 +24099,15 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
23947
24099
  */
23948
24100
  Map.prototype._setAutoResize = function (autoResize) {
23949
24101
  if (autoResize) {
23950
- window.addEventListener("resize", this._windowResizeCallback);
24102
+ if (!this.resizeObserver) {
24103
+ this.resizeObserver = new ResizeObserver(this._resizeCallback);
24104
+ }
24105
+ this.resizeObserver.observe(this.map.getContainer());
23951
24106
  }
23952
24107
  else {
23953
- window.removeEventListener("resize", this._windowResizeCallback);
24108
+ if (this.resizeObserver) {
24109
+ this.resizeObserver.unobserve(this.map.getContainer());
24110
+ }
23954
24111
  }
23955
24112
  };
23956
24113
  /**
@@ -24675,6 +24832,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
24675
24832
  exports._hasSetView = _hasSetView;
24676
24833
  exports._hasWorkerCount = _hasWorkerCount;
24677
24834
  exports.addImageTemplate = addImageTemplate;
24835
+ exports.addProtocol = addProtocol;
24678
24836
  exports.clearPrewarmedResources = clearPrewarmedResources;
24679
24837
  exports.control = index$2;
24680
24838
  exports.data = index$4;
@@ -24699,6 +24857,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
24699
24857
  exports.layer = index;
24700
24858
  exports.math = index$3;
24701
24859
  exports.prewarm = prewarm;
24860
+ exports.removeProtocol = removeProtocol;
24702
24861
  exports.setAuthenticationOptions = setAuthenticationOptions;
24703
24862
  exports.setDomain = setDomain;
24704
24863
  exports.setLanguage = setLanguage;