azure-maps-control 2.3.5 → 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.5";
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) {
@@ -18008,7 +18077,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
18008
18077
  return FlowServiceDelegate;
18009
18078
  }());
18010
18079
 
18011
- var __extends$U = (window && window.__extends) || (function () {
18080
+ var __extends$V = (window && window.__extends) || (function () {
18012
18081
  var extendStatics = function (d, b) {
18013
18082
  extendStatics = Object.setPrototypeOf ||
18014
18083
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -18027,7 +18096,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
18027
18096
  * @private
18028
18097
  */
18029
18098
  var Incident = /** @class */ (function (_super) {
18030
- __extends$U(Incident, _super);
18099
+ __extends$V(Incident, _super);
18031
18100
  function Incident(data, point, localizedStrings) {
18032
18101
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1;
18033
18102
  var _this = this;
@@ -18522,7 +18591,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
18522
18591
  return IncidentServiceDelegate;
18523
18592
  }());
18524
18593
 
18525
- var __extends$V = (window && window.__extends) || (function () {
18594
+ var __extends$W = (window && window.__extends) || (function () {
18526
18595
  var extendStatics = function (d, b) {
18527
18596
  extendStatics = Object.setPrototypeOf ||
18528
18597
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -18541,7 +18610,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
18541
18610
  * The options for enabling/disabling user interaction with the map.
18542
18611
  */
18543
18612
  var UserInteractionOptions = /** @class */ (function (_super) {
18544
- __extends$V(UserInteractionOptions, _super);
18613
+ __extends$W(UserInteractionOptions, _super);
18545
18614
  function UserInteractionOptions() {
18546
18615
  var _this = _super !== null && _super.apply(this, arguments) || this;
18547
18616
  /**
@@ -25674,7 +25743,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
25674
25743
  return ImageSpriteManager;
25675
25744
  }());
25676
25745
 
25677
- var __extends$W = (window && window.__extends) || (function () {
25746
+ var __extends$X = (window && window.__extends) || (function () {
25678
25747
  var extendStatics = function (d, b) {
25679
25748
  extendStatics = Object.setPrototypeOf ||
25680
25749
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -25706,7 +25775,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
25706
25775
  * @private
25707
25776
  */
25708
25777
  var FundamentalMapLayer = /** @class */ (function (_super) {
25709
- __extends$W(FundamentalMapLayer, _super);
25778
+ __extends$X(FundamentalMapLayer, _super);
25710
25779
  /**
25711
25780
  * Constructs a base layer used to represent the base, transit, and labels layers.
25712
25781
  * @param mbLayers The stylesheet used to define the style sources and style layers.
@@ -26482,7 +26551,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
26482
26551
  return PopupManager;
26483
26552
  }());
26484
26553
 
26485
- var __extends$X = (window && window.__extends) || (function () {
26554
+ var __extends$Y = (window && window.__extends) || (function () {
26486
26555
  var extendStatics = function (d, b) {
26487
26556
  extendStatics = Object.setPrototypeOf ||
26488
26557
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -26513,7 +26582,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
26513
26582
  * @private
26514
26583
  */
26515
26584
  var FundamentalMapSource = /** @class */ (function (_super) {
26516
- __extends$X(FundamentalMapSource, _super);
26585
+ __extends$Y(FundamentalMapSource, _super);
26517
26586
  /**
26518
26587
  * Constructs a source from the contents of a layer resource file.
26519
26588
  * @param id The source's id.
@@ -26656,59 +26725,59 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
26656
26725
  var features = this.map._getMap().querySourceFeatures(sourceID, { sourceLayer: sourceLayer, filter: filter });
26657
26726
  return this.map.sources._mapFeaturesToShapes(features, true, this.sources.get(sourceID));
26658
26727
  };
26659
- // TODO: wait till the mapbox's bug is fixed
26660
- // /**
26661
- // * Gets the state of a feature
26662
- // * @param shape the ID of the shape
26663
- // * @param source the ID of the source
26664
- // * @param sourceLayer the ID of the layer
26665
- // */
26666
- // public getFeatureState(shape: string | Shape | Feature<Geometry, any>, source: string | Source, sourceLayer?: string): object {
26667
- // let featureID;
26668
- // if (typeof shape === "string") {
26669
- // featureID = shape;
26670
- // } else {
26671
- // featureID = shape instanceof Shape ? shape.getId() : shape.id;
26672
- // }
26673
- // const featureSource = typeof source === "string" ? source : source.getId();
26674
- // return this.map._getMap().getFeatureState({ id: featureID, source: featureSource, sourceLayer: sourceLayer });
26675
- // }
26676
- // /**
26677
- // * Removes the state or a single key value of the state of a feature.
26678
- // * @param shape the ID of the shape
26679
- // * @param source the ID of the source
26680
- // * @param sourceLayer the ID of the layer
26681
- // * @param key the key in the feature state to update
26682
- // */
26683
- // public removeFeatureState(shape: string | Shape | Feature<Geometry, any>, source: string | Source, sourceLayer?: string, key?: string) {
26684
- // let featureID;
26685
- // if (typeof shape === "string") {
26686
- // featureID = shape;
26687
- // } else {
26688
- // featureID = shape instanceof Shape ? shape.getId() : shape.id;
26689
- // }
26690
- // const featureSource = typeof source === "string" ? source : source.getId();
26691
- // // TODO: update the method when the mapbox typing file is updated
26692
- // (this.map._getMap() as any).removeFeatureState({ id: featureID, source: featureSource, sourceLayer: sourceLayer }, key);
26693
- // }
26694
- // /**
26695
- // * Sets the state of the feature by passing in a key value pair object.
26696
- // * @param shape the ID of the shape
26697
- // * @param source the ID of the source
26698
- // * @param sourceLayer the ID of the layer
26699
- // * @param key the key in the feature state to update
26700
- // */
26701
- // public setFeatureState(shape: string | Shape | Feature<Geometry, any>, source: string | Source, state: object, sourceLayer?: string) {
26702
- // let featureID;
26703
- // if (typeof shape === "string") {
26704
- // featureID = shape;
26705
- // } else {
26706
- // featureID = shape instanceof Shape ? shape.getId() : shape.id;
26707
- // }
26708
- // const featureSource = typeof source === "string" ? source : source.getId();
26709
- // // TODO: update the method when the mapbox typing file is updated
26710
- // this.map._getMap().setFeatureState({ id: featureID, source: featureSource, sourceLayer: sourceLayer }, state);
26711
- // }
26728
+ /**
26729
+ * Gets the state of a feature
26730
+ * @param feature the ID of the feature
26731
+ * @param source the ID of the source
26732
+ * @param sourceLayer the ID of the layer
26733
+ */
26734
+ SourceManager.prototype.getFeatureState = function (feature, source, sourceLayer) {
26735
+ var featureId;
26736
+ if (typeof feature === "string") {
26737
+ featureId = feature;
26738
+ }
26739
+ else {
26740
+ featureId = feature instanceof Shape ? feature.getId() : feature.id;
26741
+ }
26742
+ var featureSource = typeof source === "string" ? source : source.getId();
26743
+ return this.map._getMap().getFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer });
26744
+ };
26745
+ /**
26746
+ * Removes the state or a single key value of the state of a feature.
26747
+ * @param feature the ID of the feature
26748
+ * @param source the ID of the source
26749
+ * @param sourceLayer the ID of the layer
26750
+ * @param key the key in the feature state to update
26751
+ */
26752
+ SourceManager.prototype.removeFeatureState = function (feature, source, sourceLayer, key) {
26753
+ var featureId;
26754
+ if (typeof feature === "string") {
26755
+ featureId = feature;
26756
+ }
26757
+ else {
26758
+ featureId = feature instanceof Shape ? feature.getId() : feature.id;
26759
+ }
26760
+ var featureSource = typeof source === "string" ? source : source.getId();
26761
+ this.map._getMap().removeFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer }, key);
26762
+ };
26763
+ /**
26764
+ * Sets the state of the feature by passing in a key value pair object.
26765
+ * @param feature the ID of the feature
26766
+ * @param source the ID of the source
26767
+ * @param sourceLayer the ID of the layer
26768
+ * @param key the key in the feature state to update
26769
+ */
26770
+ SourceManager.prototype.setFeatureState = function (feature, source, state, sourceLayer) {
26771
+ var featureId;
26772
+ if (typeof feature === "string") {
26773
+ featureId = feature;
26774
+ }
26775
+ else {
26776
+ featureId = feature instanceof Shape ? feature.getId() : feature.id;
26777
+ }
26778
+ var featureSource = typeof source === "string" ? source : source.getId();
26779
+ this.map._getMap().setFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer }, state);
26780
+ };
26712
26781
  /**
26713
26782
  * @internal
26714
26783
  */
@@ -26909,7 +26978,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
26909
26978
  return SourceManager;
26910
26979
  }());
26911
26980
 
26912
- var __extends$Y = (window && window.__extends) || (function () {
26981
+ var __extends$Z = (window && window.__extends) || (function () {
26913
26982
  var extendStatics = function (d, b) {
26914
26983
  extendStatics = Object.setPrototypeOf ||
26915
26984
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -26928,7 +26997,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
26928
26997
  * The options for animating changes to the map control's camera.
26929
26998
  */
26930
26999
  var AnimationOptions = /** @class */ (function (_super) {
26931
- __extends$Y(AnimationOptions, _super);
27000
+ __extends$Z(AnimationOptions, _super);
26932
27001
  function AnimationOptions() {
26933
27002
  var _this = _super !== null && _super.apply(this, arguments) || this;
26934
27003
  /**
@@ -26952,7 +27021,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
26952
27021
  return AnimationOptions;
26953
27022
  }(Options));
26954
27023
 
26955
- var __extends$Z = (window && window.__extends) || (function () {
27024
+ var __extends$_ = (window && window.__extends) || (function () {
26956
27025
  var extendStatics = function (d, b) {
26957
27026
  extendStatics = Object.setPrototypeOf ||
26958
27027
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -26971,7 +27040,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
26971
27040
  * Represent the amount of padding in pixels to add to the side of a BoundingBox when setting the camera of a map.
26972
27041
  */
26973
27042
  var Padding = /** @class */ (function (_super) {
26974
- __extends$Z(Padding, _super);
27043
+ __extends$_(Padding, _super);
26975
27044
  function Padding() {
26976
27045
  var _this = _super !== null && _super.apply(this, arguments) || this;
26977
27046
  /**
@@ -27003,7 +27072,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27003
27072
  return Padding;
27004
27073
  }(Options));
27005
27074
 
27006
- var __extends$_ = (window && window.__extends) || (function () {
27075
+ var __extends$$ = (window && window.__extends) || (function () {
27007
27076
  var extendStatics = function (d, b) {
27008
27077
  extendStatics = Object.setPrototypeOf ||
27009
27078
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -27054,7 +27123,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27054
27123
  * The options for setting the bounds of the map control's camera.
27055
27124
  */
27056
27125
  var CameraBoundsOptions = /** @class */ (function (_super) {
27057
- __extends$_(CameraBoundsOptions, _super);
27126
+ __extends$$(CameraBoundsOptions, _super);
27058
27127
  function CameraBoundsOptions() {
27059
27128
  var _this = _super !== null && _super.apply(this, arguments) || this;
27060
27129
  /**
@@ -27125,7 +27194,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27125
27194
  return CameraBoundsOptions;
27126
27195
  }(Options));
27127
27196
 
27128
- var __extends$$ = (window && window.__extends) || (function () {
27197
+ var __extends$10 = (window && window.__extends) || (function () {
27129
27198
  var extendStatics = function (d, b) {
27130
27199
  extendStatics = Object.setPrototypeOf ||
27131
27200
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -27144,7 +27213,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27144
27213
  * The options for setting the map control's camera.
27145
27214
  */
27146
27215
  var CameraOptions = /** @class */ (function (_super) {
27147
- __extends$$(CameraOptions, _super);
27216
+ __extends$10(CameraOptions, _super);
27148
27217
  function CameraOptions() {
27149
27218
  var _this = _super !== null && _super.apply(this, arguments) || this;
27150
27219
  /**
@@ -27203,7 +27272,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27203
27272
  return CameraOptions;
27204
27273
  }(Options));
27205
27274
 
27206
- var __extends$10 = (window && window.__extends) || (function () {
27275
+ var __extends$11 = (window && window.__extends) || (function () {
27207
27276
  var extendStatics = function (d, b) {
27208
27277
  extendStatics = Object.setPrototypeOf ||
27209
27278
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -27222,7 +27291,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27222
27291
  * The options for a layer of the map.
27223
27292
  */
27224
27293
  var LayerOptions$1 = /** @class */ (function (_super) {
27225
- __extends$10(LayerOptions, _super);
27294
+ __extends$11(LayerOptions, _super);
27226
27295
  function LayerOptions() {
27227
27296
  var _this = _super !== null && _super.apply(this, arguments) || this;
27228
27297
  /**
@@ -27255,7 +27324,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27255
27324
  return LayerOptions;
27256
27325
  }(Options));
27257
27326
 
27258
- var __extends$11 = (window && window.__extends) || (function () {
27327
+ var __extends$12 = (window && window.__extends) || (function () {
27259
27328
  var extendStatics = function (d, b) {
27260
27329
  extendStatics = Object.setPrototypeOf ||
27261
27330
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -27275,7 +27344,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27275
27344
  * @deprecated Use BubbleLayerOptions with atlas.layer.BubbleLayer instead.
27276
27345
  */
27277
27346
  var CircleLayerOptions = /** @class */ (function (_super) {
27278
- __extends$11(CircleLayerOptions, _super);
27347
+ __extends$12(CircleLayerOptions, _super);
27279
27348
  function CircleLayerOptions() {
27280
27349
  var _this = _super !== null && _super.apply(this, arguments) || this;
27281
27350
  /**
@@ -27307,7 +27376,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27307
27376
  return CircleLayerOptions;
27308
27377
  }(LayerOptions$1));
27309
27378
 
27310
- var __extends$12 = (window && window.__extends) || (function () {
27379
+ var __extends$13 = (window && window.__extends) || (function () {
27311
27380
  var extendStatics = function (d, b) {
27312
27381
  extendStatics = Object.setPrototypeOf ||
27313
27382
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -27327,7 +27396,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27327
27396
  * @deprecated Use LineLayerOptions with atlas.layer.LineLayer instead.
27328
27397
  */
27329
27398
  var LinestringLayerOptions = /** @class */ (function (_super) {
27330
- __extends$12(LinestringLayerOptions, _super);
27399
+ __extends$13(LinestringLayerOptions, _super);
27331
27400
  function LinestringLayerOptions() {
27332
27401
  var _this = _super !== null && _super.apply(this, arguments) || this;
27333
27402
  /**
@@ -27363,7 +27432,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27363
27432
  return LinestringLayerOptions;
27364
27433
  }(LayerOptions$1));
27365
27434
 
27366
- var __extends$13 = (window && window.__extends) || (function () {
27435
+ var __extends$14 = (window && window.__extends) || (function () {
27367
27436
  var extendStatics = function (d, b) {
27368
27437
  extendStatics = Object.setPrototypeOf ||
27369
27438
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -27383,7 +27452,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27383
27452
  * @deprecated Use SymbolLayerOptions with atlas.layer.SymbolLayer instead.
27384
27453
  */
27385
27454
  var PinLayerOptions = /** @class */ (function (_super) {
27386
- __extends$13(PinLayerOptions, _super);
27455
+ __extends$14(PinLayerOptions, _super);
27387
27456
  function PinLayerOptions() {
27388
27457
  var _this = _super !== null && _super.apply(this, arguments) || this;
27389
27458
  /**
@@ -27433,7 +27502,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27433
27502
  return PinLayerOptions;
27434
27503
  }(LayerOptions$1));
27435
27504
 
27436
- var __extends$14 = (window && window.__extends) || (function () {
27505
+ var __extends$15 = (window && window.__extends) || (function () {
27437
27506
  var extendStatics = function (d, b) {
27438
27507
  extendStatics = Object.setPrototypeOf ||
27439
27508
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -27453,7 +27522,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27453
27522
  * @deprecated Use new PolygonLayerOptions with atlas.layer.PolygonLayer instead.
27454
27523
  */
27455
27524
  var PolygonLayerOptions$1 = /** @class */ (function (_super) {
27456
- __extends$14(PolygonLayerOptions, _super);
27525
+ __extends$15(PolygonLayerOptions, _super);
27457
27526
  function PolygonLayerOptions() {
27458
27527
  var _this = _super !== null && _super.apply(this, arguments) || this;
27459
27528
  /**
@@ -27476,7 +27545,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27476
27545
  return PolygonLayerOptions;
27477
27546
  }(LayerOptions$1));
27478
27547
 
27479
- var __extends$15 = (window && window.__extends) || (function () {
27548
+ var __extends$16 = (window && window.__extends) || (function () {
27480
27549
  var extendStatics = function (d, b) {
27481
27550
  extendStatics = Object.setPrototypeOf ||
27482
27551
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -27496,7 +27565,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27496
27565
  * @deprecated Use TileLayerOptions with atlas.layer.TileLayer instead.
27497
27566
  */
27498
27567
  var RasterLayerOptions = /** @class */ (function (_super) {
27499
- __extends$15(RasterLayerOptions, _super);
27568
+ __extends$16(RasterLayerOptions, _super);
27500
27569
  function RasterLayerOptions() {
27501
27570
  var _this = _super !== null && _super.apply(this, arguments) || this;
27502
27571
  /**
@@ -27508,7 +27577,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27508
27577
  return RasterLayerOptions;
27509
27578
  }(LayerOptions$1));
27510
27579
 
27511
- var __extends$16 = (window && window.__extends) || (function () {
27580
+ var __extends$17 = (window && window.__extends) || (function () {
27512
27581
  var extendStatics = function (d, b) {
27513
27582
  extendStatics = Object.setPrototypeOf ||
27514
27583
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -27527,7 +27596,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27527
27596
  * The options for the map's lighting.
27528
27597
  */
27529
27598
  var LightOptions = /** @class */ (function (_super) {
27530
- __extends$16(LightOptions, _super);
27599
+ __extends$17(LightOptions, _super);
27531
27600
  function LightOptions() {
27532
27601
  var _this = _super !== null && _super.apply(this, arguments) || this;
27533
27602
  /**
@@ -27567,7 +27636,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27567
27636
  return LightOptions;
27568
27637
  }(Options));
27569
27638
 
27570
- var __extends$17 = (window && window.__extends) || (function () {
27639
+ var __extends$18 = (window && window.__extends) || (function () {
27571
27640
  var extendStatics = function (d, b) {
27572
27641
  extendStatics = Object.setPrototypeOf ||
27573
27642
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -27618,7 +27687,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27618
27687
  * The options for the map's style.
27619
27688
  */
27620
27689
  var StyleOptions = /** @class */ (function (_super) {
27621
- __extends$17(StyleOptions, _super);
27690
+ __extends$18(StyleOptions, _super);
27622
27691
  function StyleOptions() {
27623
27692
  var _this = _super !== null && _super.apply(this, arguments) || this;
27624
27693
  /**
@@ -27780,7 +27849,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27780
27849
  return StyleOptions;
27781
27850
  }(Options));
27782
27851
 
27783
- var __extends$18 = (window && window.__extends) || (function () {
27852
+ var __extends$19 = (window && window.__extends) || (function () {
27784
27853
  var extendStatics = function (d, b) {
27785
27854
  extendStatics = Object.setPrototypeOf ||
27786
27855
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -27850,7 +27919,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
27850
27919
  * Global properties used in all atlas service requests.
27851
27920
  */
27852
27921
  var ServiceOptions = /** @class */ (function (_super) {
27853
- __extends$18(ServiceOptions, _super);
27922
+ __extends$19(ServiceOptions, _super);
27854
27923
  function ServiceOptions() {
27855
27924
  var _this = _super !== null && _super.apply(this, arguments) || this;
27856
27925
  /**
@@ -28690,14 +28759,13 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
28690
28759
  return !previousStyle
28691
28760
  ? nextStyle
28692
28761
  : this.map.layers._getUserLayers().reduce(function (style, userLayer) {
28762
+ var _a, _b;
28693
28763
  if (userLayer.layer instanceof WebGLLayer) {
28694
28764
  // mapbox custom layers cannot be serialized and preserved,
28695
28765
  // return to continue to the next user layer.
28696
28766
  return style;
28697
28767
  }
28698
- var before = layerGroupLayers[userLayer.before] && layerGroupLayers[userLayer.before].length > 0
28699
- ? layerGroupLayers[userLayer.before][0]
28700
- : undefined;
28768
+ 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;
28701
28769
  var layer = previousStyle.layers.find(function (layer) { return layer.id === userLayer.layer.getId(); });
28702
28770
  // when setStyle diff attempt is unsuccesful, _load will be called on the style that may have already injected user layers -> clean it up
28703
28771
  var existingLayerIdx = nextStyle.layers.findIndex(function (layer) { return layer.id === userLayer.layer.getId(); });
@@ -28708,7 +28776,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
28708
28776
  var sourcesToCopy = new Set(Array.from(userLayer.layer._getSourceIds())
28709
28777
  .map(function (sourceId) { return previousStyle.sources[sourceId] ? { source: previousStyle.sources[sourceId], id: sourceId } : undefined; })
28710
28778
  .filter(function (source) { return source !== undefined; }));
28711
- var insertIdx = before ? style.layers.findIndex(function (layer) { return layer.id === before.id; }) : -1;
28779
+ var insertIdx = beforeLayerId ? style.layers.findIndex(function (layer) { return layer.id === beforeLayerId; }) : -1;
28712
28780
  if (insertIdx > -1) {
28713
28781
  style.layers.splice(insertIdx, 0, layer);
28714
28782
  }
@@ -29101,7 +29169,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
29101
29169
  return AccessibleIndicatorManager;
29102
29170
  }());
29103
29171
 
29104
- var __extends$19 = (window && window.__extends) || (function () {
29172
+ var __extends$1a = (window && window.__extends) || (function () {
29105
29173
  var extendStatics = function (d, b) {
29106
29174
  extendStatics = Object.setPrototypeOf ||
29107
29175
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -29199,7 +29267,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
29199
29267
  * The control for a visual and interactive web map.
29200
29268
  */
29201
29269
  var Map$2 = /** @class */ (function (_super) {
29202
- __extends$19(Map, _super);
29270
+ __extends$1a(Map, _super);
29203
29271
  /**
29204
29272
  * Displays a map in the specified container.
29205
29273
  * @param container The id of the element where the map should be displayed.