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.
@@ -265,7 +265,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
265
265
  return Url;
266
266
  }());
267
267
 
268
- var version = "2.3.4";
268
+ var version = "2.3.6";
269
269
 
270
270
  /**
271
271
  * A helper class that provides methods for getting various forms of the map controls current version.
@@ -1184,6 +1184,74 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
1184
1184
  return PitchControl;
1185
1185
  }(ControlBase));
1186
1186
 
1187
+ var __extends$7 = (window && window.__extends) || (function () {
1188
+ var extendStatics = function (d, b) {
1189
+ extendStatics = Object.setPrototypeOf ||
1190
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
1191
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
1192
+ return extendStatics(d, b);
1193
+ };
1194
+ return function (d, b) {
1195
+ if (typeof b !== "function" && b !== null)
1196
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
1197
+ extendStatics(d, b);
1198
+ function __() { this.constructor = d; }
1199
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
1200
+ };
1201
+ })();
1202
+ /**
1203
+ * A control to display a scale bar on the map.
1204
+ */
1205
+ var ScaleControl = /** @class */ (function (_super) {
1206
+ __extends$7(ScaleControl, _super);
1207
+ /**
1208
+ * A control to displays a scale bar relative to the pixel resolution at the center of the map.
1209
+ * @param options Options for defining how the control is rendered and functions.
1210
+ */
1211
+ function ScaleControl(options) {
1212
+ var _this = _super.call(this) || this;
1213
+ _this.map = null;
1214
+ _this.control = new mapboxgl__default.ScaleControl({
1215
+ maxWidth: options === null || options === void 0 ? void 0 : options.maxWidth,
1216
+ unit: options === null || options === void 0 ? void 0 : options.unit
1217
+ });
1218
+ return _this;
1219
+ }
1220
+ /**
1221
+ * Initialization method for the control which is called when added to the map.
1222
+ * @param map The map that the control will be added to.
1223
+ * @param options The ControlOptions for this control.
1224
+ * @return An HTMLElement to be placed on the map for the control.
1225
+ */
1226
+ ScaleControl.prototype.onAdd = function (map, options) {
1227
+ var _a, _b, _c;
1228
+ this.map = map;
1229
+ (_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a._getMap()) === null || _b === void 0 ? void 0 : _b.addControl(this.control);
1230
+ var container = this.buildContainer(map, exports.ControlStyle.auto, "Scale Bar");
1231
+ container.appendChild((_c = this.control) === null || _c === void 0 ? void 0 : _c._container);
1232
+ return container;
1233
+ };
1234
+ /**
1235
+ * Method that is called when the control is removed from the map. Should perform any necessary cleanup for the
1236
+ * control.
1237
+ */
1238
+ ScaleControl.prototype.onRemove = function () {
1239
+ var _a, _b;
1240
+ _super.prototype.onRemove.call(this);
1241
+ (_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a._getMap()) === null || _b === void 0 ? void 0 : _b.removeControl(this.control);
1242
+ this.map = null;
1243
+ };
1244
+ /**
1245
+ * Set the scale's unit of the distance
1246
+ * @param unit - Unit of the distance (`"imperial"`, `"metric"` or `"nautical"`).
1247
+ */
1248
+ ScaleControl.prototype.setUnit = function (unit) {
1249
+ var _a;
1250
+ (_a = this.control) === null || _a === void 0 ? void 0 : _a.setUnit(unit);
1251
+ };
1252
+ return ScaleControl;
1253
+ }(ControlBase));
1254
+
1187
1255
  /**
1188
1256
  * Removes all key-value entries from the list cache.
1189
1257
  *
@@ -4286,7 +4354,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
4286
4354
 
4287
4355
  var merge_1 = merge;
4288
4356
 
4289
- var __extends$7 = (window && window.__extends) || (function () {
4357
+ var __extends$8 = (window && window.__extends) || (function () {
4290
4358
  var extendStatics = function (d, b) {
4291
4359
  extendStatics = Object.setPrototypeOf ||
4292
4360
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -4305,7 +4373,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
4305
4373
  * The options for a StyleControl object.
4306
4374
  */
