azure-maps-control 2.3.4 → 2.3.6

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.
@@ -43477,7 +43477,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
43477
43477
  return Url;
43478
43478
  }());
43479
43479
 
43480
- var version = "2.3.4";
43480
+ var version = "2.3.6";
43481
43481
 
43482
43482
  /**
43483
43483
  * A helper class that provides methods for getting various forms of the map controls current version.
@@ -44396,6 +44396,74 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
44396
44396
  return PitchControl;
44397
44397
  }(ControlBase));
44398
44398
 
44399
+ var __extends$7 = (window && window.__extends) || (function () {
44400
+ var extendStatics = function (d, b) {
44401
+ extendStatics = Object.setPrototypeOf ||
44402
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
44403
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
44404
+ return extendStatics(d, b);
44405
+ };
44406
+ return function (d, b) {
44407
+ if (typeof b !== "function" && b !== null)
44408
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
44409
+ extendStatics(d, b);
44410
+ function __() { this.constructor = d; }
44411
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
44412
+ };
44413
+ })();
44414
+ /**
44415
+ * A control to display a scale bar on the map.
44416
+ */
44417
+ var ScaleControl = /** @class */ (function (_super) {
44418
+ __extends$7(ScaleControl, _super);
44419
+ /**
44420
+ * A control to displays a scale bar relative to the pixel resolution at the center of the map.
44421
+ * @param options Options for defining how the control is rendered and functions.
44422
+ */
44423
+ function ScaleControl(options) {
44424
+ var _this = _super.call(this) || this;
44425
+ _this.map = null;
44426
+ _this.control = new azuremapsMaplibreGlUnminified.ScaleControl({
44427
+ maxWidth: options === null || options === void 0 ? void 0 : options.maxWidth,
44428
+ unit: options === null || options === void 0 ? void 0 : options.unit
44429
+ });
44430
+ return _this;
44431
+ }
44432
+ /**
44433
+ * Initialization method for the control which is called when added to the map.
44434
+ * @param map The map that the control will be added to.
44435
+ * @param options The ControlOptions for this control.
44436
+ * @return An HTMLElement to be placed on the map for the control.
44437
+ */
44438
+ ScaleControl.prototype.onAdd = function (map, options) {
44439
+ var _a, _b, _c;
44440
+ this.map = map;
44441
+ (_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a._getMap()) === null || _b === void 0 ? void 0 : _b.addControl(this.control);
44442
+ var container = this.buildContainer(map, exports.ControlStyle.auto, "Scale Bar");
44443
+ container.appendChild((_c = this.control) === null || _c === void 0 ? void 0 : _c._container);
44444
+ return container;
44445
+ };
44446
+ /**
44447
+ * Method that is called when the control is removed from the map. Should perform any necessary cleanup for the
44448
+ * control.
44449
+ */
44450
+ ScaleControl.prototype.onRemove = function () {
44451
+ var _a, _b;
44452
+ _super.prototype.onRemove.call(this);
44453
+ (_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a._getMap()) === null || _b === void 0 ? void 0 : _b.removeControl(this.control);
44454
+ this.map = null;
44455
+ };
44456
+ /**
44457
+ * Set the scale's unit of the distance
44458
+ * @param unit - Unit of the distance (`"imperial"`, `"metric"` or `"nautical"`).
44459
+ */
44460
+ ScaleControl.prototype.setUnit = function (unit) {
44461
+ var _a;
44462
+ (_a = this.control) === null || _a === void 0 ? void 0 : _a.setUnit(unit);
44463
+ };
44464
+ return ScaleControl;
44465
+ }(ControlBase));
44466
+
44399
44467
  /**
44400
44468
  * Removes all key-value entries from the list cache.
44401
44469
  *
@@ -47480,7 +47548,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
47480
47548
 
47481
47549
  var merge_1 = merge;
47482
47550
 
47483
- var __extends$7 = (window && window.__extends) || (function () {
47551
+ var __extends$8 = (window && window.__extends) || (function () {
47484
47552
  var extendStatics = function (d, b) {
47485
47553
  extendStatics = Object.setPrototypeOf ||
47486
47554
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -47499,7 +47567,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
47499
47567
  * The options for a StyleControl object.
47500
47568
  */
47501
47569
  var StyleControlOptions = /** @class */ (function (_super) {
47502
- __extends$7(StyleControlOptions, _super);
47570
+ __extends$8(StyleControlOptions, _super);
47503
47571
  function StyleControlOptions() {
47504
47572
  var _this = _super !== null && _super.apply(this, arguments) || this;
47505
47573
  /**
@@ -47544,7 +47612,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
47544
47612
  return StyleControlOptions;
47545
47613
  }(Options));
47546
47614
 
47547
- var __extends$8 = (window && window.__extends) || (function () {
47615
+ var __extends$9 = (window && window.__extends) || (function () {
47548
47616
  var extendStatics = function (d, b) {
47549
47617
  extendStatics = Object.setPrototypeOf ||
47550
47618
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -47615,7 +47683,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
47615
47683
  * A control for changing the style of the map.
47616
47684
  */
47617
47685
  var StyleControl = /** @class */ (function (_super) {
47618
- __extends$8(StyleControl, _super);
47686
+ __extends$9(StyleControl, _super);
47619
47687
  /**
47620
47688
  * Constructs a StyleControl.
47621
47689
  * @param options The options for the control.
@@ -47974,7 +48042,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
47974
48042
  return StyleControl;
47975
48043
  }(ControlBase));
47976
48044
 
47977
- var __extends$9 = (window && window.__extends) || (function () {
48045
+ var __extends$a = (window && window.__extends) || (function () {
47978
48046
  var extendStatics = function (d, b) {
47979
48047
  extendStatics = Object.setPrototypeOf ||
47980
48048
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -47993,7 +48061,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
47993
48061
  * The options for setting traffic on the map.
47994
48062
  */
47995
48063
  var TrafficOptions = /** @class */ (function (_super) {
47996
- __extends$9(TrafficOptions, _super);
48064
+ __extends$a(TrafficOptions, _super);
47997
48065
  function TrafficOptions() {
47998
48066
  var _this = _super !== null && _super.apply(this, arguments) || this;
47999
48067
  /**
@@ -48018,7 +48086,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
48018
48086
  return TrafficOptions;
48019
48087
  }(Options));
48020
48088
 
48021
- var __extends$a = (window && window.__extends) || (function () {
48089
+ var __extends$b = (window && window.__extends) || (function () {
48022
48090
  var extendStatics = function (d, b) {
48023
48091
  extendStatics = Object.setPrototypeOf ||
48024
48092
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -48037,7 +48105,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
48037
48105
  * The options for a TrafficControl object.
48038
48106
  */
48039
48107
  var TrafficControlOptions = /** @class */ (function (_super) {
48040
- __extends$a(TrafficControlOptions, _super);
48108
+ __extends$b(TrafficControlOptions, _super);
48041
48109
  function TrafficControlOptions() {
48042
48110
  var _this = _super !== null && _super.apply(this, arguments) || this;
48043
48111
  /**
@@ -48057,7 +48125,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
48057
48125
  return TrafficControlOptions;
48058
48126
  }(TrafficOptions));
48059
48127
 
48060
- var __extends$b = (window && window.__extends) || (function () {
48128
+ var __extends$c = (window && window.__extends) || (function () {
48061
48129
  var extendStatics = function (d, b) {
48062
48130
  extendStatics = Object.setPrototypeOf ||
48063
48131
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -48076,7 +48144,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
48076
48144
  * A control that toggles traffic data on the map.
48077
48145
  */
48078
48146
  var TrafficControl = /** @class */ (function (_super) {
48079
- __extends$b(TrafficControl, _super);
48147
+ __extends$c(TrafficControl, _super);
48080
48148
  /**
48081
48149
  * Constructs a TrafficControl
48082
48150
  * @param options The options for the control.
@@ -48200,7 +48268,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
48200
48268
  return TrafficControl;
48201
48269
  }(ControlBase));
48202
48270
 
48203
- var __extends$c = (window && window.__extends) || (function () {
48271
+ var __extends$d = (window && window.__extends) || (function () {
48204
48272
  var extendStatics = function (d, b) {
48205
48273
  extendStatics = Object.setPrototypeOf ||
48206
48274
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -48230,7 +48298,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
48230
48298
  * A control that display traffic legend on the map.
48231
48299
  */
48232
48300
  var TrafficLegendControl = /** @class */ (function (_super) {
48233
- __extends$c(TrafficLegendControl, _super);
48301
+ __extends$d(TrafficLegendControl, _super);
48234
48302
  /**
48235
48303
  * Construct a traffic legend control
48236
48304
  */
@@ -49050,7 +49118,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
49050
49118
  return Feature;
49051
49119
  }());
49052
49120
 
49053
- var __extends$d = (window && window.__extends) || (function () {
49121
+ var __extends$e = (window && window.__extends) || (function () {
49054
49122
  var extendStatics = function (d, b) {
49055
49123
  extendStatics = Object.setPrototypeOf ||
49056
49124
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -49069,7 +49137,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
49069
49137
  * Represent a pixel coordinate or offset. Extends an array of [x, y].
49070
49138
  */
49071
49139
  var Pixel = /** @class */ (function (_super) {
49072
- __extends$d(Pixel, _super);
49140
+ __extends$e(Pixel, _super);
49073
49141
  /**
49074
49142
  * Constructs a Pixel object and initializes it with the specified x and y coordinates.
49075
49143
  * @param x The horizontal pixel offset.
@@ -51289,7 +51357,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
51289
51357
  return result;
51290
51358
  }
51291
51359
 
51292
- var __extends$e = (window && window.__extends) || (function () {
51360
+ var __extends$f = (window && window.__extends) || (function () {
51293
51361
  var extendStatics = function (d, b) {
51294
51362
  extendStatics = Object.setPrototypeOf ||
51295
51363
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -51309,7 +51377,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
51309
51377
  * full description is detailed in [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-3.1.1}.
51310
51378
  */
51311
51379
  var Position = /** @class */ (function (_super) {
51312
- __extends$e(Position, _super);
51380
+ __extends$f(Position, _super);
51313
51381
  /**
51314
51382
  * Constructs a Position.
51315
51383
  * @param longitude The position's longitude.
@@ -51501,7 +51569,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
51501
51569
  return Polygon;
51502
51570
  }());
51503
51571
 
51504
- var __extends$f = (window && window.__extends) || (function () {
51572
+ var __extends$g = (window && window.__extends) || (function () {
51505
51573
  var extendStatics = function (d, b) {
51506
51574
  extendStatics = Object.setPrototypeOf ||
51507
51575
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -51531,7 +51599,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
51531
51599
  * A helper class that wraps a Geometry or Feature and makes it easy to update and maintain.
51532
51600
  */
51533
51601
  var Shape = /** @class */ (function (_super) {
51534
- __extends$f(Shape, _super);
51602
+ __extends$g(Shape, _super);
51535
51603
  function Shape(data, id, properties) {
51536
51604
  var _this = _super.call(this) || this;
51537
51605
  var geometry;
@@ -51827,7 +51895,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
51827
51895
  return Shape;
51828
51896
  }(EventEmitter));
51829
51897
 
51830
- var __extends$g = (window && window.__extends) || (function () {
51898
+ var __extends$h = (window && window.__extends) || (function () {
51831
51899
  var extendStatics = function (d, b) {
51832
51900
  extendStatics = Object.setPrototypeOf ||
51833
51901
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -51860,7 +51928,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
51860
51928
  * [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-5}.
51861
51929
  */
51862
51930
  var BoundingBox = /** @class */ (function (_super) {
51863
- __extends$g(BoundingBox, _super);
51931
+ __extends$h(BoundingBox, _super);
51864
51932
  function BoundingBox(southwestPositionOrPositions, northeastPosition) {
51865
51933
  var _this = this;
51866
51934
  if (southwestPositionOrPositions && northeastPosition) {
@@ -52577,7 +52645,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
52577
52645
  return MultiPolygon;
52578
52646
  }());
52579
52647
 
52580
- var __extends$h = (window && window.__extends) || (function () {
52648
+ var __extends$i = (window && window.__extends) || (function () {
52581
52649
  var extendStatics = function (d, b) {
52582
52650
  extendStatics = Object.setPrototypeOf ||
52583
52651
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -52608,7 +52676,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
52608
52676
  * The `z` dimension of `MercatorPoint` is conformal. A cube in the mercator coordinate space would be rendered as a cube.
52609
52677
  */
52610
52678
  var MercatorPoint = /** @class */ (function (_super) {
52611
- __extends$h(MercatorPoint, _super);
52679
+ __extends$i(MercatorPoint, _super);
52612
52680
  /**
52613
52681
  * Constructs a MercatorPoint.
52614
52682
  * @param x A points x position in mercator units.
@@ -53107,7 +53175,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
53107
53175
  simplify: simplify
53108
53176
  });
53109
53177
 
53110
- var __extends$i = (window && window.__extends) || (function () {
53178
+ var __extends$j = (window && window.__extends) || (function () {
53111
53179
  var extendStatics = function (d, b) {
53112
53180
  extendStatics = Object.setPrototypeOf ||
53113
53181
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53126,7 +53194,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
53126
53194
  * The options for a ZoomControl object.
53127
53195
  */
53128
53196
  var ZoomControlOptions = /** @class */ (function (_super) {
53129
- __extends$i(ZoomControlOptions, _super);
53197
+ __extends$j(ZoomControlOptions, _super);
53130
53198
  function ZoomControlOptions() {
53131
53199
  var _this = _super !== null && _super.apply(this, arguments) || this;
53132
53200
  /**
@@ -53146,7 +53214,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
53146
53214
  return ZoomControlOptions;
53147
53215
  }(Options));
53148
53216
 
53149
- var __extends$j = (window && window.__extends) || (function () {
53217
+ var __extends$k = (window && window.__extends) || (function () {
53150
53218
  var extendStatics = function (d, b) {
53151
53219
  extendStatics = Object.setPrototypeOf ||
53152
53220
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53165,7 +53233,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
53165
53233
  * A control for changing the zoom of the map.
53166
53234
  */
53167
53235
  var ZoomControl = /** @class */ (function (_super) {
53168
- __extends$j(ZoomControl, _super);
53236
+ __extends$k(ZoomControl, _super);
53169
53237
  /**
53170
53238
  * Constructs a ZoomControl.
53171
53239
  * @param options The options for the control.
@@ -53287,6 +53355,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
53287
53355
  PitchControl: PitchControl,
53288
53356
  CompassControl: CompassControl,
53289
53357
  ZoomControl: ZoomControl,
53358
+ ScaleControl: ScaleControl,
53290
53359
  StyleControl: StyleControl,
53291
53360
  TrafficControl: TrafficControl,
53292
53361
  TrafficLegendControl: TrafficLegendControl
@@ -53397,7 +53466,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
53397
53466
  return AccessibleIndicator;
53398
53467
  }());
53399
53468
 
53400
- var __extends$k = (window && window.__extends) || (function () {
53469
+ var __extends$l = (window && window.__extends) || (function () {
53401
53470
  var extendStatics = function (d, b) {
53402
53471
  extendStatics = Object.setPrototypeOf ||
53403
53472
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53419,7 +53488,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
53419
53488
  * @module Object Definitions
53420
53489
  */
53421
53490
  var DataSourceOptions = /** @class */ (function (_super) {
53422
- __extends$k(DataSourceOptions, _super);
53491
+ __extends$l(DataSourceOptions, _super);
53423
53492
  function DataSourceOptions() {
53424
53493
  var _this = _super !== null && _super.apply(this, arguments) || this;
53425
53494
  /*
@@ -53474,7 +53543,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
53474
53543
  return DataSourceOptions;
53475
53544
  }(Options));
53476
53545
 
53477
- var __extends$l = (window && window.__extends) || (function () {
53546
+ var __extends$m = (window && window.__extends) || (function () {
53478
53547
  var extendStatics = function (d, b) {
53479
53548
  extendStatics = Object.setPrototypeOf ||
53480
53549
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53494,7 +53563,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
53494
53563
  * A source must be added to a layer before it is visible on the map.
53495
53564
  */
53496
53565
  var Source = /** @class */ (function (_super) {
53497
- __extends$l(Source, _super);
53566
+ __extends$m(Source, _super);
53498
53567
  function Source(id) {
53499
53568
  var _this = _super.call(this) || this;
53500
53569
  _this.id = id || uuidRandom();
@@ -53533,7 +53602,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
53533
53602
  return Source;
53534
53603
  }(EventEmitter));
53535
53604
 
53536
- var __extends$m = (window && window.__extends) || (function () {
53605
+ var __extends$n = (window && window.__extends) || (function () {
53537
53606
  var extendStatics = function (d, b) {
53538
53607
  extendStatics = Object.setPrototypeOf ||
53539
53608
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53565,7 +53634,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
53565
53634
  * The DataSource class may be used with the SymbolLayer, LineLayer, PolygonLayer, BubbleLayer, and HeatMapLayer.
53566
53635
  */
53567
53636
  var DataSource = /** @class */ (function (_super) {
53568
- __extends$m(DataSource, _super);
53637
+ __extends$n(DataSource, _super);
53569
53638
  /**
53570
53639
  * A data source class that makes it easy to manage shapes data that will be displayed on the map.
53571
53640
  * A data source must be added to a layer before it is visible on the map.
@@ -54012,7 +54081,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
54012
54081
  return DataSource;
54013
54082
  }(Source));
54014
54083
 
54015
- var __extends$n = (window && window.__extends) || (function () {
54084
+ var __extends$o = (window && window.__extends) || (function () {
54016
54085
  var extendStatics = function (d, b) {
54017
54086
  extendStatics = Object.setPrototypeOf ||
54018
54087
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -54034,7 +54103,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
54034
54103
  * @module Object Definitions
54035
54104
  */
54036
54105
  var VectorTileSourceOptions = /** @class */ (function (_super) {
54037
- __extends$n(VectorTileSourceOptions, _super);
54106
+ __extends$o(VectorTileSourceOptions, _super);
54038
54107
  function VectorTileSourceOptions() {
54039
54108
  /*
54040
54109
  * TODO:
@@ -54087,7 +54156,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
54087
54156
  return VectorTileSourceOptions;
54088
54157
  }(Options));
54089
54158
 
54090
- var __extends$o = (window && window.__extends) || (function () {
54159
+ var __extends$p = (window && window.__extends) || (function () {
54091
54160
  var extendStatics = function (d, b) {
54092
54161
  extendStatics = Object.setPrototypeOf ||
54093
54162
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -54107,7 +54176,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
54107
54176
  * Vector tile sources can be used with; SymbolLayer, LineLayer, PolygonLayer, BubbleLayer, HeatmapLayer and VectorTileLayer.
54108
54177
  */
54109
54178
  var VectorTileSource = /** @class */ (function (_super) {
54110
- __extends$o(VectorTileSource, _super);
54179
+ __extends$p(VectorTileSource, _super);
54111
54180
  function VectorTileSource(id, options) {
54112
54181
  var _this = _super.call(this, id) || this;
54113
54182
  _this.options = new VectorTileSourceOptions().merge(cloneDeep_1(options));
@@ -54182,7 +54251,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
54182
54251
  VectorTileSource: VectorTileSource
54183
54252
  });
54184
54253
 
54185
- var __extends$p = (window && window.__extends) || (function () {
54254
+ var __extends$q = (window && window.__extends) || (function () {
54186
54255
  var extendStatics = function (d, b) {
54187
54256
  extendStatics = Object.setPrototypeOf ||
54188
54257
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -54201,7 +54270,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
54201
54270
  * Abstract class for other layer classes to extend.
54202
54271
  */
54203
54272
  var Layer = /** @class */ (function (_super) {
54204
- __extends$p(Layer, _super);
54273
+ __extends$q(Layer, _super);
54205
54274
  function Layer(id) {
54206
54275
  var _this =
54207
54276
  // Assign an random id using a UUID if none was specified.
@@ -54308,7 +54377,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
54308
54377
  return Layer;
54309
54378
  }(EventEmitter));
54310
54379
 
54311
- var __extends$q = (window && window.__extends) || (function () {
54380
+ var __extends$r = (window && window.__extends) || (function () {
54312
54381
  var extendStatics = function (d, b) {
54313
54382
  extendStatics = Object.setPrototypeOf ||
54314
54383
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -54327,7 +54396,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
54327
54396
  * A base class which all other layer options inherit from.
54328
54397
  */
54329
54398
  var LayerOptions = /** @class */ (function (_super) {
54330
- __extends$q(LayerOptions, _super);
54399
+ __extends$r(LayerOptions, _super);
54331
54400
  function LayerOptions() {
54332
54401
  var _this = _super !== null && _super.apply(this, arguments) || this;
54333
54402
  /**
@@ -54374,7 +54443,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
54374
54443
  return LayerOptions;
54375
54444
  }(Options));
54376
54445
 
54377
- var __extends$r = (window && window.__extends) || (function () {
54446
+ var __extends$s = (window && window.__extends) || (function () {
54378
54447
  var extendStatics = function (d, b) {
54379
54448
  extendStatics = Object.setPrototypeOf ||
54380
54449
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -54393,7 +54462,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
54393
54462
  * Options used when rendering Point objects in a BubbleLayer.
54394
54463
  */
54395
54464
  var BubbleLayerOptions = /** @class */ (function (_super) {
54396
- __extends$r(BubbleLayerOptions, _super);
54465
+ __extends$s(BubbleLayerOptions, _super);
54397
54466
  function BubbleLayerOptions() {
54398
54467
  var _this = _super !== null && _super.apply(this, arguments) || this;
54399
54468
  /**
@@ -54501,7 +54570,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
54501
54570
  return BubbleLayerOptions;
54502
54571
  }(LayerOptions));
54503
54572
 
54504
- var __extends$s = (window && window.__extends) || (function () {
54573
+ var __extends$t = (window && window.__extends) || (function () {
54505
54574
  var extendStatics = function (d, b) {
54506
54575
  extendStatics = Object.setPrototypeOf ||
54507
54576
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -54577,7 +54646,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
54577
54646
  * Renders Point objects as scalable circles (bubbles).
54578
54647
  */
54579
54648
  var BubbleLayer = /** @class */ (function (_super) {
54580
- __extends$s(BubbleLayer, _super);
54649
+ __extends$t(BubbleLayer, _super);
54581
54650
  /**
54582
54651
  * Constructs a new BubbleLayer.
54583
54652
  * @param source The id or instance of a data source which the layer will render.
@@ -54852,7 +54921,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
54852
54921
  return BubbleLayer;
54853
54922
  }(Layer));
54854
54923
 
54855
- var __extends$t = (window && window.__extends) || (function () {
54924
+ var __extends$u = (window && window.__extends) || (function () {
54856
54925
  var extendStatics = function (d, b) {
54857
54926
  extendStatics = Object.setPrototypeOf ||
54858
54927
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -54871,7 +54940,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
54871
54940
  * Options used when rendering Point objects in a HeatMapLayer.
54872
54941
  */
54873
54942
  var HeatMapLayerOptions = /** @class */ (function (_super) {
54874
- __extends$t(HeatMapLayerOptions, _super);
54943
+ __extends$u(HeatMapLayerOptions, _super);
54875
54944
  function HeatMapLayerOptions() {
54876
54945
  var _this = _super !== null && _super.apply(this, arguments) || this;
54877
54946
  /**
@@ -54938,7 +55007,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
54938
55007
  return HeatMapLayerOptions;
54939
55008
  }(LayerOptions));
54940
55009
 
54941
- var __extends$u = (window && window.__extends) || (function () {
55010
+ var __extends$v = (window && window.__extends) || (function () {
54942
55011
  var extendStatics = function (d, b) {
54943
55012
  extendStatics = Object.setPrototypeOf ||
54944
55013
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -54957,7 +55026,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
54957
55026
  * Represent the density of data using different colors (HeatMap).
54958
55027
  */
54959
55028
  var HeatMapLayer = /** @class */ (function (_super) {
54960
- __extends$u(HeatMapLayer, _super);
55029
+ __extends$v(HeatMapLayer, _super);
54961
55030
  /**
54962
55031
  * Constructs a new HeatMapLayer.
54963
55032
  * @param source The id or instance of a data source which the layer will render.
@@ -55061,7 +55130,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
55061
55130
  return HeatMapLayer;
55062
55131
  }(Layer));
55063
55132
 
55064
- var __extends$v = (window && window.__extends) || (function () {
55133
+ var __extends$w = (window && window.__extends) || (function () {
55065
55134
  var extendStatics = function (d, b) {
55066
55135
  extendStatics = Object.setPrototypeOf ||
55067
55136
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -55080,7 +55149,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
55080
55149
  * Options used when rendering canvas, image, raster tile, and video layers
55081
55150
  */
55082
55151
  var MediaLayerOptions = /** @class */ (function (_super) {
55083
- __extends$v(MediaLayerOptions, _super);
55152
+ __extends$w(MediaLayerOptions, _super);
55084
55153
  function MediaLayerOptions() {
55085
55154
  var _this = _super !== null && _super.apply(this, arguments) || this;
55086
55155
  /**
@@ -55132,7 +55201,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
55132
55201
  return MediaLayerOptions;
55133
55202
  }(LayerOptions));
55134
55203
 
55135
- var __extends$w = (window && window.__extends) || (function () {
55204
+ var __extends$x = (window && window.__extends) || (function () {
55136
55205
  var extendStatics = function (d, b) {
55137
55206
  extendStatics = Object.setPrototypeOf ||
55138
55207
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -55151,7 +55220,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
55151
55220
  * Options used when rendering Point objects in a ImageLayer.
55152
55221
  */
55153
55222
  var ImageLayerOptions = /** @class */ (function (_super) {
55154
- __extends$w(ImageLayerOptions, _super);
55223
+ __extends$x(ImageLayerOptions, _super);
55155
55224
  function ImageLayerOptions() {
55156
55225
  var _this = _super !== null && _super.apply(this, arguments) || this;
55157
55226
  /**
@@ -55181,7 +55250,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
55181
55250
  return ImageLayerOptions;
55182
55251
  }(MediaLayerOptions));
55183
55252
 
55184
- var __extends$x = (window && window.__extends) || (function () {
55253
+ var __extends$y = (window && window.__extends) || (function () {
55185
55254
  var extendStatics = function (d, b) {
55186
55255
  extendStatics = Object.setPrototypeOf ||
55187
55256
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -55201,7 +55270,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
55201
55270
  * @internal
55202
55271
  */
55203
55272
  var SourceBuildingLayer = /** @class */ (function (_super) {
55204
- __extends$x(SourceBuildingLayer, _super);
55273
+ __extends$y(SourceBuildingLayer, _super);
55205
55274
  function SourceBuildingLayer() {
55206
55275
  return _super !== null && _super.apply(this, arguments) || this;
55207
55276
  }
@@ -55216,7 +55285,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
55216
55285
  return SourceBuildingLayer;
55217
55286
  }(Layer));
55218
55287
 
55219
- var __extends$y = (window && window.__extends) || (function () {
55288
+ var __extends$z = (window && window.__extends) || (function () {
55220
55289
  var extendStatics = function (d, b) {
55221
55290
  extendStatics = Object.setPrototypeOf ||
55222
55291
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -55235,7 +55304,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
55235
55304
  * Overlays an image on the map with each corner anchored to a coordinate on the map. Also known as a ground or image overlay.
55236
55305
  */
55237
55306
  var ImageLayer = /** @class */ (function (_super) {
55238
- __extends$y(ImageLayer, _super);
55307
+ __extends$z(ImageLayer, _super);
55239
55308
  /**
55240
55309
  * Constructs a new ImageLayer.
55241
55310
  * @param id The id of the layer. If not specified a random one will be generated.
@@ -55438,7 +55507,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
55438
55507
  return ImageLayer;
55439
55508
  }(SourceBuildingLayer));
55440
55509
 
55441
- var __extends$z = (window && window.__extends) || (function () {
55510
+ var __extends$A = (window && window.__extends) || (function () {
55442
55511
  var extendStatics = function (d, b) {
55443
55512
  extendStatics = Object.setPrototypeOf ||
55444
55513
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -55458,7 +55527,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
55458
55527
  * LineString, MultiLineString, Polygon, and MultiPolygon objects in a line layer.
55459
55528
  */
55460
55529
  var LineLayerOptions = /** @class */ (function (_super) {
55461
- __extends$z(LineLayerOptions, _super);
55530
+ __extends$A(LineLayerOptions, _super);
55462
55531
  function LineLayerOptions() {
55463
55532
  var _this = _super !== null && _super.apply(this, arguments) || this;
55464
55533
  /**
@@ -55558,7 +55627,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
55558
55627
  return LineLayerOptions;
55559
55628
  }(LayerOptions));
55560
55629
 
55561
- var __extends$A = (window && window.__extends) || (function () {
55630
+ var __extends$B = (window && window.__extends) || (function () {
55562
55631
  var extendStatics = function (d, b) {
55563
55632
  extendStatics = Object.setPrototypeOf ||
55564
55633
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -55589,7 +55658,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
55589
55658
  * CirclePolygon, LineString, MultiLineString, Polygon, and MultiPolygon objects.
55590
55659
  */
55591
55660
  var LineLayer = /** @class */ (function (_super) {
55592
- __extends$A(LineLayer, _super);
55661
+ __extends$B(LineLayer, _super);
55593
55662
  /**
55594
55663
  * Constructs a new LineLayer.
55595
55664
  * @param source The id or instance of a data source which the layer will render.
@@ -55680,7 +55749,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
55680
55749
  return LineLayer;
55681
55750
  }(Layer));
55682
55751
 
55683
- var __extends$B = (window && window.__extends) || (function () {
55752
+ var __extends$C = (window && window.__extends) || (function () {
55684
55753
  var extendStatics = function (d, b) {
55685
55754
  extendStatics = Object.setPrototypeOf ||
55686
55755
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -55699,7 +55768,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
55699
55768
  * Options used when rendering `Polygon` and `MultiPolygon` objects in a `PolygonExtrusionLayer`.
55700
55769
  */
55701
55770
  var PolygonExtrusionLayerOptions = /** @class */ (function (_super) {
55702
- __extends$B(PolygonExtrusionLayerOptions, _super);
55771
+ __extends$C(PolygonExtrusionLayerOptions, _super);
55703
55772
  function PolygonExtrusionLayerOptions() {
55704
55773
  var _this = _super !== null && _super.apply(this, arguments) || this;
55705
55774
  /**
@@ -55772,7 +55841,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
55772
55841
  return PolygonExtrusionLayerOptions;
55773
55842
  }(LayerOptions));
55774
55843
 
55775
- var __extends$C = (window && window.__extends) || (function () {
55844
+ var __extends$D = (window && window.__extends) || (function () {
55776
55845
  var extendStatics = function (d, b) {
55777
55846
  extendStatics = Object.setPrototypeOf ||
55778
55847
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -55802,7 +55871,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
55802
55871
  * Renders extruded filled `Polygon` and `MultiPolygon` objects on the map.
55803
55872
  */
55804
55873
  var PolygonExtrusionLayer = /** @class */ (function (_super) {
55805
- __extends$C(PolygonExtrusionLayer, _super);
55874
+ __extends$D(PolygonExtrusionLayer, _super);
55806
55875
  /**
55807
55876
  * Constructs a new PolygonExtrusionLayer.
55808
55877
  * @param source The id or instance of a data source which the layer will render.
@@ -55890,7 +55959,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
55890
55959
  return PolygonExtrusionLayer;
55891
55960
  }(Layer));
55892
55961
 
55893
- var __extends$D = (window && window.__extends) || (function () {
55962
+ var __extends$E = (window && window.__extends) || (function () {
55894
55963
  var extendStatics = function (d, b) {
55895
55964
  extendStatics = Object.setPrototypeOf ||
55896
55965
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -55941,7 +56010,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
55941
56010
  * Options used when rendering Polygon and MultiPolygon objects in a PolygonLayer.
55942
56011
  */
55943
56012
  var PolygonLayerOptions = /** @class */ (function (_super) {
55944
- __extends$D(PolygonLayerOptions, _super);
56013
+ __extends$E(PolygonLayerOptions, _super);
55945
56014
  function PolygonLayerOptions() {
55946
56015
  var _this = _super !== null && _super.apply(this, arguments) || this;
55947
56016
  /**
@@ -56019,7 +56088,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
56019
56088
  return PolygonLayerOptions;
56020
56089
  }(LayerOptions));
56021
56090
 
56022
- var __extends$E = (window && window.__extends) || (function () {
56091
+ var __extends$F = (window && window.__extends) || (function () {
56023
56092
  var extendStatics = function (d, b) {
56024
56093
  extendStatics = Object.setPrototypeOf ||
56025
56094
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -56038,7 +56107,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
56038
56107
  * Renders filled Polygon and MultiPolygon objects on the map.
56039
56108
  */
56040
56109
  var PolygonLayer = /** @class */ (function (_super) {
56041
- __extends$E(PolygonLayer, _super);
56110
+ __extends$F(PolygonLayer, _super);
56042
56111
  /**
56043
56112
  * Constructs a new PolygonLayer.
56044
56113
  * @param source The id or instance of a data source which the layer will render.
@@ -56144,7 +56213,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
56144
56213
  return PolygonLayer;
56145
56214
  }(Layer));
56146
56215
 
56147
- var __extends$F = (window && window.__extends) || (function () {
56216
+ var __extends$G = (window && window.__extends) || (function () {
56148
56217
  var extendStatics = function (d, b) {
56149
56218
  extendStatics = Object.setPrototypeOf ||
56150
56219
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -56163,7 +56232,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
56163
56232
  * Options used to customize the icons in a SymbolLayer
56164
56233
  */
56165
56234
  var IconOptions = /** @class */ (function (_super) {
56166
- __extends$F(IconOptions, _super);
56235
+ __extends$G(IconOptions, _super);
56167
56236
  function IconOptions() {
56168
56237
  var _this = _super !== null && _super.apply(this, arguments) || this;
56169
56238
  /**
@@ -56273,7 +56342,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
56273
56342
  return IconOptions;
56274
56343
  }(Options));
56275
56344
 
56276
- var __extends$G = (window && window.__extends) || (function () {
56345
+ var __extends$H = (window && window.__extends) || (function () {
56277
56346
  var extendStatics = function (d, b) {
56278
56347
  extendStatics = Object.setPrototypeOf ||
56279
56348
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -56292,7 +56361,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
56292
56361
  * Options used to customize the text in a SymbolLayer
56293
56362
  */
56294
56363
  var TextOptions = /** @class */ (function (_super) {
56295
- __extends$G(TextOptions, _super);
56364
+ __extends$H(TextOptions, _super);
56296
56365
  function TextOptions() {
56297
56366
  var _this = _super !== null && _super.apply(this, arguments) || this;
56298
56367
  /**
@@ -56472,7 +56541,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
56472
56541
  return TextOptions;
56473
56542
  }(Options));
56474
56543
 
56475
- var __extends$H = (window && window.__extends) || (function () {
56544
+ var __extends$I = (window && window.__extends) || (function () {
56476
56545
  var extendStatics = function (d, b) {
56477
56546
  extendStatics = Object.setPrototypeOf ||
56478
56547
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -56491,7 +56560,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
56491
56560
  * Options used when rendering geometries in a SymbolLayer.
56492
56561
  */
56493
56562
  var SymbolLayerOptions = /** @class */ (function (_super) {
56494
- __extends$H(SymbolLayerOptions, _super);
56563
+ __extends$I(SymbolLayerOptions, _super);
56495
56564
  function SymbolLayerOptions() {
56496
56565
  var _this = _super !== null && _super.apply(this, arguments) || this;
56497
56566
  /**
@@ -56556,7 +56625,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
56556
56625
  return SymbolLayerOptions;
56557
56626
  }(LayerOptions));
56558
56627
 
56559
- var __extends$I = (window && window.__extends) || (function () {
56628
+ var __extends$J = (window && window.__extends) || (function () {
56560
56629
  var extendStatics = function (d, b) {
56561
56630
  extendStatics = Object.setPrototypeOf ||
56562
56631
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -56587,7 +56656,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
56587
56656
  * Symbols can also be created for line and polygon data as well.
56588
56657
  */
56589
56658
  var SymbolLayer = /** @class */ (function (_super) {
56590
- __extends$I(SymbolLayer, _super);
56659
+ __extends$J(SymbolLayer, _super);
56591
56660
  /**
56592
56661
  * Constructs a new SymbolLayer.
56593
56662
  * @param source The id or instance of a data source which the layer will render.
@@ -56729,7 +56798,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
56729
56798
  return SymbolLayer;
56730
56799
  }(Layer));
56731
56800
 
56732
- var __extends$J = (window && window.__extends) || (function () {
56801
+ var __extends$K = (window && window.__extends) || (function () {
56733
56802
  var extendStatics = function (d, b) {
56734
56803
  extendStatics = Object.setPrototypeOf ||
56735
56804
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -56748,7 +56817,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
56748
56817
  * Options used when rendering raster tiled images in a TileLayer.
56749
56818
  */
56750
56819
  var TileLayerOptions = /** @class */ (function (_super) {
56751
- __extends$J(TileLayerOptions, _super);
56820
+ __extends$K(TileLayerOptions, _super);
56752
56821
  function TileLayerOptions() {
56753
56822
  var _this = _super !== null && _super.apply(this, arguments) || this;
56754
56823
  /**
@@ -56804,7 +56873,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
56804
56873
  return TileLayerOptions;
56805
56874
  }(MediaLayerOptions));
56806
56875
 
56807
- var __extends$K = (window && window.__extends) || (function () {
56876
+ var __extends$L = (window && window.__extends) || (function () {
56808
56877
  var extendStatics = function (d, b) {
56809
56878
  extendStatics = Object.setPrototypeOf ||
56810
56879
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -56845,7 +56914,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
56845
56914
  * Renders raster tiled images on top of the map tiles.
56846
56915
  */
56847
56916
  var TileLayer = /** @class */ (function (_super) {
56848
- __extends$K(TileLayer, _super);
56917
+ __extends$L(TileLayer, _super);
56849
56918
  /**
56850
56919
  * Constructs a new TileLayer.
56851
56920
  * @param options The options for the tile layer.
@@ -56988,7 +57057,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
56988
57057
  return TileLayer;
56989
57058
  }(SourceBuildingLayer));
56990
57059
 
56991
- var __extends$L = (window && window.__extends) || (function () {
57060
+ var __extends$M = (window && window.__extends) || (function () {
56992
57061
  var extendStatics = function (d, b) {
56993
57062
  extendStatics = Object.setPrototypeOf ||
56994
57063
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -57007,7 +57076,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
57007
57076
  * Options used to render graphics in a WebGLLayer.
57008
57077
  */
57009
57078
  var WebGLLayerOptions = /** @class */ (function (_super) {
57010
- __extends$L(WebGLLayerOptions, _super);
57079
+ __extends$M(WebGLLayerOptions, _super);
57011
57080
  function WebGLLayerOptions() {
57012
57081
  var _this = _super !== null && _super.apply(this, arguments) || this;
57013
57082
  /**
@@ -57019,7 +57088,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
57019
57088
  return WebGLLayerOptions;
57020
57089
  }(LayerOptions));
57021
57090
 
57022
- var __extends$M = (window && window.__extends) || (function () {
57091
+ var __extends$N = (window && window.__extends) || (function () {
57023
57092
  var extendStatics = function (d, b) {
57024
57093
  extendStatics = Object.setPrototypeOf ||
57025
57094
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -57038,7 +57107,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
57038
57107
  * Enables custom rendering logic with access to the WebGL context of the map.
57039
57108
  */
57040
57109
  var WebGLLayer = /** @class */ (function (_super) {
57041
- __extends$M(WebGLLayer, _super);
57110
+ __extends$N(WebGLLayer, _super);
57042
57111
  /**
57043
57112
  * Constructs a new WebGLLayer.
57044
57113
  * @param id The id of the layer. If not specified a random one will be generated.
@@ -57268,7 +57337,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
57268
57337
 
57269
57338
  var isElement_1 = isElement;
57270
57339
 
57271
- var __extends$N = (window && window.__extends) || (function () {
57340
+ var __extends$O = (window && window.__extends) || (function () {
57272
57341
  var extendStatics = function (d, b) {
57273
57342
  extendStatics = Object.setPrototypeOf ||
57274
57343
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -57287,7 +57356,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
57287
57356
  * The options for a popup.
57288
57357
  */
57289
57358
  var PopupOptions = /** @class */ (function (_super) {
57290
- __extends$N(PopupOptions, _super);
57359
+ __extends$O(PopupOptions, _super);
57291
57360
  function PopupOptions() {
57292
57361
  var _this = _super !== null && _super.apply(this, arguments) || this;
57293
57362
  /**
@@ -57356,7 +57425,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
57356
57425
  return PopupOptions;
57357
57426
  }(Options));
57358
57427
 
57359
- var __extends$O = (window && window.__extends) || (function () {
57428
+ var __extends$P = (window && window.__extends) || (function () {
57360
57429
  var extendStatics = function (d, b) {
57361
57430
  extendStatics = Object.setPrototypeOf ||
57362
57431
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -57391,7 +57460,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
57391
57460
  * An information window anchored at a specified position on a map.
57392
57461
  */
57393
57462
  var Popup = /** @class */ (function (_super) {
57394
- __extends$O(Popup, _super);
57463
+ __extends$P(Popup, _super);
57395
57464
  /**
57396
57465
  * Constructs a Popup object and initializes it with the specified options.
57397
57466
  * @param options The options for the popup.
@@ -57862,7 +57931,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
57862
57931
  return Popup;
57863
57932
  }(EventEmitter));
57864
57933
 
57865
- var __extends$P = (window && window.__extends) || (function () {
57934
+ var __extends$Q = (window && window.__extends) || (function () {
57866
57935
  var extendStatics = function (d, b) {
57867
57936
  extendStatics = Object.setPrototypeOf ||
57868
57937
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -57881,7 +57950,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
57881
57950
  * Options for rendering an HtmlMarker object
57882
57951
  */
57883
57952
  var HtmlMarkerOptions = /** @class */ (function (_super) {
57884
- __extends$P(HtmlMarkerOptions, _super);
57953
+ __extends$Q(HtmlMarkerOptions, _super);
57885
57954
  function HtmlMarkerOptions() {
57886
57955
  var _this = _super !== null && _super.apply(this, arguments) || this;
57887
57956
  /**
@@ -57959,7 +58028,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
57959
58028
  return HtmlMarkerOptions;
57960
58029
  }(Options));
57961
58030
 
57962
- var __extends$Q = (window && window.__extends) || (function () {
58031
+ var __extends$R = (window && window.__extends) || (function () {
57963
58032
  var extendStatics = function (d, b) {
57964
58033
  extendStatics = Object.setPrototypeOf ||
57965
58034
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -57978,7 +58047,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
57978
58047
  * This class wraps an HTML element that can be displayed on the map.
57979
58048
  */
57980
58049
  var HtmlMarker = /** @class */ (function (_super) {
57981
- __extends$Q(HtmlMarker, _super);
58050
+ __extends$R(HtmlMarker, _super);
57982
58051
  /**
57983
58052
  * Constructs a new HtmlMarker.
57984
58053
  * @param options The options for the HtmlMarker.
@@ -58703,7 +58772,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
58703
58772
  return UserAgent;
58704
58773
  }());
58705
58774
 
58706
- var __extends$R = (window && window.__extends) || (function () {
58775
+ var __extends$S = (window && window.__extends) || (function () {
58707
58776
  var extendStatics = function (d, b) {
58708
58777
  extendStatics = Object.setPrototypeOf ||
58709
58778
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -58769,7 +58838,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
58769
58838
  * Options for specifying how the map control should authenticate with the Azure Maps services.
58770
58839
  */
58771
58840
  var AuthenticationOptions = /** @class */ (function (_super) {
58772
- __extends$R(AuthenticationOptions, _super);
58841
+ __extends$S(AuthenticationOptions, _super);
58773
58842
  function AuthenticationOptions() {
58774
58843
  var _this = _super !== null && _super.apply(this, arguments) || this;
58775
58844
  /**
@@ -59370,7 +59439,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
59370
59439
  return Media;
59371
59440
  }());
59372
59441
 
59373
- var __extends$S = (window && window.__extends) || (function () {
59442
+ var __extends$T = (window && window.__extends) || (function () {
59374
59443
  var extendStatics = function (d, b) {
59375
59444
  extendStatics = Object.setPrototypeOf ||
59376
59445
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -59389,7 +59458,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
59389
59458
  * The options for a CopyrightControl object.
59390
59459
  */
59391
59460
  var CopyrightControlOptions = /** @class */ (function (_super) {
59392
- __extends$S(CopyrightControlOptions, _super);
59461
+ __extends$T(CopyrightControlOptions, _super);
59393
59462
  function CopyrightControlOptions() {
59394
59463
  var _this = _super !== null && _super.apply(this, arguments) || this;
59395
59464
  /**
@@ -59418,7 +59487,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
59418
59487
  return CopyrightControlOptions;
59419
59488
  }(Options));
59420
59489
 
59421
- var __extends$T = (window && window.__extends) || (function () {
59490
+ var __extends$U = (window && window.__extends) || (function () {
59422
59491
  var extendStatics = function (d, b) {
59423
59492
  extendStatics = Object.setPrototypeOf ||
59424
59493
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -59437,7 +59506,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
59437
59506
  * @private
59438
59507
  */
59439
59508
  var CopyrightControl = /** @class */ (function (_super) {
59440
- __extends$T(CopyrightControl, _super);
59509
+ __extends$U(CopyrightControl, _super);
59441
59510
  function CopyrightControl(options) {
59442
59511
  var _this = _super.call(this) || this;
59443
59512
  _this.textAttribution = function (options) {
@@ -59797,7 +59866,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
59797
59866
  return FlowServiceDelegate;
59798
59867
  }());
59799
59868
 
59800
- var __extends$U = (window && window.__extends) || (function () {
59869
+ var __extends$V = (window && window.__extends) || (function () {
59801
59870
  var extendStatics = function (d, b) {
59802
59871
  extendStatics = Object.setPrototypeOf ||
59803
59872
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -59816,7 +59885,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
59816
59885
  * The options for enabling/disabling user interaction with the map.
59817
59886
  */
59818
59887
  var UserInteractionOptions = /** @class */ (function (_super) {
59819
- __extends$U(UserInteractionOptions, _super);
59888
+ __extends$V(UserInteractionOptions, _super);
59820
59889
  function UserInteractionOptions() {
59821
59890
  var _this = _super !== null && _super.apply(this, arguments) || this;
59822
59891
  /**
@@ -61145,7 +61214,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
61145
61214
  return ImageSpriteManager;
61146
61215
  }());
61147
61216
 
61148
- var __extends$V = (window && window.__extends) || (function () {
61217
+ var __extends$W = (window && window.__extends) || (function () {
61149
61218
  var extendStatics = function (d, b) {
61150
61219
  extendStatics = Object.setPrototypeOf ||
61151
61220
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -61177,7 +61246,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
61177
61246
  * @private
61178
61247
  */
61179
61248
  var FundamentalMapLayer = /** @class */ (function (_super) {
61180
- __extends$V(FundamentalMapLayer, _super);
61249
+ __extends$W(FundamentalMapLayer, _super);
61181
61250
  /**
61182
61251
  * Constructs a base layer used to represent the base, transit, and labels layers.
61183
61252
  * @param mbLayers The stylesheet used to define the style sources and style layers.
@@ -61953,7 +62022,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
61953
62022
  return PopupManager;
61954
62023
  }());
61955
62024
 
61956
- var __extends$W = (window && window.__extends) || (function () {
62025
+ var __extends$X = (window && window.__extends) || (function () {
61957
62026
  var extendStatics = function (d, b) {
61958
62027
  extendStatics = Object.setPrototypeOf ||
61959
62028
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -61984,7 +62053,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
61984
62053
  * @private
61985
62054
  */
61986
62055
  var FundamentalMapSource = /** @class */ (function (_super) {
61987
- __extends$W(FundamentalMapSource, _super);
62056
+ __extends$X(FundamentalMapSource, _super);
61988
62057
  /**
61989
62058
  * Constructs a source from the contents of a layer resource file.
61990
62059
  * @param id The source's id.
@@ -62127,59 +62196,59 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62127
62196
  var features = this.map._getMap().querySourceFeatures(sourceID, { sourceLayer: sourceLayer, filter: filter });
62128
62197
  return this.map.sources._mapFeaturesToShapes(features, true, this.sources.get(sourceID));
62129
62198
  };
62130
- // TODO: wait till the mapbox's bug is fixed
62131
- // /**
62132
- // * Gets the state of a feature
62133
- // * @param shape the ID of the shape
62134
- // * @param source the ID of the source
62135
- // * @param sourceLayer the ID of the layer
62136
- // */
62137
- // public getFeatureState(shape: string | Shape | Feature<Geometry, any>, source: string | Source, sourceLayer?: string): object {
62138
- // let featureID;
62139
- // if (typeof shape === "string") {
62140
- // featureID = shape;
62141
- // } else {
62142
- // featureID = shape instanceof Shape ? shape.getId() : shape.id;
62143
- // }
62144
- // const featureSource = typeof source === "string" ? source : source.getId();
62145
- // return this.map._getMap().getFeatureState({ id: featureID, source: featureSource, sourceLayer: sourceLayer });
62146
- // }
62147
- // /**
62148
- // * Removes the state or a single key value of the state of a feature.
62149
- // * @param shape the ID of the shape
62150
- // * @param source the ID of the source
62151
- // * @param sourceLayer the ID of the layer
62152
- // * @param key the key in the feature state to update
62153
- // */
62154
- // public removeFeatureState(shape: string | Shape | Feature<Geometry, any>, source: string | Source, sourceLayer?: string, key?: string) {
62155
- // let featureID;
62156
- // if (typeof shape === "string") {
62157
- // featureID = shape;
62158
- // } else {
62159
- // featureID = shape instanceof Shape ? shape.getId() : shape.id;
62160
- // }
62161
- // const featureSource = typeof source === "string" ? source : source.getId();
62162
- // // TODO: update the method when the mapbox typing file is updated
62163
- // (this.map._getMap() as any).removeFeatureState({ id: featureID, source: featureSource, sourceLayer: sourceLayer }, key);
62164
- // }
62165
- // /**
62166
- // * Sets the state of the feature by passing in a key value pair object.
62167
- // * @param shape the ID of the shape
62168
- // * @param source the ID of the source
62169
- // * @param sourceLayer the ID of the layer
62170
- // * @param key the key in the feature state to update
62171
- // */
62172
- // public setFeatureState(shape: string | Shape | Feature<Geometry, any>, source: string | Source, state: object, sourceLayer?: string) {
62173
- // let featureID;
62174
- // if (typeof shape === "string") {
62175
- // featureID = shape;
62176
- // } else {
62177
- // featureID = shape instanceof Shape ? shape.getId() : shape.id;
62178
- // }
62179
- // const featureSource = typeof source === "string" ? source : source.getId();
62180
- // // TODO: update the method when the mapbox typing file is updated
62181
- // this.map._getMap().setFeatureState({ id: featureID, source: featureSource, sourceLayer: sourceLayer }, state);
62182
- // }
62199
+ /**
62200
+ * Gets the state of a feature
62201
+ * @param feature the ID of the feature
62202
+ * @param source the ID of the source
62203
+ * @param sourceLayer the ID of the layer
62204
+ */
62205
+ SourceManager.prototype.getFeatureState = function (feature, source, sourceLayer) {
62206
+ var featureId;
62207
+ if (typeof feature === "string") {
62208
+ featureId = feature;
62209
+ }
62210
+ else {
62211
+ featureId = feature instanceof Shape ? feature.getId() : feature.id;
62212
+ }
62213
+ var featureSource = typeof source === "string" ? source : source.getId();
62214
+ return this.map._getMap().getFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer });
62215
+ };
62216
+ /**
62217
+ * Removes the state or a single key value of the state of a feature.
62218
+ * @param feature the ID of the feature
62219
+ * @param source the ID of the source
62220
+ * @param sourceLayer the ID of the layer
62221
+ * @param key the key in the feature state to update
62222
+ */
62223
+ SourceManager.prototype.removeFeatureState = function (feature, source, sourceLayer, key) {
62224
+ var featureId;
62225
+ if (typeof feature === "string") {
62226
+ featureId = feature;
62227
+ }
62228
+ else {
62229
+ featureId = feature instanceof Shape ? feature.getId() : feature.id;
62230
+ }
62231
+ var featureSource = typeof source === "string" ? source : source.getId();
62232
+ this.map._getMap().removeFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer }, key);
62233
+ };
62234
+ /**
62235
+ * Sets the state of the feature by passing in a key value pair object.
62236
+ * @param feature the ID of the feature
62237
+ * @param source the ID of the source
62238
+ * @param sourceLayer the ID of the layer
62239
+ * @param key the key in the feature state to update
62240
+ */
62241
+ SourceManager.prototype.setFeatureState = function (feature, source, state, sourceLayer) {
62242
+ var featureId;
62243
+ if (typeof feature === "string") {
62244
+ featureId = feature;
62245
+ }
62246
+ else {
62247
+ featureId = feature instanceof Shape ? feature.getId() : feature.id;
62248
+ }
62249
+ var featureSource = typeof source === "string" ? source : source.getId();
62250
+ this.map._getMap().setFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer }, state);
62251
+ };
62183
62252
  /**
62184
62253
  * @internal
62185
62254
  */
@@ -62380,7 +62449,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62380
62449
  return SourceManager;
62381
62450
  }());
62382
62451
 
62383
- var __extends$X = (window && window.__extends) || (function () {
62452
+ var __extends$Y = (window && window.__extends) || (function () {
62384
62453
  var extendStatics = function (d, b) {
62385
62454
  extendStatics = Object.setPrototypeOf ||
62386
62455
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -62399,7 +62468,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62399
62468
  * The options for animating changes to the map control's camera.
62400
62469
  */
62401
62470
  var AnimationOptions = /** @class */ (function (_super) {
62402
- __extends$X(AnimationOptions, _super);
62471
+ __extends$Y(AnimationOptions, _super);
62403
62472
  function AnimationOptions() {
62404
62473
  var _this = _super !== null && _super.apply(this, arguments) || this;
62405
62474
  /**
@@ -62423,7 +62492,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62423
62492
  return AnimationOptions;
62424
62493
  }(Options));
62425
62494
 
62426
- var __extends$Y = (window && window.__extends) || (function () {
62495
+ var __extends$Z = (window && window.__extends) || (function () {
62427
62496
  var extendStatics = function (d, b) {
62428
62497
  extendStatics = Object.setPrototypeOf ||
62429
62498
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -62442,7 +62511,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62442
62511
  * Represent the amount of padding in pixels to add to the side of a BoundingBox when setting the camera of a map.
62443
62512
  */
62444
62513
  var Padding = /** @class */ (function (_super) {
62445
- __extends$Y(Padding, _super);
62514
+ __extends$Z(Padding, _super);
62446
62515
  function Padding() {
62447
62516
  var _this = _super !== null && _super.apply(this, arguments) || this;
62448
62517
  /**
@@ -62474,7 +62543,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62474
62543
  return Padding;
62475
62544
  }(Options));
62476
62545
 
62477
- var __extends$Z = (window && window.__extends) || (function () {
62546
+ var __extends$_ = (window && window.__extends) || (function () {
62478
62547
  var extendStatics = function (d, b) {
62479
62548
  extendStatics = Object.setPrototypeOf ||
62480
62549
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -62525,7 +62594,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62525
62594
  * The options for setting the bounds of the map control's camera.
62526
62595
  */
62527
62596
  var CameraBoundsOptions = /** @class */ (function (_super) {
62528
- __extends$Z(CameraBoundsOptions, _super);
62597
+ __extends$_(CameraBoundsOptions, _super);
62529
62598
  function CameraBoundsOptions() {
62530
62599
  var _this = _super !== null && _super.apply(this, arguments) || this;
62531
62600
  /**
@@ -62596,7 +62665,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62596
62665
  return CameraBoundsOptions;
62597
62666
  }(Options));
62598
62667
 
62599
- var __extends$_ = (window && window.__extends) || (function () {
62668
+ var __extends$$ = (window && window.__extends) || (function () {
62600
62669
  var extendStatics = function (d, b) {
62601
62670
  extendStatics = Object.setPrototypeOf ||
62602
62671
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -62615,7 +62684,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62615
62684
  * The options for setting the map control's camera.
62616
62685
  */
62617
62686
  var CameraOptions = /** @class */ (function (_super) {
62618
- __extends$_(CameraOptions, _super);
62687
+ __extends$$(CameraOptions, _super);
62619
62688
  function CameraOptions() {
62620
62689
  var _this = _super !== null && _super.apply(this, arguments) || this;
62621
62690
  /**
@@ -62674,7 +62743,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62674
62743
  return CameraOptions;
62675
62744
  }(Options));
62676
62745
 
62677
- var __extends$$ = (window && window.__extends) || (function () {
62746
+ var __extends$10 = (window && window.__extends) || (function () {
62678
62747
  var extendStatics = function (d, b) {
62679
62748
  extendStatics = Object.setPrototypeOf ||
62680
62749
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -62693,7 +62762,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62693
62762
  * The options for a layer of the map.
62694
62763
  */
62695
62764
  var LayerOptions$1 = /** @class */ (function (_super) {
62696
- __extends$$(LayerOptions, _super);
62765
+ __extends$10(LayerOptions, _super);
62697
62766
  function LayerOptions() {
62698
62767
  var _this = _super !== null && _super.apply(this, arguments) || this;
62699
62768
  /**
@@ -62726,7 +62795,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62726
62795
  return LayerOptions;
62727
62796
  }(Options));
62728
62797
 
62729
- var __extends$10 = (window && window.__extends) || (function () {
62798
+ var __extends$11 = (window && window.__extends) || (function () {
62730
62799
  var extendStatics = function (d, b) {
62731
62800
  extendStatics = Object.setPrototypeOf ||
62732
62801
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -62746,7 +62815,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62746
62815
  * @deprecated Use BubbleLayerOptions with atlas.layer.BubbleLayer instead.
62747
62816
  */
62748
62817
  var CircleLayerOptions = /** @class */ (function (_super) {
62749
- __extends$10(CircleLayerOptions, _super);
62818
+ __extends$11(CircleLayerOptions, _super);
62750
62819
  function CircleLayerOptions() {
62751
62820
  var _this = _super !== null && _super.apply(this, arguments) || this;
62752
62821
  /**
@@ -62778,7 +62847,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62778
62847
  return CircleLayerOptions;
62779
62848
  }(LayerOptions$1));
62780
62849
 
62781
- var __extends$11 = (window && window.__extends) || (function () {
62850
+ var __extends$12 = (window && window.__extends) || (function () {
62782
62851
  var extendStatics = function (d, b) {
62783
62852
  extendStatics = Object.setPrototypeOf ||
62784
62853
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -62798,7 +62867,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62798
62867
  * @deprecated Use LineLayerOptions with atlas.layer.LineLayer instead.
62799
62868
  */
62800
62869
  var LinestringLayerOptions = /** @class */ (function (_super) {
62801
- __extends$11(LinestringLayerOptions, _super);
62870
+ __extends$12(LinestringLayerOptions, _super);
62802
62871
  function LinestringLayerOptions() {
62803
62872
  var _this = _super !== null && _super.apply(this, arguments) || this;
62804
62873
  /**
@@ -62834,7 +62903,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62834
62903
  return LinestringLayerOptions;
62835
62904
  }(LayerOptions$1));
62836
62905
 
62837
- var __extends$12 = (window && window.__extends) || (function () {
62906
+ var __extends$13 = (window && window.__extends) || (function () {
62838
62907
  var extendStatics = function (d, b) {
62839
62908
  extendStatics = Object.setPrototypeOf ||
62840
62909
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -62854,7 +62923,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62854
62923
  * @deprecated Use SymbolLayerOptions with atlas.layer.SymbolLayer instead.
62855
62924
  */
62856
62925
  var PinLayerOptions = /** @class */ (function (_super) {
62857
- __extends$12(PinLayerOptions, _super);
62926
+ __extends$13(PinLayerOptions, _super);
62858
62927
  function PinLayerOptions() {
62859
62928
  var _this = _super !== null && _super.apply(this, arguments) || this;
62860
62929
  /**
@@ -62904,7 +62973,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62904
62973
  return PinLayerOptions;
62905
62974
  }(LayerOptions$1));
62906
62975
 
62907
- var __extends$13 = (window && window.__extends) || (function () {
62976
+ var __extends$14 = (window && window.__extends) || (function () {
62908
62977
  var extendStatics = function (d, b) {
62909
62978
  extendStatics = Object.setPrototypeOf ||
62910
62979
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -62924,7 +62993,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62924
62993
  * @deprecated Use new PolygonLayerOptions with atlas.layer.PolygonLayer instead.
62925
62994
  */
62926
62995
  var PolygonLayerOptions$1 = /** @class */ (function (_super) {
62927
- __extends$13(PolygonLayerOptions, _super);
62996
+ __extends$14(PolygonLayerOptions, _super);
62928
62997
  function PolygonLayerOptions() {
62929
62998
  var _this = _super !== null && _super.apply(this, arguments) || this;
62930
62999
  /**
@@ -62947,7 +63016,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62947
63016
  return PolygonLayerOptions;
62948
63017
  }(LayerOptions$1));
62949
63018
 
62950
- var __extends$14 = (window && window.__extends) || (function () {
63019
+ var __extends$15 = (window && window.__extends) || (function () {
62951
63020
  var extendStatics = function (d, b) {
62952
63021
  extendStatics = Object.setPrototypeOf ||
62953
63022
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -62967,7 +63036,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62967
63036
  * @deprecated Use TileLayerOptions with atlas.layer.TileLayer instead.
62968
63037
  */
62969
63038
  var RasterLayerOptions = /** @class */ (function (_super) {
62970
- __extends$14(RasterLayerOptions, _super);
63039
+ __extends$15(RasterLayerOptions, _super);
62971
63040
  function RasterLayerOptions() {
62972
63041
  var _this = _super !== null && _super.apply(this, arguments) || this;
62973
63042
  /**
@@ -62979,7 +63048,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62979
63048
  return RasterLayerOptions;
62980
63049
  }(LayerOptions$1));
62981
63050
 
62982
- var __extends$15 = (window && window.__extends) || (function () {
63051
+ var __extends$16 = (window && window.__extends) || (function () {
62983
63052
  var extendStatics = function (d, b) {
62984
63053
  extendStatics = Object.setPrototypeOf ||
62985
63054
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -62998,7 +63067,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
62998
63067
  * The options for the map's lighting.
62999
63068
  */
63000
63069
  var LightOptions = /** @class */ (function (_super) {
63001
- __extends$15(LightOptions, _super);
63070
+ __extends$16(LightOptions, _super);
63002
63071
  function LightOptions() {
63003
63072
  var _this = _super !== null && _super.apply(this, arguments) || this;
63004
63073
  /**
@@ -63038,7 +63107,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
63038
63107
  return LightOptions;
63039
63108
  }(Options));
63040
63109
 
63041
- var __extends$16 = (window && window.__extends) || (function () {
63110
+ var __extends$17 = (window && window.__extends) || (function () {
63042
63111
  var extendStatics = function (d, b) {
63043
63112
  extendStatics = Object.setPrototypeOf ||
63044
63113
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -63089,7 +63158,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
63089
63158
  * The options for the map's style.
63090
63159
  */
63091
63160
  var StyleOptions = /** @class */ (function (_super) {
63092
- __extends$16(StyleOptions, _super);
63161
+ __extends$17(StyleOptions, _super);
63093
63162
  function StyleOptions() {
63094
63163
  var _this = _super !== null && _super.apply(this, arguments) || this;
63095
63164
  /**
@@ -63251,7 +63320,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
63251
63320
  return StyleOptions;
63252
63321
  }(Options));
63253
63322
 
63254
- var __extends$17 = (window && window.__extends) || (function () {
63323
+ var __extends$18 = (window && window.__extends) || (function () {
63255
63324
  var extendStatics = function (d, b) {
63256
63325
  extendStatics = Object.setPrototypeOf ||
63257
63326
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -63321,7 +63390,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
63321
63390
  * Global properties used in all atlas service requests.
63322
63391
  */
63323
63392
  var ServiceOptions = /** @class */ (function (_super) {
63324
- __extends$17(ServiceOptions, _super);
63393
+ __extends$18(ServiceOptions, _super);
63325
63394
  function ServiceOptions() {
63326
63395
  var _this = _super !== null && _super.apply(this, arguments) || this;
63327
63396
  /**
@@ -63379,8 +63448,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
63379
63448
  */
63380
63449
  _this.styleSet = undefined;
63381
63450
  /**
63382
- * Enable accessibility
63383
- * default: true
63451
+ * Enable the accessibility feature to provide screen reader support for users who have difficulty visualizing the web application.
63452
+ * This property is set to true by default.
63384
63453
  * @default true
63385
63454
  */
63386
63455
  _this.enableAccessibility = true;
@@ -64161,14 +64230,13 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
64161
64230
  return !previousStyle
64162
64231
  ? nextStyle
64163
64232
  : this.map.layers._getUserLayers().reduce(function (style, userLayer) {
64233
+ var _a, _b;
64164
64234
  if (userLayer.layer instanceof WebGLLayer) {
64165
64235
  // mapbox custom layers cannot be serialized and preserved,
64166
64236
  // return to continue to the next user layer.
64167
64237
  return style;
64168
64238
  }
64169
- var before = layerGroupLayers[userLayer.before] && layerGroupLayers[userLayer.before].length > 0
64170
- ? layerGroupLayers[userLayer.before][0]
64171
- : undefined;
64239
+ var beforeLayerId = ((_b = (_a = layerGroupLayers === null || layerGroupLayers === void 0 ? void 0 : layerGroupLayers[userLayer.before]) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.id) || userLayer.before;
64172
64240
  var layer = previousStyle.layers.find(function (layer) { return layer.id === userLayer.layer.getId(); });
64173
64241
  // when setStyle diff attempt is unsuccesful, _load will be called on the style that may have already injected user layers -> clean it up
64174
64242
  var existingLayerIdx = nextStyle.layers.findIndex(function (layer) { return layer.id === userLayer.layer.getId(); });
@@ -64179,7 +64247,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
64179
64247
  var sourcesToCopy = new Set(Array.from(userLayer.layer._getSourceIds())
64180
64248
  .map(function (sourceId) { return previousStyle.sources[sourceId] ? { source: previousStyle.sources[sourceId], id: sourceId } : undefined; })
64181
64249
  .filter(function (source) { return source !== undefined; }));
64182
- var insertIdx = before ? style.layers.findIndex(function (layer) { return layer.id === before.id; }) : -1;
64250
+ var insertIdx = beforeLayerId ? style.layers.findIndex(function (layer) { return layer.id === beforeLayerId; }) : -1;
64183
64251
  if (insertIdx > -1) {
64184
64252
  style.layers.splice(insertIdx, 0, layer);
64185
64253
  }
@@ -64572,7 +64640,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
64572
64640
  return AccessibleIndicatorManager;
64573
64641
  }());
64574
64642
 
64575
- var __extends$18 = (window && window.__extends) || (function () {
64643
+ var __extends$19 = (window && window.__extends) || (function () {
64576
64644
  var extendStatics = function (d, b) {
64577
64645
  extendStatics = Object.setPrototypeOf ||
64578
64646
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64670,7 +64738,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
64670
64738
  * The control for a visual and interactive web map.
64671
64739
  */
64672
64740
  var Map$2 = /** @class */ (function (_super) {
64673
- __extends$18(Map, _super);
64741
+ __extends$19(Map, _super);
64674
64742
  /**
64675
64743
  * Displays a map in the specified container.
64676
64744
  * @param container The id of the element where the map should be displayed.