4307
4375
  var StyleControlOptions = /** @class */ (function (_super) {
4308
- __extends$7(StyleControlOptions, _super);
4376
+ __extends$8(StyleControlOptions, _super);
4309
4377
  function StyleControlOptions() {
4310
4378
  var _this = _super !== null && _super.apply(this, arguments) || this;
4311
4379
  /**
@@ -4350,7 +4418,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
4350
4418
  return StyleControlOptions;
4351
4419
  }(Options));
4352
4420
 
4353
- var __extends$8 = (window && window.__extends) || (function () {
4421
+ var __extends$9 = (window && window.__extends) || (function () {
4354
4422
  var extendStatics = function (d, b) {
4355
4423
  extendStatics = Object.setPrototypeOf ||
4356
4424
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -4421,7 +4489,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
4421
4489
  * A control for changing the style of the map.
4422
4490
  */
4423
4491
  var StyleControl = /** @class */ (function (_super) {
4424
- __extends$8(StyleControl, _super);
4492
+ __extends$9(StyleControl, _super);
4425
4493
  /**
4426
4494
  * Constructs a StyleControl.
4427
4495
  * @param options The options for the control.
@@ -4780,7 +4848,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
4780
4848
  return StyleControl;
4781
4849
  }(ControlBase));
4782
4850
 
4783
- var __extends$9 = (window && window.__extends) || (function () {
4851
+ var __extends$a = (window && window.__extends) || (function () {
4784
4852
  var extendStatics = function (d, b) {
4785
4853
  extendStatics = Object.setPrototypeOf ||
4786
4854
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -4799,7 +4867,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
4799
4867
  * The options for setting traffic on the map.
4800
4868
  */
4801
4869
  var TrafficOptions = /** @class */ (function (_super) {
4802
- __extends$9(TrafficOptions, _super);
4870
+ __extends$a(TrafficOptions, _super);
4803
4871
  function TrafficOptions() {
4804
4872
  var _this = _super !== null && _super.apply(this, arguments) || this;
4805
4873
  /**
@@ -4824,7 +4892,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
4824
4892
  return TrafficOptions;
4825
4893
  }(Options));
4826
4894
 
4827
- var __extends$a = (window && window.__extends) || (function () {
4895
+ var __extends$b = (window && window.__extends) || (function () {
4828
4896
  var extendStatics = function (d, b) {
4829
4897
  extendStatics = Object.setPrototypeOf ||
4830
4898
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -4843,7 +4911,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
4843
4911
  * The options for a TrafficControl object.
4844
4912
  */
4845
4913
  var TrafficControlOptions = /** @class */ (function (_super) {
4846
- __extends$a(TrafficControlOptions, _super);
4914
+ __extends$b(TrafficControlOptions, _super);
4847
4915
  function TrafficControlOptions() {
4848
4916
  var _this = _super !== null && _super.apply(this, arguments) || this;
4849
4917
  /**
@@ -4863,7 +4931,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
4863
4931
  return TrafficControlOptions;
4864
4932
  }(TrafficOptions));
4865
4933
 
4866
- var __extends$b = (window && window.__extends) || (function () {
4934
+ var __extends$c = (window && window.__extends) || (function () {
4867
4935
  var extendStatics = function (d, b) {
4868
4936
  extendStatics = Object.setPrototypeOf ||
4869
4937
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -4882,7 +4950,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
4882
4950
  * A control that toggles traffic data on the map.
4883
4951
  */
4884
4952
  var TrafficControl = /** @class */ (function (_super) {
4885
- __extends$b(TrafficControl, _super);
4953
+ __extends$c(TrafficControl, _super);
4886
4954
  /**
4887
4955
  * Constructs a TrafficControl
4888
4956
  * @param options The options for the control.
@@ -5006,7 +5074,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
5006
5074
  return TrafficControl;
5007
5075
  }(ControlBase));
5008
5076
 
5009
- var __extends$c = (window && window.__extends) || (function () {
5077
+ var __extends$d = (window && window.__extends) || (function () {
5010
5078
  var extendStatics = function (d, b) {
5011
5079
  extendStatics = Object.setPrototypeOf ||
5012
5080
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -5036,7 +5104,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
5036
5104
  * A control that display traffic legend on the map.
5037
5105
  */
5038
5106
  var TrafficLegendControl = /** @class */ (function (_super) {
5039
- __extends$c(TrafficLegendControl, _super);
5107
+ __extends$d(TrafficLegendControl, _super);
5040
5108
  /**
5041
5109
  * Construct a traffic legend control
5042
5110
  */
@@ -5856,7 +5924,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
5856
5924
  return Feature;
5857
5925
  }());
5858
5926
 
5859
- var __extends$d = (window && window.__extends) || (function () {
5927
+ var __extends$e = (window && window.__extends) || (function () {
5860
5928
  var extendStatics = function (d, b) {
5861
5929
  extendStatics = Object.setPrototypeOf ||
5862
5930
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -5875,7 +5943,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
5875
5943
  * Represent a pixel coordinate or offset. Extends an array of [x, y].
5876
5944
  */
5877
5945
  var Pixel = /** @class */ (function (_super) {
5878
- __extends$d(Pixel, _super);
5946
+ __extends$e(Pixel, _super);
5879
5947
  /**
5880
5948
  * Constructs a Pixel object and initializes it with the specified x and y coordinates.
5881
5949
  * @param x The horizontal pixel offset.
@@ -8095,7 +8163,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
8095
8163
  return result;
8096
8164
  }
8097
8165
 
8098
- var __extends$e = (window && window.__extends) || (function () {
8166
+ var __extends$f = (window && window.__extends) || (function () {
8099
8167
  var extendStatics = function (d, b) {
8100
8168
  extendStatics = Object.setPrototypeOf ||
8101
8169
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -8115,7 +8183,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
8115
8183
  * full description is detailed in [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-3.1.1}.
8116
8184
  */
8117
8185
  var Position = /** @class */ (function (_super) {
8118
- __extends$e(Position, _super);
8186
+ __extends$f(Position, _super);
8119
8187
  /**
8120
8188
  * Constructs a Position.
8121
8189
  * @param longitude The position's longitude.
@@ -8307,7 +8375,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
8307
8375
  return Polygon;
8308
8376
  }());
8309
8377
 
8310
- var __extends$f = (window && window.__extends) || (function () {
8378
+ var __extends$g = (window && window.__extends) || (function () {
8311
8379
  var extendStatics = function (d, b) {
8312
8380
  extendStatics = Object.setPrototypeOf ||
8313
8381
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -8337,7 +8405,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
8337
8405
  * A helper class that wraps a Geometry or Feature and makes it easy to update and maintain.
8338
8406
  */
8339
8407
  var Shape = /** @class */ (function (_super) {
8340
- __extends$f(Shape, _super);
8408
+ __extends$g(Shape, _super);
8341
8409
  function Shape(data, id, properties) {
8342
8410
  var _this = _super.call(this) || this;
8343
8411
  var geometry;
@@ -8633,7 +8701,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
8633
8701
  return Shape;
8634
8702
  }(EventEmitter));
8635
8703
 
8636
- var __extends$g = (window && window.__extends) || (function () {
8704
+ var __extends$h = (window && window.__extends) || (function () {
8637
8705
  var extendStatics = function (d, b) {
8638
8706
  extendStatics = Object.setPrototypeOf ||
8639
8707
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -8666,7 +8734,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
8666
8734
  * [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-5}.
8667
8735
  */
8668
8736
  var BoundingBox = /** @class */ (function (_super) {
8669
- __extends$g(BoundingBox, _super);
8737
+ __extends$h(BoundingBox, _super);
8670
8738
  function BoundingBox(southwestPositionOrPositions, northeastPosition) {
8671
8739
  var _this = this;
8672
8740
  if (southwestPositionOrPositions && northeastPosition) {
@@ -9383,7 +9451,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
9383
9451
  return MultiPolygon;
9384
9452
  }());
9385
9453
 
9386
- var __extends$h = (window && window.__extends) || (function () {
9454
+ var __extends$i = (window && window.__extends) || (function () {
9387
9455
  var extendStatics = function (d, b) {
9388
9456
  extendStatics = Object.setPrototypeOf ||
9389
9457
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -9414,7 +9482,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
9414
9482
  * The `z` dimension of `MercatorPoint` is conformal. A cube in the mercator coordinate space would be rendered as a cube.
9415
9483
  */
9416
9484
  var MercatorPoint = /** @class */ (function (_super) {
9417
- __extends$h(MercatorPoint, _super);
9485
+ __extends$i(MercatorPoint, _super);
9418
9486
  /**
9419
9487
  * Constructs a MercatorPoint.
9420
9488
  * @param x A points x position in mercator units.
@@ -9913,7 +9981,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
9913
9981
  simplify: simplify
9914
9982
  });
9915
9983
 
9916
- var __extends$i = (window && window.__extends) || (function () {
9984
+ var __extends$j = (window && window.__extends) || (function () {
9917
9985
  var extendStatics = function (d, b) {
9918
9986
  extendStatics = Object.setPrototypeOf ||
9919
9987
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -9932,7 +10000,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
9932
10000
  * The options for a ZoomControl object.
9933
10001
  */
9934
10002
  var ZoomControlOptions = /** @class */ (function (_super) {
9935
- __extends$i(ZoomControlOptions, _super);
10003
+ __extends$j(ZoomControlOptions, _super);
9936
10004
  function ZoomControlOptions() {
9937
10005
  var _this = _super !== null && _super.apply(this, arguments) || this;
9938
10006
  /**
@@ -9952,7 +10020,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
9952
10020
  return ZoomControlOptions;
9953
10021
  }(Options));
9954
10022
 
9955
- var __extends$j = (window && window.__extends) || (function () {
10023
+ var __extends$k = (window && window.__extends) || (function () {
9956
10024
  var extendStatics = function (d, b) {
9957
10025
  extendStatics = Object.setPrototypeOf ||
9958
10026
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -9971,7 +10039,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
9971
10039
  * A control for changing the zoom of the map.
9972
10040
  */
9973
10041
  var ZoomControl = /** @class */ (function (_super) {
9974
- __extends$j(ZoomControl, _super);
10042
+ __extends$k(ZoomControl, _super);
9975
10043
  /**
9976
10044
  * Constructs a ZoomControl.
9977
10045
  * @param options The options for the control.
@@ -10093,6 +10161,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
10093
10161
  PitchControl: PitchControl,
10094
10162
  CompassControl: CompassControl,
10095
10163
  ZoomControl: ZoomControl,
10164
+ ScaleControl: ScaleControl,
10096
10165
  StyleControl: StyleControl,
10097
10166
  TrafficControl: TrafficControl,
10098
10167
  TrafficLegendControl: TrafficLegendControl
@@ -10203,7 +10272,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
10203
10272
  return AccessibleIndicator;
10204
10273
  }());
10205
10274
 
10206
- var __extends$k = (window && window.__extends) || (function () {
10275
+ var __extends$l = (window && window.__extends) || (function () {
10207
10276
  var extendStatics = function (d, b) {
10208
10277
  extendStatics = Object.setPrototypeOf ||
10209
10278
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -10225,7 +10294,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
10225
10294
  * @module Object Definitions
10226
10295
  */
10227
10296
  var DataSourceOptions = /** @class */ (function (_super) {
10228
- __extends$k(DataSourceOptions, _super);
10297
+ __extends$l(DataSourceOptions, _super);
10229
10298
  function DataSourceOptions() {
10230
10299
  var _this = _super !== null && _super.apply(this, arguments) || this;
10231
10300
  /*
@@ -10280,7 +10349,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
10280
10349
  return DataSourceOptions;
10281
10350
  }(Options));
10282
10351
 
10283
- var __extends$l = (window && window.__extends) || (function () {
10352
+ var __extends$m = (window && window.__extends) || (function () {
10284
10353
  var extendStatics = function (d, b) {
10285
10354
  extendStatics = Object.setPrototypeOf ||
10286
10355
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -10300,7 +10369,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
10300
10369
  * A source must be added to a layer before it is visible on the map.
10301
10370
  */
10302
10371
  var Source = /** @class */ (function (_super) {
10303
- __extends$l(Source, _super);
10372
+ __extends$m(Source, _super);
10304
10373
  function Source(id) {
10305
10374
  var _this = _super.call(this) || this;
10306
10375
  _this.id = id || uuidRandom();
@@ -10339,7 +10408,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
10339
10408
  return Source;
10340
10409
  }(EventEmitter));
10341
10410
 
10342
- var __extends$m = (window && window.__extends) || (function () {
10411
+ var __extends$n = (window && window.__extends) || (function () {
10343
10412
  var extendStatics = function (d, b) {
10344
10413
  extendStatics = Object.setPrototypeOf ||
10345
10414
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -10371,7 +10440,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
10371
10440
  * The DataSource class may be used with the SymbolLayer, LineLayer, PolygonLayer, BubbleLayer, and HeatMapLayer.
10372
10441
  */
10373
10442
  var DataSource = /** @class */ (function (_super) {
10374
- __extends$m(DataSource, _super);
10443
+ __extends$n(DataSource, _super);
10375
10444
  /**
10376
10445
  * A data source class that makes it easy to manage shapes data that will be displayed on the map.
10377
10446
  * A data source must be added to a layer before it is visible on the map.
@@ -10818,7 +10887,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
10818
10887
  return DataSource;
10819
10888
  }(Source));
10820
10889
 
10821
- var __extends$n = (window && window.__extends) || (function () {
10890
+ var __extends$o = (window && window.__extends) || (function () {
10822
10891
  var extendStatics = function (d, b) {
10823
10892
  extendStatics = Object.setPrototypeOf ||
10824
10893
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -10840,7 +10909,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
10840
10909
  * @module Object Definitions
10841
10910
  */
10842
10911
  var VectorTileSourceOptions = /** @class */ (function (_super) {
10843
- __extends$n(VectorTileSourceOptions, _super);
10912
+ __extends$o(VectorTileSourceOptions, _super);
10844
10913
  function VectorTileSourceOptions() {
10845
10914
  /*
10846
10915
  * TODO:
@@ -10893,7 +10962,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
10893
10962
  return VectorTileSourceOptions;
10894
10963
  }(Options));
10895
10964
 
10896
- var __extends$o = (window && window.__extends) || (function () {
10965
+ var __extends$p = (window && window.__extends) || (function () {
10897
10966
  var extendStatics = function (d, b) {
10898
10967
  extendStatics = Object.setPrototypeOf ||
10899
10968
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -10913,7 +10982,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
10913
10982
  * Vector tile sources can be used with; SymbolLayer, LineLayer, PolygonLayer, BubbleLayer, HeatmapLayer and VectorTileLayer.
10914
10983
  */
10915
10984
  var VectorTileSource = /** @class */ (function (_super) {
10916
- __extends$o(VectorTileSource, _super);
10985
+ __extends$p(VectorTileSource, _super);
10917
10986
  function VectorTileSource(id, options) {
10918
10987
  var _this = _super.call(this, id) || this;
10919
10988
  _this.options = new VectorTileSourceOptions().merge(cloneDeep_1(options));
@@ -10988,7 +11057,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
10988
11057
  VectorTileSource: VectorTileSource
10989
11058
  });
10990
11059
 
10991
- var __extends$p = (window && window.__extends) || (function () {
11060
+ var __extends$q = (window && window.__extends) || (function () {
10992
11061
  var extendStatics = function (d, b) {
10993
11062
  extendStatics = Object.setPrototypeOf ||
10994
11063
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -11007,7 +11076,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11007
11076
  * Abstract class for other layer classes to extend.
11008
11077
  */
11009
11078
  var Layer = /** @class */ (function (_super) {
11010
- __extends$p(Layer, _super);
11079
+ __extends$q(Layer, _super);
11011
11080
  function Layer(id) {
11012
11081
  var _this =
11013
11082
  // Assign an random id using a UUID if none was specified.
@@ -11114,7 +11183,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11114
11183
  return Layer;
11115
11184
  }(EventEmitter));
11116
11185
 
11117
- var __extends$q = (window && window.__extends) || (function () {
11186
+ var __extends$r = (window && window.__extends) || (function () {
11118
11187
  var extendStatics = function (d, b) {
11119
11188
  extendStatics = Object.setPrototypeOf ||
11120
11189
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -11133,7 +11202,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11133
11202
  * A base class which all other layer options inherit from.
11134
11203
  */
11135
11204
  var LayerOptions = /** @class */ (function (_super) {
11136
- __extends$q(LayerOptions, _super);
11205
+ __extends$r(LayerOptions, _super);
11137
11206
  function LayerOptions() {
11138
11207
  var _this = _super !== null && _super.apply(this, arguments) || this;
11139
11208
  /**
@@ -11180,7 +11249,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11180
11249
  return LayerOptions;
11181
11250
  }(Options));
11182
11251
 
11183
- var __extends$r = (window && window.__extends) || (function () {
11252
+ var __extends$s = (window && window.__extends) || (function () {
11184
11253
  var extendStatics = function (d, b) {
11185
11254
  extendStatics = Object.setPrototypeOf ||
11186
11255
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -11199,7 +11268,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11199
11268
  * Options used when rendering Point objects in a BubbleLayer.
11200
11269
  */
11201
11270
  var BubbleLayerOptions = /** @class */ (function (_super) {
11202
- __extends$r(BubbleLayerOptions, _super);
11271
+ __extends$s(BubbleLayerOptions, _super);
11203
11272
  function BubbleLayerOptions() {
11204
11273
  var _this = _super !== null && _super.apply(this, arguments) || this;
11205
11274
  /**
@@ -11307,7 +11376,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11307
11376
  return BubbleLayerOptions;
11308
11377
  }(LayerOptions));
11309
11378
 
11310
- var __extends$s = (window && window.__extends) || (function () {
11379
+ var __extends$t = (window && window.__extends) || (function () {
11311
11380
  var extendStatics = function (d, b) {
11312
11381
  extendStatics = Object.setPrototypeOf ||
11313
11382
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -11383,7 +11452,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11383
11452
  * Renders Point objects as scalable circles (bubbles).
11384
11453
  */
11385
11454
  var BubbleLayer = /** @class */ (function (_super) {
11386
- __extends$s(BubbleLayer, _super);
11455
+ __extends$t(BubbleLayer, _super);
11387
11456
  /**
11388
11457
  * Constructs a new BubbleLayer.
11389
11458
  * @param source The id or instance of a data source which the layer will render.
@@ -11658,7 +11727,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11658
11727
  return BubbleLayer;
11659
11728
  }(Layer));
11660
11729
 
11661
- var __extends$t = (window && window.__extends) || (function () {
11730
+ var __extends$u = (window && window.__extends) || (function () {
11662
11731
  var extendStatics = function (d, b) {
11663
11732
  extendStatics = Object.setPrototypeOf ||
11664
11733
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -11677,7 +11746,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11677
11746
  * Options used when rendering Point objects in a HeatMapLayer.
11678
11747
  */
11679
11748
  var HeatMapLayerOptions = /** @class */ (function (_super) {
11680
- __extends$t(HeatMapLayerOptions, _super);
11749
+ __extends$u(HeatMapLayerOptions, _super);
11681
11750
  function HeatMapLayerOptions() {
11682
11751
  var _this = _super !== null && _super.apply(this, arguments) || this;
11683
11752
  /**
@@ -11744,7 +11813,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11744
11813
  return HeatMapLayerOptions;
11745
11814
  }(LayerOptions));
11746
11815
 
11747
- var __extends$u = (window && window.__extends) || (function () {
11816
+ var __extends$v = (window && window.__extends) || (function () {
11748
11817
  var extendStatics = function (d, b) {
11749
11818
  extendStatics = Object.setPrototypeOf ||
11750
11819
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -11763,7 +11832,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11763
11832
  * Represent the density of data using different colors (HeatMap).
11764
11833
  */
11765
11834
  var HeatMapLayer = /** @class */ (function (_super) {
11766
- __extends$u(HeatMapLayer, _super);
11835
+ __extends$v(HeatMapLayer, _super);
11767
11836
  /**
11768
11837
  * Constructs a new HeatMapLayer.
11769
11838
  * @param source The id or instance of a data source which the layer will render.
@@ -11867,7 +11936,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11867
11936
  return HeatMapLayer;
11868
11937
  }(Layer));
11869
11938
 
11870
- var __extends$v = (window && window.__extends) || (function () {
11939
+ var __extends$w = (window && window.__extends) || (function () {
11871
11940
  var extendStatics = function (d, b) {
11872
11941
  extendStatics = Object.setPrototypeOf ||
11873
11942
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -11886,7 +11955,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11886
11955
  * Options used when rendering canvas, image, raster tile, and video layers
11887
11956
  */
11888
11957
  var MediaLayerOptions = /** @class */ (function (_super) {
11889
- __extends$v(MediaLayerOptions, _super);
11958
+ __extends$w(MediaLayerOptions, _super);
11890
11959
  function MediaLayerOptions() {
11891
11960
  var _this = _super !== null && _super.apply(this, arguments) || this;
11892
11961
  /**
@@ -11938,7 +12007,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11938
12007
  return MediaLayerOptions;
11939
12008
  }(LayerOptions));
11940
12009
 
11941
- var __extends$w = (window && window.__extends) || (function () {
12010
+ var __extends$x = (window && window.__extends) || (function () {
11942
12011
  var extendStatics = function (d, b) {
11943
12012
  extendStatics = Object.setPrototypeOf ||
11944
12013
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -11957,7 +12026,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11957
12026
  * Options used when rendering Point objects in a ImageLayer.
11958
12027
  */
11959
12028
  var ImageLayerOptions = /** @class */ (function (_super) {
11960
- __extends$w(ImageLayerOptions, _super);
12029
+ __extends$x(ImageLayerOptions, _super);
11961
12030
  function ImageLayerOptions() {
11962
12031
  var _this = _super !== null && _super.apply(this, arguments) || this;
11963
12032
  /**
@@ -11987,7 +12056,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
11987
12056
  return ImageLayerOptions;
11988
12057
  }(MediaLayerOptions));
11989
12058
 
11990
- var __extends$x = (window && window.__extends) || (function () {
12059
+ var __extends$y = (window && window.__extends) || (function () {
11991
12060
  var extendStatics = function (d, b) {
11992
12061
  extendStatics = Object.setPrototypeOf ||
11993
12062
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -12007,7 +12076,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12007
12076
  * @internal
12008
12077
  */
12009
12078
  var SourceBuildingLayer = /** @class */ (function (_super) {
12010
- __extends$x(SourceBuildingLayer, _super);
12079
+ __extends$y(SourceBuildingLayer, _super);
12011
12080
  function SourceBuildingLayer() {
12012
12081
  return _super !== null && _super.apply(this, arguments) || this;
12013
12082
  }
@@ -12022,7 +12091,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12022
12091
  return SourceBuildingLayer;
12023
12092
  }(Layer));
12024
12093
 
12025
- var __extends$y = (window && window.__extends) || (function () {
12094
+ var __extends$z = (window && window.__extends) || (function () {
12026
12095
  var extendStatics = function (d, b) {
12027
12096
  extendStatics = Object.setPrototypeOf ||
12028
12097
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -12041,7 +12110,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12041
12110
  * Overlays an image on the map with each corner anchored to a coordinate on the map. Also known as a ground or image overlay.
12042
12111
  */
12043
12112
  var ImageLayer = /** @class */ (function (_super) {
12044
- __extends$y(ImageLayer, _super);
12113
+ __extends$z(ImageLayer, _super);
12045
12114
  /**
12046
12115
  * Constructs a new ImageLayer.
12047
12116
  * @param id The id of the layer. If not specified a random one will be generated.
@@ -12244,7 +12313,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12244
12313
  return ImageLayer;
12245
12314
  }(SourceBuildingLayer));
12246
12315
 
12247
- var __extends$z = (window && window.__extends) || (function () {
12316
+ var __extends$A = (window && window.__extends) || (function () {
12248
12317
  var extendStatics = function (d, b) {
12249
12318
  extendStatics = Object.setPrototypeOf ||
12250
12319
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -12264,7 +12333,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12264
12333
  * LineString, MultiLineString, Polygon, and MultiPolygon objects in a line layer.
12265
12334
  */
12266
12335
  var LineLayerOptions = /** @class */ (function (_super) {
12267
- __extends$z(LineLayerOptions, _super);
12336
+ __extends$A(LineLayerOptions, _super);
12268
12337
  function LineLayerOptions() {
12269
12338
  var _this = _super !== null && _super.apply(this, arguments) || this;
12270
12339
  /**
@@ -12364,7 +12433,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12364
12433
  return LineLayerOptions;
12365
12434
  }(LayerOptions));
12366
12435
 
12367
- var __extends$A = (window && window.__extends) || (function () {
12436
+ var __extends$B = (window && window.__extends) || (function () {
12368
12437
  var extendStatics = function (d, b) {
12369
12438
  extendStatics = Object.setPrototypeOf ||
12370
12439
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -12395,7 +12464,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12395
12464
  * CirclePolygon, LineString, MultiLineString, Polygon, and MultiPolygon objects.
12396
12465
  */
12397
12466
  var LineLayer = /** @class */ (function (_super) {
12398
- __extends$A(LineLayer, _super);
12467
+ __extends$B(LineLayer, _super);
12399
12468
  /**
12400
12469
  * Constructs a new LineLayer.
12401
12470
  * @param source The id or instance of a data source which the layer will render.
@@ -12486,7 +12555,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12486
12555
  return LineLayer;
12487
12556
  }(Layer));
12488
12557
 
12489
- var __extends$B = (window && window.__extends) || (function () {
12558
+ var __extends$C = (window && window.__extends) || (function () {
12490
12559
  var extendStatics = function (d, b) {
12491
12560
  extendStatics = Object.setPrototypeOf ||
12492
12561
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -12505,7 +12574,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12505
12574
  * Options used when rendering `Polygon` and `MultiPolygon` objects in a `PolygonExtrusionLayer`.
12506
12575
  */
12507
12576
  var PolygonExtrusionLayerOptions = /** @class */ (function (_super) {
12508
- __extends$B(PolygonExtrusionLayerOptions, _super);
12577
+ __extends$C(PolygonExtrusionLayerOptions, _super);
12509
12578
  function PolygonExtrusionLayerOptions() {
12510
12579
  var _this = _super !== null && _super.apply(this, arguments) || this;
12511
12580
  /**
@@ -12578,7 +12647,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12578
12647
  return PolygonExtrusionLayerOptions;
12579
12648
  }(LayerOptions));
12580
12649
 
12581
- var __extends$C = (window && window.__extends) || (function () {
12650
+ var __extends$D = (window && window.__extends) || (function () {
12582
12651
  var extendStatics = function (d, b) {
12583
12652
  extendStatics = Object.setPrototypeOf ||
12584
12653
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -12608,7 +12677,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12608
12677
  * Renders extruded filled `Polygon` and `MultiPolygon` objects on the map.
12609
12678
  */
12610
12679
  var PolygonExtrusionLayer = /** @class */ (function (_super) {
12611
- __extends$C(PolygonExtrusionLayer, _super);
12680
+ __extends$D(PolygonExtrusionLayer, _super);
12612
12681
  /**
12613
12682
  * Constructs a new PolygonExtrusionLayer.
12614
12683
  * @param source The id or instance of a data source which the layer will render.
@@ -12696,7 +12765,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12696
12765
  return PolygonExtrusionLayer;
12697
12766
  }(Layer));
12698
12767
 
12699
- var __extends$D = (window && window.__extends) || (function () {
12768
+ var __extends$E = (window && window.__extends) || (function () {
12700
12769
  var extendStatics = function (d, b) {
12701
12770
  extendStatics = Object.setPrototypeOf ||
12702
12771
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -12747,7 +12816,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12747
12816
  * Options used when rendering Polygon and MultiPolygon objects in a PolygonLayer.
12748
12817
  */
12749
12818
  var PolygonLayerOptions = /** @class */ (function (_super) {
12750
- __extends$D(PolygonLayerOptions, _super);
12819
+ __extends$E(PolygonLayerOptions, _super);
12751
12820
  function PolygonLayerOptions() {
12752
12821
  var _this = _super !== null && _super.apply(this, arguments) || this;
12753
12822
  /**
@@ -12825,7 +12894,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12825
12894
  return PolygonLayerOptions;
12826
12895
  }(LayerOptions));
12827
12896
 
12828
- var __extends$E = (window && window.__extends) || (function () {
12897
+ var __extends$F = (window && window.__extends) || (function () {
12829
12898
  var extendStatics = function (d, b) {
12830
12899
  extendStatics = Object.setPrototypeOf ||
12831
12900
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -12844,7 +12913,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12844
12913
  * Renders filled Polygon and MultiPolygon objects on the map.
12845
12914
  */
12846
12915
  var PolygonLayer = /** @class */ (function (_super) {
12847
- __extends$E(PolygonLayer, _super);
12916
+ __extends$F(PolygonLayer, _super);
12848
12917
  /**
12849
12918
  * Constructs a new PolygonLayer.
12850
12919
  * @param source The id or instance of a data source which the layer will render.
@@ -12950,7 +13019,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12950
13019
  return PolygonLayer;
12951
13020
  }(Layer));
12952
13021
 
12953
- var __extends$F = (window && window.__extends) || (function () {
13022
+ var __extends$G = (window && window.__extends) || (function () {
12954
13023
  var extendStatics = function (d, b) {
12955
13024
  extendStatics = Object.setPrototypeOf ||
12956
13025
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -12969,7 +13038,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
12969
13038
  * Options used to customize the icons in a SymbolLayer
12970
13039
  */
12971
13040
  var IconOptions = /** @class */ (function (_super) {
12972
- __extends$F(IconOptions, _super);
13041
+ __extends$G(IconOptions, _super);
12973
13042
  function IconOptions() {
12974
13043
  var _this = _super !== null && _super.apply(this, arguments) || this;
12975
13044
  /**
@@ -13079,7 +13148,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13079
13148
  return IconOptions;
13080
13149
  }(Options));
13081
13150
 
13082
- var __extends$G = (window && window.__extends) || (function () {
13151
+ var __extends$H = (window && window.__extends) || (function () {
13083
13152
  var extendStatics = function (d, b) {
13084
13153
  extendStatics = Object.setPrototypeOf ||
13085
13154
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13098,7 +13167,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13098
13167
  * Options used to customize the text in a SymbolLayer
13099
13168
  */
13100
13169
  var TextOptions = /** @class */ (function (_super) {
13101
- __extends$G(TextOptions, _super);
13170
+ __extends$H(TextOptions, _super);
13102
13171
  function TextOptions() {
13103
13172
  var _this = _super !== null && _super.apply(this, arguments) || this;
13104
13173
  /**
@@ -13278,7 +13347,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13278
13347
  return TextOptions;
13279
13348
  }(Options));
13280
13349
 
13281
- var __extends$H = (window && window.__extends) || (function () {
13350
+ var __extends$I = (window && window.__extends) || (function () {
13282
13351
  var extendStatics = function (d, b) {
13283
13352
  extendStatics = Object.setPrototypeOf ||
13284
13353
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13297,7 +13366,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13297
13366
  * Options used when rendering geometries in a SymbolLayer.
13298
13367
  */
13299
13368
  var SymbolLayerOptions = /** @class */ (function (_super) {
13300
- __extends$H(SymbolLayerOptions, _super);
13369
+ __extends$I(SymbolLayerOptions, _super);
13301
13370
  function SymbolLayerOptions() {
13302
13371
  var _this = _super !== null && _super.apply(this, arguments) || this;
13303
13372
  /**
@@ -13362,7 +13431,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13362
13431
  return SymbolLayerOptions;
13363
13432
  }(LayerOptions));
13364
13433
 
13365
- var __extends$I = (window && window.__extends) || (function () {
13434
+ var __extends$J = (window && window.__extends) || (function () {
13366
13435
  var extendStatics = function (d, b) {
13367
13436
  extendStatics = Object.setPrototypeOf ||
13368
13437
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13393,7 +13462,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13393
13462
  * Symbols can also be created for line and polygon data as well.
13394
13463
  */
13395
13464
  var SymbolLayer = /** @class */ (function (_super) {
13396
- __extends$I(SymbolLayer, _super);
13465
+ __extends$J(SymbolLayer, _super);
13397
13466
  /**
13398
13467
  * Constructs a new SymbolLayer.
13399
13468
  * @param source The id or instance of a data source which the layer will render.
@@ -13535,7 +13604,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13535
13604
  return SymbolLayer;
13536
13605
  }(Layer));
13537
13606
 
13538
- var __extends$J = (window && window.__extends) || (function () {
13607
+ var __extends$K = (window && window.__extends) || (function () {
13539
13608
  var extendStatics = function (d, b) {
13540
13609
  extendStatics = Object.setPrototypeOf ||
13541
13610
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13554,7 +13623,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13554
13623
  * Options used when rendering raster tiled images in a TileLayer.
13555
13624
  */
13556
13625
  var TileLayerOptions = /** @class */ (function (_super) {
13557
- __extends$J(TileLayerOptions, _super);
13626
+ __extends$K(TileLayerOptions, _super);
13558
13627
  function TileLayerOptions() {
13559
13628
  var _this = _super !== null && _super.apply(this, arguments) || this;
13560
13629
  /**
@@ -13610,7 +13679,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13610
13679
  return TileLayerOptions;
13611
13680
  }(MediaLayerOptions));
13612
13681
 
13613
- var __extends$K = (window && window.__extends) || (function () {
13682
+ var __extends$L = (window && window.__extends) || (function () {
13614
13683
  var extendStatics = function (d, b) {
13615
13684
  extendStatics = Object.setPrototypeOf ||
13616
13685
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13651,7 +13720,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13651
13720
  * Renders raster tiled images on top of the map tiles.
13652
13721
  */
13653
13722
  var TileLayer = /** @class */ (function (_super) {
13654
- __extends$K(TileLayer, _super);
13723
+ __extends$L(TileLayer, _super);
13655
13724
  /**
13656
13725
  * Constructs a new TileLayer.
13657
13726
  * @param options The options for the tile layer.
@@ -13794,7 +13863,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13794
13863
  return TileLayer;
13795
13864
  }(SourceBuildingLayer));
13796
13865
 
13797
- var __extends$L = (window && window.__extends) || (function () {
13866
+ var __extends$M = (window && window.__extends) || (function () {
13798
13867
  var extendStatics = function (d, b) {
13799
13868
  extendStatics = Object.setPrototypeOf ||
13800
13869
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13813,7 +13882,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13813
13882
  * Options used to render graphics in a WebGLLayer.
13814
13883
  */
13815
13884
  var WebGLLayerOptions = /** @class */ (function (_super) {
13816
- __extends$L(WebGLLayerOptions, _super);
13885
+ __extends$M(WebGLLayerOptions, _super);
13817
13886
  function WebGLLayerOptions() {
13818
13887
  var _this = _super !== null && _super.apply(this, arguments) || this;
13819
13888
  /**
@@ -13825,7 +13894,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13825
13894
  return WebGLLayerOptions;
13826
13895
  }(LayerOptions));
13827
13896
 
13828
- var __extends$M = (window && window.__extends) || (function () {
13897
+ var __extends$N = (window && window.__extends) || (function () {
13829
13898
  var extendStatics = function (d, b) {
13830
13899
  extendStatics = Object.setPrototypeOf ||
13831
13900
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -13844,7 +13913,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
13844
13913
  * Enables custom rendering logic with access to the WebGL context of the map.
13845
13914
  */
13846
13915
  var WebGLLayer = /** @class */ (function (_super) {
13847
- __extends$M(WebGLLayer, _super);
13916
+ __extends$N(WebGLLayer, _super);
13848
13917
  /**
13849
13918
  * Constructs a new WebGLLayer.
13850
13919
  * @param id The id of the layer. If not specified a random one will be generated.
@@ -14074,7 +14143,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14074
14143
 
14075
14144
  var isElement_1 = isElement;
14076
14145
 
14077
- var __extends$N = (window && window.__extends) || (function () {
14146
+ var __extends$O = (window && window.__extends) || (function () {
14078
14147
  var extendStatics = function (d, b) {
14079
14148
  extendStatics = Object.setPrototypeOf ||
14080
14149
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14093,7 +14162,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14093
14162
  * The options for a popup.
14094
14163
  */
14095
14164
  var PopupOptions = /** @class */ (function (_super) {
14096
- __extends$N(PopupOptions, _super);
14165
+ __extends$O(PopupOptions, _super);
14097
14166
  function PopupOptions() {
14098
14167
  var _this = _super !== null && _super.apply(this, arguments) || this;
14099
14168
  /**
@@ -14162,7 +14231,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14162
14231
  return PopupOptions;
14163
14232
  }(Options));
14164
14233
 
14165
- var __extends$O = (window && window.__extends) || (function () {
14234
+ var __extends$P = (window && window.__extends) || (function () {
14166
14235
  var extendStatics = function (d, b) {
14167
14236
  extendStatics = Object.setPrototypeOf ||
14168
14237
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14197,7 +14266,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14197
14266
  * An information window anchored at a specified position on a map.
14198
14267
  */
14199
14268
  var Popup = /** @class */ (function (_super) {
14200
- __extends$O(Popup, _super);
14269
+ __extends$P(Popup, _super);
14201
14270
  /**
14202
14271
  * Constructs a Popup object and initializes it with the specified options.
14203
14272
  * @param options The options for the popup.
@@ -14668,7 +14737,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14668
14737
  return Popup;
14669
14738
  }(EventEmitter));
14670
14739
 
14671
- var __extends$P = (window && window.__extends) || (function () {
14740
+ var __extends$Q = (window && window.__extends) || (function () {
14672
14741
  var extendStatics = function (d, b) {
14673
14742
  extendStatics = Object.setPrototypeOf ||
14674
14743
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14687,7 +14756,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14687
14756
  * Options for rendering an HtmlMarker object
14688
14757
  */
14689
14758
  var HtmlMarkerOptions = /** @class */ (function (_super) {
14690
- __extends$P(HtmlMarkerOptions, _super);
14759
+ __extends$Q(HtmlMarkerOptions, _super);
14691
14760
  function HtmlMarkerOptions() {
14692
14761
  var _this = _super !== null && _super.apply(this, arguments) || this;
14693
14762
  /**
@@ -14765,7 +14834,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14765
14834
  return HtmlMarkerOptions;
14766
14835
  }(Options));
14767
14836
 
14768
- var __extends$Q = (window && window.__extends) || (function () {
14837
+ var __extends$R = (window && window.__extends) || (function () {
14769
14838
  var extendStatics = function (d, b) {
14770
14839
  extendStatics = Object.setPrototypeOf ||
14771
14840
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -14784,7 +14853,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
14784
14853
  * This class wraps an HTML element that can be displayed on the map.
14785
14854
  */
14786
14855
  var HtmlMarker = /** @class */ (function (_super) {
14787
- __extends$Q(HtmlMarker, _super);
14856
+ __extends$R(HtmlMarker, _super);
14788
14857
  /**
14789
14858
  * Constructs a new HtmlMarker.
14790
14859
  * @param options The options for the HtmlMarker.
@@ -15509,7 +15578,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
15509
15578
  return UserAgent;
15510
15579
  }());
15511
15580
 
15512
- var __extends$R = (window && window.__extends) || (function () {
15581
+ var __extends$S = (window && window.__extends) || (function () {
15513
15582
  var extendStatics = function (d, b) {
15514
15583
  extendStatics = Object.setPrototypeOf ||
15515
15584
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -15575,7 +15644,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
15575
15644
  * Options for specifying how the map control should authenticate with the Azure Maps services.
15576
15645
  */
15577
15646
  var AuthenticationOptions = /** @class */ (function (_super) {
15578
- __extends$R(AuthenticationOptions, _super);
15647
+ __extends$S(AuthenticationOptions, _super);
15579
15648
  function AuthenticationOptions() {
15580
15649
  var _this = _super !== null && _super.apply(this, arguments) || this;
15581
15650
  /**
@@ -16176,7 +16245,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
16176
16245
  return Media;
16177
16246
  }());
16178
16247
 
16179
- var __extends$S = (window && window.__extends) || (function () {
16248
+ var __extends$T = (window && window.__extends) || (function () {
16180
16249
  var extendStatics = function (d, b) {
16181
16250
  extendStatics = Object.setPrototypeOf ||
16182
16251
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -16195,7 +16264,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
16195
16264
  * The options for a CopyrightControl object.
16196
16265
  */
16197
16266
  var CopyrightControlOptions = /** @class */ (function (_super) {
16198
- __extends$S(CopyrightControlOptions, _super);
16267
+ __extends$T(CopyrightControlOptions, _super);
16199
16268
  function CopyrightControlOptions() {
16200
16269
  var _this = _super !== null && _super.apply(this, arguments) || this;
16201
16270
  /**
@@ -16224,7 +16293,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
16224
16293
  return CopyrightControlOptions;
16225
16294
  }(Options));
16226
16295
 
16227
- var __extends$T = (window && window.__extends) || (function () {
16296
+ var __extends$U = (window && window.__extends) || (function () {
16228
16297
  var extendStatics = function (d, b) {
16229
16298
  extendStatics = Object.setPrototypeOf ||
16230
16299
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -16243,7 +16312,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
16243
16312
  * @private
16244
16313
  */
16245
16314
  var CopyrightControl = /** @class */ (function (_super) {
16246
- __extends$T(CopyrightControl, _super);
16315
+ __extends$U(CopyrightControl, _super);
16247
16316
  function CopyrightControl(options) {
16248
16317
  var _this = _super.call(this) || this;
16249
16318
  _this.textAttribution = function (options) {
@@ -16603,7 +16672,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
16603
16672
  return FlowServiceDelegate;
16604
16673
  }());
16605
16674
 
16606
- var __extends$U = (window && window.__extends) || (function () {
16675
+ var __extends$V = (window && window.__extends) || (function () {
16607
16676
  var extendStatics = function (d, b) {
16608
16677
  extendStatics = Object.setPrototypeOf ||
16609
16678
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -16622,7 +16691,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
16622
16691
  * The options for enabling/disabling user interaction with the map.
16623
16692
  */
16624
16693
  var UserInteractionOptions = /** @class */ (function (_super) {
16625
- __extends$U(UserInteractionOptions, _super);
16694
+ __extends$V(UserInteractionOptions, _super);
16626
16695
  function UserInteractionOptions() {
16627
16696
  var _this = _super !== null && _super.apply(this, arguments) || this;
16628
16697
  /**
@@ -17951,7 +18020,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
17951
18020
  return ImageSpriteManager;
17952
18021
  }());
17953
18022
 
17954
- var __extends$V = (window && window.__extends) || (function () {
18023
+ var __extends$W = (window && window.__extends) || (function () {
17955
18024
  var extendStatics = function (d, b) {
17956
18025
  extendStatics = Object.setPrototypeOf ||
17957
18026
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -17983,7 +18052,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
17983
18052
  * @private
17984
18053
  */
17985
18054
  var FundamentalMapLayer = /** @class */ (function (_super) {
17986
- __extends$V(FundamentalMapLayer, _super);
18055
+ __extends$W(FundamentalMapLayer, _super);
17987
18056
  /**
17988
18057
  * Constructs a base layer used to represent the base, transit, and labels layers.
17989
18058
  * @param mbLayers The stylesheet used to define the style sources and style layers.
@@ -18759,7 +18828,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
18759
18828
  return PopupManager;
18760
18829
  }());
18761
18830
 
18762
- var __extends$W = (window && window.__extends) || (function () {
18831
+ var __extends$X = (window && window.__extends) || (function () {
18763
18832
  var extendStatics = function (d, b) {
18764
18833
  extendStatics = Object.setPrototypeOf ||
18765
18834
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -18790,7 +18859,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
18790
18859
  * @private
18791
18860
  */
18792
18861
  var FundamentalMapSource = /** @class */ (function (_super) {
18793
- __extends$W(FundamentalMapSource, _super);
18862
+ __extends$X(FundamentalMapSource, _super);
18794
18863
  /**
18795
18864
  * Constructs a source from the contents of a layer resource file.
18796
18865
  * @param id The source's id.
@@ -18933,59 +19002,59 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
18933
19002
  var features = this.map._getMap().querySourceFeatures(sourceID, { sourceLayer: sourceLayer, filter: filter });
18934
19003
  return this.map.sources._mapFeaturesToShapes(features, true, this.sources.get(sourceID));
18935
19004
  };
18936
- // TODO: wait till the mapbox's bug is fixed
18937
- // /**
18938
- // * Gets the state of a feature
18939
- // * @param shape the ID of the shape
18940
- // * @param source the ID of the source
18941
- // * @param sourceLayer the ID of the layer
18942
- // */
18943
- // public getFeatureState(shape: string | Shape | Feature<Geometry, any>, source: string | Source, sourceLayer?: string): object {
18944
- // let featureID;
18945
- // if (typeof shape === "string") {
18946
- // featureID = shape;
18947
- // } else {
18948
- // featureID = shape instanceof Shape ? shape.getId() : shape.id;
18949
- // }
18950
- // const featureSource = typeof source === "string" ? source : source.getId();
18951
- // return this.map._getMap().getFeatureState({ id: featureID, source: featureSource, sourceLayer: sourceLayer });
18952
- // }
18953
- // /**
18954
- // * Removes the state or a single key value of the state of a feature.
18955
- // * @param shape the ID of the shape
18956
- // * @param source the ID of the source
18957
- // * @param sourceLayer the ID of the layer
18958
- // * @param key the key in the feature state to update
18959
- // */
18960
- // public removeFeatureState(shape: string | Shape | Feature<Geometry, any>, source: string | Source, sourceLayer?: string, key?: string) {
18961
- // let featureID;
18962
- // if (typeof shape === "string") {
18963
- // featureID = shape;
18964
- // } else {
18965
- // featureID = shape instanceof Shape ? shape.getId() : shape.id;
18966
- // }
18967
- // const featureSource = typeof source === "string" ? source : source.getId();
18968
- // // TODO: update the method when the mapbox typing file is updated
18969
- // (this.map._getMap() as any).removeFeatureState({ id: featureID, source: featureSource, sourceLayer: sourceLayer }, key);
18970
- // }
18971
- // /**
18972
- // * Sets the state of the feature by passing in a key value pair object.
18973
- // * @param shape the ID of the shape
18974
- // * @param source the ID of the source
18975
- // * @param sourceLayer the ID of the layer
18976
- // * @param key the key in the feature state to update
18977
- // */
18978
- // public setFeatureState(shape: string | Shape | Feature<Geometry, any>, source: string | Source, state: object, sourceLayer?: string) {
18979
- // let featureID;
18980
- // if (typeof shape === "string") {
18981
- // featureID = shape;
18982
- // } else {
18983
- // featureID = shape instanceof Shape ? shape.getId() : shape.id;
18984
- // }
18985
- // const featureSource = typeof source === "string" ? source : source.getId();
18986
- // // TODO: update the method when the mapbox typing file is updated
18987
- // this.map._getMap().setFeatureState({ id: featureID, source: featureSource, sourceLayer: sourceLayer }, state);
18988
- // }
19005
+ /**
19006
+ * Gets the state of a feature
19007
+ * @param feature the ID of the feature
19008
+ * @param source the ID of the source
19009
+ * @param sourceLayer the ID of the layer
19010
+ */
19011
+ SourceManager.prototype.getFeatureState = function (feature, source, sourceLayer) {
19012
+ var featureId;
19013
+ if (typeof feature === "string") {
19014
+ featureId = feature;
19015
+ }
19016
+ else {
19017
+ featureId = feature instanceof Shape ? feature.getId() : feature.id;
19018
+ }
19019
+ var featureSource = typeof source === "string" ? source : source.getId();
19020
+ return this.map._getMap().getFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer });
19021
+ };
19022
+ /**
19023
+ * Removes the state or a single key value of the state of a feature.
19024
+ * @param feature the ID of the feature
19025
+ * @param source the ID of the source
19026
+ * @param sourceLayer the ID of the layer
19027
+ * @param key the key in the feature state to update
19028
+ */
19029
+ SourceManager.prototype.removeFeatureState = function (feature, source, sourceLayer, key) {
19030
+ var featureId;
19031
+ if (typeof feature === "string") {
19032
+ featureId = feature;
19033
+ }
19034
+ else {
19035
+ featureId = feature instanceof Shape ? feature.getId() : feature.id;
19036
+ }
19037
+ var featureSource = typeof source === "string" ? source : source.getId();
19038
+ this.map._getMap().removeFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer }, key);
19039
+ };
19040
+ /**
19041
+ * Sets the state of the feature by passing in a key value pair object.
19042
+ * @param feature the ID of the feature
19043
+ * @param source the ID of the source
19044
+ * @param sourceLayer the ID of the layer
19045
+ * @param key the key in the feature state to update
19046
+ */
19047
+ SourceManager.prototype.setFeatureState = function (feature, source, state, sourceLayer) {
19048
+ var featureId;
19049
+ if (typeof feature === "string") {
19050
+ featureId = feature;
19051
+ }
19052
+ else {
19053
+ featureId = feature instanceof Shape ? feature.getId() : feature.id;
19054
+ }
19055
+ var featureSource = typeof source === "string" ? source : source.getId();
19056
+ this.map._getMap().setFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer }, state);
19057
+ };
18989
19058
  /**
18990
19059
  * @internal
18991
19060
  */
@@ -19186,7 +19255,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19186
19255
  return SourceManager;
19187
19256
  }());
19188
19257
 
19189
- var __extends$X = (window && window.__extends) || (function () {
19258
+ var __extends$Y = (window && window.__extends) || (function () {
19190
19259
  var extendStatics = function (d, b) {
19191
19260
  extendStatics = Object.setPrototypeOf ||
19192
19261
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -19205,7 +19274,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19205
19274
  * The options for animating changes to the map control's camera.
19206
19275
  */
19207
19276
  var AnimationOptions = /** @class */ (function (_super) {
19208
- __extends$X(AnimationOptions, _super);
19277
+ __extends$Y(AnimationOptions, _super);
19209
19278
  function AnimationOptions() {
19210
19279
  var _this = _super !== null && _super.apply(this, arguments) || this;
19211
19280
  /**
@@ -19229,7 +19298,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19229
19298
  return AnimationOptions;
19230
19299
  }(Options));
19231
19300
 
19232
- var __extends$Y = (window && window.__extends) || (function () {
19301
+ var __extends$Z = (window && window.__extends) || (function () {
19233
19302
  var extendStatics = function (d, b) {
19234
19303
  extendStatics = Object.setPrototypeOf ||
19235
19304
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -19248,7 +19317,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19248
19317
  * Represent the amount of padding in pixels to add to the side of a BoundingBox when setting the camera of a map.
19249
19318
  */
19250
19319
  var Padding = /** @class */ (function (_super) {
19251
- __extends$Y(Padding, _super);
19320
+ __extends$Z(Padding, _super);
19252
19321
  function Padding() {
19253
19322
  var _this = _super !== null && _super.apply(this, arguments) || this;
19254
19323
  /**
@@ -19280,7 +19349,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19280
19349
  return Padding;
19281
19350
  }(Options));
19282
19351
 
19283
- var __extends$Z = (window && window.__extends) || (function () {
19352
+ var __extends$_ = (window && window.__extends) || (function () {
19284
19353
  var extendStatics = function (d, b) {
19285
19354
  extendStatics = Object.setPrototypeOf ||
19286
19355
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -19331,7 +19400,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19331
19400
  * The options for setting the bounds of the map control's camera.
19332
19401
  */
19333
19402
  var CameraBoundsOptions = /** @class */ (function (_super) {
19334
- __extends$Z(CameraBoundsOptions, _super);
19403
+ __extends$_(CameraBoundsOptions, _super);
19335
19404
  function CameraBoundsOptions() {
19336
19405
  var _this = _super !== null && _super.apply(this, arguments) || this;
19337
19406
  /**
@@ -19402,7 +19471,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19402
19471
  return CameraBoundsOptions;
19403
19472
  }(Options));
19404
19473
 
19405
- var __extends$_ = (window && window.__extends) || (function () {
19474
+ var __extends$$ = (window && window.__extends) || (function () {
19406
19475
  var extendStatics = function (d, b) {
19407
19476
  extendStatics = Object.setPrototypeOf ||
19408
19477
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -19421,7 +19490,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19421
19490
  * The options for setting the map control's camera.
19422
19491
  */
19423
19492
  var CameraOptions = /** @class */ (function (_super) {
19424
- __extends$_(CameraOptions, _super);
19493
+ __extends$$(CameraOptions, _super);
19425
19494
  function CameraOptions() {
19426
19495
  var _this = _super !== null && _super.apply(this, arguments) || this;
19427
19496
  /**
@@ -19480,7 +19549,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19480
19549
  return CameraOptions;
19481
19550
  }(Options));
19482
19551
 
19483
- var __extends$$ = (window && window.__extends) || (function () {
19552
+ var __extends$10 = (window && window.__extends) || (function () {
19484
19553
  var extendStatics = function (d, b) {
19485
19554
  extendStatics = Object.setPrototypeOf ||
19486
19555
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -19499,7 +19568,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19499
19568
  * The options for a layer of the map.
19500
19569
  */
19501
19570
  var LayerOptions$1 = /** @class */ (function (_super) {
19502
- __extends$$(LayerOptions, _super);
19571
+ __extends$10(LayerOptions, _super);
19503
19572
  function LayerOptions() {
19504
19573
  var _this = _super !== null && _super.apply(this, arguments) || this;
19505
19574
  /**
@@ -19532,7 +19601,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19532
19601
  return LayerOptions;
19533
19602
  }(Options));
19534
19603
 
19535
- var __extends$10 = (window && window.__extends) || (function () {
19604
+ var __extends$11 = (window && window.__extends) || (function () {
19536
19605
  var extendStatics = function (d, b) {
19537
19606
  extendStatics = Object.setPrototypeOf ||
19538
19607
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -19552,7 +19621,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19552
19621
  * @deprecated Use BubbleLayerOptions with atlas.layer.BubbleLayer instead.
19553
19622
  */
19554
19623
  var CircleLayerOptions = /** @class */ (function (_super) {
19555
- __extends$10(CircleLayerOptions, _super);
19624
+ __extends$11(CircleLayerOptions, _super);
19556
19625
  function CircleLayerOptions() {
19557
19626
  var _this = _super !== null && _super.apply(this, arguments) || this;
19558
19627
  /**
@@ -19584,7 +19653,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19584
19653
  return CircleLayerOptions;
19585
19654
  }(LayerOptions$1));
19586
19655
 
19587
- var __extends$11 = (window && window.__extends) || (function () {
19656
+ var __extends$12 = (window && window.__extends) || (function () {
19588
19657
  var extendStatics = function (d, b) {
19589
19658
  extendStatics = Object.setPrototypeOf ||
19590
19659
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -19604,7 +19673,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19604
19673
  * @deprecated Use LineLayerOptions with atlas.layer.LineLayer instead.
19605
19674
  */
19606
19675
  var LinestringLayerOptions = /** @class */ (function (_super) {
19607
- __extends$11(LinestringLayerOptions, _super);
19676
+ __extends$12(LinestringLayerOptions, _super);
19608
19677
  function LinestringLayerOptions() {
19609
19678
  var _this = _super !== null && _super.apply(this, arguments) || this;
19610
19679
  /**
@@ -19640,7 +19709,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19640
19709
  return LinestringLayerOptions;
19641
19710
  }(LayerOptions$1));
19642
19711
 
19643
- var __extends$12 = (window && window.__extends) || (function () {
19712
+ var __extends$13 = (window && window.__extends) || (function () {
19644
19713
  var extendStatics = function (d, b) {
19645
19714
  extendStatics = Object.setPrototypeOf ||
19646
19715
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -19660,7 +19729,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19660
19729
  * @deprecated Use SymbolLayerOptions with atlas.layer.SymbolLayer instead.
19661
19730
  */
19662
19731
  var PinLayerOptions = /** @class */ (function (_super) {
19663
- __extends$12(PinLayerOptions, _super);
19732
+ __extends$13(PinLayerOptions, _super);
19664
19733
  function PinLayerOptions() {
19665
19734
  var _this = _super !== null && _super.apply(this, arguments) || this;
19666
19735
  /**
@@ -19710,7 +19779,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19710
19779
  return PinLayerOptions;
19711
19780
  }(LayerOptions$1));
19712
19781
 
19713
- var __extends$13 = (window && window.__extends) || (function () {
19782
+ var __extends$14 = (window && window.__extends) || (function () {
19714
19783
  var extendStatics = function (d, b) {
19715
19784
  extendStatics = Object.setPrototypeOf ||
19716
19785
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -19730,7 +19799,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19730
19799
  * @deprecated Use new PolygonLayerOptions with atlas.layer.PolygonLayer instead.
19731
19800
  */
19732
19801
  var PolygonLayerOptions$1 = /** @class */ (function (_super) {
19733
- __extends$13(PolygonLayerOptions, _super);
19802
+ __extends$14(PolygonLayerOptions, _super);
19734
19803
  function PolygonLayerOptions() {
19735
19804
  var _this = _super !== null && _super.apply(this, arguments) || this;
19736
19805
  /**
@@ -19753,7 +19822,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19753
19822
  return PolygonLayerOptions;
19754
19823
  }(LayerOptions$1));
19755
19824
 
19756
- var __extends$14 = (window && window.__extends) || (function () {
19825
+ var __extends$15 = (window && window.__extends) || (function () {
19757
19826
  var extendStatics = function (d, b) {
19758
19827
  extendStatics = Object.setPrototypeOf ||
19759
19828
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -19773,7 +19842,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19773
19842
  * @deprecated Use TileLayerOptions with atlas.layer.TileLayer instead.
19774
19843
  */
19775
19844
  var RasterLayerOptions = /** @class */ (function (_super) {
19776
- __extends$14(RasterLayerOptions, _super);
19845
+ __extends$15(RasterLayerOptions, _super);
19777
19846
  function RasterLayerOptions() {
19778
19847
  var _this = _super !== null && _super.apply(this, arguments) || this;
19779
19848
  /**
@@ -19785,7 +19854,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19785
19854
  return RasterLayerOptions;
19786
19855
  }(LayerOptions$1));
19787
19856
 
19788
- var __extends$15 = (window && window.__extends) || (function () {
19857
+ var __extends$16 = (window && window.__extends) || (function () {
19789
19858
  var extendStatics = function (d, b) {
19790
19859
  extendStatics = Object.setPrototypeOf ||
19791
19860
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -19804,7 +19873,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19804
19873
  * The options for the map's lighting.
19805
19874
  */
19806
19875
  var LightOptions = /** @class */ (function (_super) {
19807
- __extends$15(LightOptions, _super);
19876
+ __extends$16(LightOptions, _super);
19808
19877
  function LightOptions() {
19809
19878
  var _this = _super !== null && _super.apply(this, arguments) || this;
19810
19879
  /**
@@ -19844,7 +19913,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19844
19913
  return LightOptions;
19845
19914
  }(Options));
19846
19915
 
19847
- var __extends$16 = (window && window.__extends) || (function () {
19916
+ var __extends$17 = (window && window.__extends) || (function () {
19848
19917
  var extendStatics = function (d, b) {
19849
19918
  extendStatics = Object.setPrototypeOf ||
19850
19919
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -19895,7 +19964,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
19895
19964
  * The options for the map's style.
19896
19965
  */
19897
19966
  var StyleOptions = /** @class */ (function (_super) {
19898
- __extends$16(StyleOptions, _super);
19967
+ __extends$17(StyleOptions, _super);
19899
19968
  function StyleOptions() {
19900
19969
  var _this = _super !== null && _super.apply(this, arguments) || this;
19901
19970
  /**
@@ -20057,7 +20126,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
20057
20126
  return StyleOptions;
20058
20127
  }(Options));
20059
20128
 
20060
- var __extends$17 = (window && window.__extends) || (function () {
20129
+ var __extends$18 = (window && window.__extends) || (function () {
20061
20130
  var extendStatics = function (d, b) {
20062
20131
  extendStatics = Object.setPrototypeOf ||
20063
20132
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -20127,7 +20196,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
20127
20196
  * Global properties used in all atlas service requests.
20128
20197
  */
20129
20198
  var ServiceOptions = /** @class */ (function (_super) {
20130
- __extends$17(ServiceOptions, _super);
20199
+ __extends$18(ServiceOptions, _super);
20131
20200
  function ServiceOptions() {
20132
20201
  var _this = _super !== null && _super.apply(this, arguments) || this;
20133
20202
  /**
@@ -20185,8 +20254,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
20185
20254
  */
20186
20255
  _this.styleSet = undefined;
20187
20256
  /**
20188
- * Enable accessibility
20189
- * default: true
20257
+ * Enable the accessibility feature to provide screen reader support for users who have difficulty visualizing the web application.
20258
+ * This property is set to true by default.
20190
20259
  * @default true
20191
20260
  */
20192
20261
  _this.enableAccessibility = true;
@@ -20967,14 +21036,13 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
20967
21036
  return !previousStyle
20968
21037
  ? nextStyle
20969
21038
  : this.map.layers._getUserLayers().reduce(function (style, userLayer) {
21039
+ var _a, _b;
20970
21040
  if (userLayer.layer instanceof WebGLLayer) {
20971
21041
  // mapbox custom layers cannot be serialized and preserved,
20972
21042
  // return to continue to the next user layer.
20973
21043
  return style;
20974
21044
  }
20975
- var before = layerGroupLayers[userLayer.before] && layerGroupLayers[userLayer.before].length > 0
20976
- ? layerGroupLayers[userLayer.before][0]
20977
- : undefined;
21045
+ 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;
20978
21046
  var layer = previousStyle.layers.find(function (layer) { return layer.id === userLayer.layer.getId(); });
20979
21047
  // when setStyle diff attempt is unsuccesful, _load will be called on the style that may have already injected user layers -> clean it up
20980
21048
  var existingLayerIdx = nextStyle.layers.findIndex(function (layer) { return layer.id === userLayer.layer.getId(); });
@@ -20985,7 +21053,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
20985
21053
  var sourcesToCopy = new Set(Array.from(userLayer.layer._getSourceIds())
20986
21054
  .map(function (sourceId) { return previousStyle.sources[sourceId] ? { source: previousStyle.sources[sourceId], id: sourceId } : undefined; })
20987
21055
  .filter(function (source) { return source !== undefined; }));
20988
- var insertIdx = before ? style.layers.findIndex(function (layer) { return layer.id === before.id; }) : -1;
21056
+ var insertIdx = beforeLayerId ? style.layers.findIndex(function (layer) { return layer.id === beforeLayerId; }) : -1;
20989
21057
  if (insertIdx > -1) {
20990
21058
  style.layers.splice(insertIdx, 0, layer);
20991
21059
  }
@@ -21378,7 +21446,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
21378
21446
  return AccessibleIndicatorManager;
21379
21447
  }());
21380
21448
 
21381
- var __extends$18 = (window && window.__extends) || (function () {
21449
+ var __extends$19 = (window && window.__extends) || (function () {
21382
21450
  var extendStatics = function (d, b) {
21383
21451
  extendStatics = Object.setPrototypeOf ||
21384
21452
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -21476,7 +21544,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
21476
21544
  * The control for a visual and interactive web map.
21477
21545
  */
21478
21546
  var Map$2 = /** @class */ (function (_super) {
21479
- __extends$18(Map, _super);
21547
+ __extends$19(Map, _super);
21480
21548
  /**
21481
21549
  * Displays a map in the specified container.
21482
21550
  * @param container The id of the element where the map should be displayed.