azure-maps-control 3.2.1 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/atlas.js CHANGED
@@ -51655,7 +51655,7 @@ uniform ${precision} ${type} u_${name};
51655
51655
  return Options;
51656
51656
  }());
51657
51657
 
51658
- var __extends$1j = (window && window.__extends) || (function () {
51658
+ var __extends$1l = (window && window.__extends) || (function () {
51659
51659
  var extendStatics = function (d, b) {
51660
51660
  extendStatics = Object.setPrototypeOf ||
51661
51661
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -51690,7 +51690,7 @@ uniform ${precision} ${type} u_${name};
51690
51690
  * @private
51691
51691
  */
51692
51692
  var UrlOptions = /** @class */ (function (_super) {
51693
- __extends$1j(UrlOptions, _super);
51693
+ __extends$1l(UrlOptions, _super);
51694
51694
  function UrlOptions() {
51695
51695
  var _this = _super !== null && _super.apply(this, arguments) || this;
51696
51696
  _this.domain = undefined;
@@ -52217,7 +52217,7 @@ uniform ${precision} ${type} u_${name};
52217
52217
  return UserAgent;
52218
52218
  }());
52219
52219
 
52220
- var version$3 = "3.2.1";
52220
+ var version$3 = "3.3.0";
52221
52221
 
52222
52222
  /**
52223
52223
  * A helper class that provides methods for getting various forms of the map controls current version.
@@ -52249,7 +52249,7 @@ uniform ${precision} ${type} u_${name};
52249
52249
  return Version;
52250
52250
  }());
52251
52251
 
52252
- var __extends$1i = (window && window.__extends) || (function () {
52252
+ var __extends$1k = (window && window.__extends) || (function () {
52253
52253
  var extendStatics = function (d, b) {
52254
52254
  extendStatics = Object.setPrototypeOf ||
52255
52255
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -52323,7 +52323,7 @@ uniform ${precision} ${type} u_${name};
52323
52323
  * Options for specifying how the map control should authenticate with the Azure Maps services.
52324
52324
  */
52325
52325
  var AuthenticationOptions = /** @class */ (function (_super) {
52326
- __extends$1i(AuthenticationOptions, _super);
52326
+ __extends$1k(AuthenticationOptions, _super);
52327
52327
  function AuthenticationOptions() {
52328
52328
  var _this = _super !== null && _super.apply(this, arguments) || this;
52329
52329
  /**
@@ -53173,7 +53173,7 @@ uniform ${precision} ${type} u_${name};
53173
53173
  eventTarget.addEventListener("keydown", dismissTooltip);
53174
53174
  };
53175
53175
 
53176
- var __extends$1h = (window && window.__extends) || (function () {
53176
+ var __extends$1j = (window && window.__extends) || (function () {
53177
53177
  var extendStatics = function (d, b) {
53178
53178
  extendStatics = Object.setPrototypeOf ||
53179
53179
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53223,7 +53223,7 @@ uniform ${precision} ${type} u_${name};
53223
53223
  * The options for adding a control to the map.
53224
53224
  */
53225
53225
  var ControlOptions = /** @class */ (function (_super) {
53226
- __extends$1h(ControlOptions, _super);
53226
+ __extends$1j(ControlOptions, _super);
53227
53227
  function ControlOptions() {
53228
53228
  var _this = _super !== null && _super.apply(this, arguments) || this;
53229
53229
  /**
@@ -53367,7 +53367,7 @@ uniform ${precision} ${type} u_${name};
53367
53367
  EventEmitter: EventEmitter
53368
53368
  });
53369
53369
 
53370
- var __extends$1g = (window && window.__extends) || (function () {
53370
+ var __extends$1i = (window && window.__extends) || (function () {
53371
53371
  var extendStatics = function (d, b) {
53372
53372
  extendStatics = Object.setPrototypeOf ||
53373
53373
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53387,7 +53387,7 @@ uniform ${precision} ${type} u_${name};
53387
53387
  * Implements control interface and provides support for automatic styling based on the map style.
53388
53388
  */
53389
53389
  var ControlBase = /** @class */ (function (_super) {
53390
- __extends$1g(ControlBase, _super);
53390
+ __extends$1i(ControlBase, _super);
53391
53391
  function ControlBase() {
53392
53392
  var _this = _super !== null && _super.apply(this, arguments) || this;
53393
53393
  /**
@@ -53489,7 +53489,7 @@ uniform ${precision} ${type} u_${name};
53489
53489
  return ControlBase;
53490
53490
  }(EventEmitter));
53491
53491
 
53492
- var __extends$1f = (window && window.__extends) || (function () {
53492
+ var __extends$1h = (window && window.__extends) || (function () {
53493
53493
  var extendStatics = function (d, b) {
53494
53494
  extendStatics = Object.setPrototypeOf ||
53495
53495
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53508,7 +53508,7 @@ uniform ${precision} ${type} u_${name};
53508
53508
  * The options for a CompassControl object.
53509
53509
  */
53510
53510
  var CompassControlOptions = /** @class */ (function (_super) {
53511
- __extends$1f(CompassControlOptions, _super);
53511
+ __extends$1h(CompassControlOptions, _super);
53512
53512
  function CompassControlOptions() {
53513
53513
  var _this = _super !== null && _super.apply(this, arguments) || this;
53514
53514
  /**
@@ -53533,7 +53533,7 @@ uniform ${precision} ${type} u_${name};
53533
53533
  return CompassControlOptions;
53534
53534
  }(Options));
53535
53535
 
53536
- var __extends$1e = (window && window.__extends) || (function () {
53536
+ var __extends$1g = (window && window.__extends) || (function () {
53537
53537
  var extendStatics = function (d, b) {
53538
53538
  extendStatics = Object.setPrototypeOf ||
53539
53539
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53552,7 +53552,7 @@ uniform ${precision} ${type} u_${name};
53552
53552
  * A control for changing the rotation of the map.
53553
53553
  */
53554
53554
  var CompassControl = /** @class */ (function (_super) {
53555
- __extends$1e(CompassControl, _super);
53555
+ __extends$1g(CompassControl, _super);
53556
53556
  /**
53557
53557
  * Constructs a CompassControl.
53558
53558
  * @param options The options for the control.
@@ -53737,7 +53737,7 @@ uniform ${precision} ${type} u_${name};
53737
53737
  return CompassControl;
53738
53738
  }(ControlBase));
53739
53739
 
53740
- var __extends$1d = (window && window.__extends) || (function () {
53740
+ var __extends$1f = (window && window.__extends) || (function () {
53741
53741
  var extendStatics = function (d, b) {
53742
53742
  extendStatics = Object.setPrototypeOf ||
53743
53743
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53756,7 +53756,7 @@ uniform ${precision} ${type} u_${name};
53756
53756
  * The options for a PitchControl object.
53757
53757
  */
53758
53758
  var PitchControlOptions = /** @class */ (function (_super) {
53759
- __extends$1d(PitchControlOptions, _super);
53759
+ __extends$1f(PitchControlOptions, _super);
53760
53760
  function PitchControlOptions() {
53761
53761
  var _this = _super !== null && _super.apply(this, arguments) || this;
53762
53762
  /**
@@ -53781,7 +53781,7 @@ uniform ${precision} ${type} u_${name};
53781
53781
  return PitchControlOptions;
53782
53782
  }(Options));
53783
53783
 
53784
- var __extends$1c = (window && window.__extends) || (function () {
53784
+ var __extends$1e = (window && window.__extends) || (function () {
53785
53785
  var extendStatics = function (d, b) {
53786
53786
  extendStatics = Object.setPrototypeOf ||
53787
53787
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53800,7 +53800,7 @@ uniform ${precision} ${type} u_${name};
53800
53800
  * A control for changing the pitch of the map.
53801
53801
  */
53802
53802
  var PitchControl = /** @class */ (function (_super) {
53803
- __extends$1c(PitchControl, _super);
53803
+ __extends$1e(PitchControl, _super);
53804
53804
  /**
53805
53805
  * Constructs a PitchControl.
53806
53806
  * @param options The options for the control.
@@ -54028,7 +54028,7 @@ uniform ${precision} ${type} u_${name};
54028
54028
  return PitchControl;
54029
54029
  }(ControlBase));
54030
54030
 
54031
- var __extends$1b = (window && window.__extends) || (function () {
54031
+ var __extends$1d = (window && window.__extends) || (function () {
54032
54032
  var extendStatics = function (d, b) {
54033
54033
  extendStatics = Object.setPrototypeOf ||
54034
54034
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -54047,7 +54047,7 @@ uniform ${precision} ${type} u_${name};
54047
54047
  * A control to display a scale bar on the map.
54048
54048
  */
54049
54049
  var ScaleControl = /** @class */ (function (_super) {
54050
- __extends$1b(ScaleControl, _super);
54050
+ __extends$1d(ScaleControl, _super);
54051
54051
  /**
54052
54052
  * A control to displays a scale bar relative to the pixel resolution at the center of the map.
54053
54053
  * @param options Options for defining how the control is rendered and functions.
@@ -57565,7 +57565,7 @@ uniform ${precision} ${type} u_${name};
57565
57565
 
57566
57566
  var merge$1 = /*@__PURE__*/getDefaultExportFromCjs(merge_1);
57567
57567
 
57568
- var __extends$1a = (window && window.__extends) || (function () {
57568
+ var __extends$1c = (window && window.__extends) || (function () {
57569
57569
  var extendStatics = function (d, b) {
57570
57570
  extendStatics = Object.setPrototypeOf ||
57571
57571
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -57584,7 +57584,7 @@ uniform ${precision} ${type} u_${name};
57584
57584
  * The options for a StyleControl object.
57585
57585
  */
57586
57586
  var StyleControlOptions = /** @class */ (function (_super) {
57587
- __extends$1a(StyleControlOptions, _super);
57587
+ __extends$1c(StyleControlOptions, _super);
57588
57588
  function StyleControlOptions() {
57589
57589
  var _this = _super !== null && _super.apply(this, arguments) || this;
57590
57590
  /**
@@ -57629,7 +57629,7 @@ uniform ${precision} ${type} u_${name};
57629
57629
  return StyleControlOptions;
57630
57630
  }(Options));
57631
57631
 
57632
- var __extends$19 = (window && window.__extends) || (function () {
57632
+ var __extends$1b = (window && window.__extends) || (function () {
57633
57633
  var extendStatics = function (d, b) {
57634
57634
  extendStatics = Object.setPrototypeOf ||
57635
57635
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -57700,7 +57700,7 @@ uniform ${precision} ${type} u_${name};
57700
57700
  * A control for changing the style of the map.
57701
57701
  */
57702
57702
  var StyleControl = /** @class */ (function (_super) {
57703
- __extends$19(StyleControl, _super);
57703
+ __extends$1b(StyleControl, _super);
57704
57704
  /**
57705
57705
  * Constructs a StyleControl.
57706
57706
  * @param options The options for the control.
@@ -58065,7 +58065,7 @@ uniform ${precision} ${type} u_${name};
58065
58065
  return StyleControl;
58066
58066
  }(ControlBase));
58067
58067
 
58068
- var __extends$18 = (window && window.__extends) || (function () {
58068
+ var __extends$1a = (window && window.__extends) || (function () {
58069
58069
  var extendStatics = function (d, b) {
58070
58070
  extendStatics = Object.setPrototypeOf ||
58071
58071
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -58084,7 +58084,7 @@ uniform ${precision} ${type} u_${name};
58084
58084
  * The options for setting traffic on the map.
58085
58085
  */
58086
58086
  var TrafficOptions = /** @class */ (function (_super) {
58087
- __extends$18(TrafficOptions, _super);
58087
+ __extends$1a(TrafficOptions, _super);
58088
58088
  function TrafficOptions() {
58089
58089
  var _this = _super !== null && _super.apply(this, arguments) || this;
58090
58090
  /**
@@ -58109,7 +58109,7 @@ uniform ${precision} ${type} u_${name};
58109
58109
  return TrafficOptions;
58110
58110
  }(Options));
58111
58111
 
58112
- var __extends$17 = (window && window.__extends) || (function () {
58112
+ var __extends$19 = (window && window.__extends) || (function () {
58113
58113
  var extendStatics = function (d, b) {
58114
58114
  extendStatics = Object.setPrototypeOf ||
58115
58115
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -58128,7 +58128,7 @@ uniform ${precision} ${type} u_${name};
58128
58128
  * The options for a TrafficControl object.
58129
58129
  */
58130
58130
  var TrafficControlOptions = /** @class */ (function (_super) {
58131
- __extends$17(TrafficControlOptions, _super);
58131
+ __extends$19(TrafficControlOptions, _super);
58132
58132
  function TrafficControlOptions() {
58133
58133
  var _this = _super !== null && _super.apply(this, arguments) || this;
58134
58134
  /**
@@ -58148,7 +58148,7 @@ uniform ${precision} ${type} u_${name};
58148
58148
  return TrafficControlOptions;
58149
58149
  }(TrafficOptions));
58150
58150
 
58151
- var __extends$16 = (window && window.__extends) || (function () {
58151
+ var __extends$18 = (window && window.__extends) || (function () {
58152
58152
  var extendStatics = function (d, b) {
58153
58153
  extendStatics = Object.setPrototypeOf ||
58154
58154
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -58167,7 +58167,7 @@ uniform ${precision} ${type} u_${name};
58167
58167
  * A control that toggles traffic data on the map.
58168
58168
  */
58169
58169
  var TrafficControl = /** @class */ (function (_super) {
58170
- __extends$16(TrafficControl, _super);
58170
+ __extends$18(TrafficControl, _super);
58171
58171
  /**
58172
58172
  * Constructs a TrafficControl
58173
58173
  * @param options The options for the control.
@@ -58294,7 +58294,7 @@ uniform ${precision} ${type} u_${name};
58294
58294
  return TrafficControl;
58295
58295
  }(ControlBase));
58296
58296
 
58297
- var __extends$15 = (window && window.__extends) || (function () {
58297
+ var __extends$17 = (window && window.__extends) || (function () {
58298
58298
  var extendStatics = function (d, b) {
58299
58299
  extendStatics = Object.setPrototypeOf ||
58300
58300
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -58324,7 +58324,7 @@ uniform ${precision} ${type} u_${name};
58324
58324
  * A control that display traffic legend on the map.
58325
58325
  */
58326
58326
  var TrafficLegendControl = /** @class */ (function (_super) {
58327
- __extends$15(TrafficLegendControl, _super);
58327
+ __extends$17(TrafficLegendControl, _super);
58328
58328
  /**
58329
58329
  * Construct a traffic legend control
58330
58330
  */
@@ -59058,7 +59058,7 @@ uniform ${precision} ${type} u_${name};
59058
59058
  return Feature;
59059
59059
  }());
59060
59060
 
59061
- var __extends$14 = (window && window.__extends) || (function () {
59061
+ var __extends$16 = (window && window.__extends) || (function () {
59062
59062
  var extendStatics = function (d, b) {
59063
59063
  extendStatics = Object.setPrototypeOf ||
59064
59064
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -59077,7 +59077,7 @@ uniform ${precision} ${type} u_${name};
59077
59077
  * Represent a pixel coordinate or offset. Extends an array of [x, y].
59078
59078
  */
59079
59079
  var Pixel = /** @class */ (function (_super) {
59080
- __extends$14(Pixel, _super);
59080
+ __extends$16(Pixel, _super);
59081
59081
  /**
59082
59082
  * Constructs a Pixel object and initializes it with the specified x and y coordinates.
59083
59083
  * @param x The horizontal pixel offset.
@@ -61297,7 +61297,7 @@ uniform ${precision} ${type} u_${name};
61297
61297
  return result;
61298
61298
  }
61299
61299
 
61300
- var __extends$13 = (window && window.__extends) || (function () {
61300
+ var __extends$15 = (window && window.__extends) || (function () {
61301
61301
  var extendStatics = function (d, b) {
61302
61302
  extendStatics = Object.setPrototypeOf ||
61303
61303
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -61317,7 +61317,7 @@ uniform ${precision} ${type} u_${name};
61317
61317
  * full description is detailed in [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-3.1.1}.
61318
61318
  */
61319
61319
  var Position = /** @class */ (function (_super) {
61320
- __extends$13(Position, _super);
61320
+ __extends$15(Position, _super);
61321
61321
  /**
61322
61322
  * Constructs a Position.
61323
61323
  * @param longitude The position's longitude.
@@ -61380,10 +61380,10 @@ uniform ${precision} ${type} u_${name};
61380
61380
  Position.fromLatLng = function (y, x, z) {
61381
61381
  var position = [];
61382
61382
  if (typeof y === "number") {
61383
- position.push(y);
61384
61383
  if (typeof x === "number") {
61385
61384
  position.push(x);
61386
61385
  }
61386
+ position.push(y);
61387
61387
  if (typeof z === "number") {
61388
61388
  position.push(z);
61389
61389
  }
@@ -61392,10 +61392,10 @@ uniform ${precision} ${type} u_${name};
61392
61392
  // Assume array is in the form [lat, lng] or [lat, lng, elv]
61393
61393
  if (y.length >= 2 && typeof y[0] === "number" && typeof y[1] === "number") {
61394
61394
  if (y.length >= 3 && typeof y[2] === "number") {
61395
- position.push(y[0], y[1], y[2]);
61395
+ position.push(y[1], y[0], y[2]);
61396
61396
  }
61397
61397
  else {
61398
- position.push(y[0], y[1]);
61398
+ position.push(y[1], y[0]);
61399
61399
  }
61400
61400
  }
61401
61401
  }
@@ -61509,7 +61509,7 @@ uniform ${precision} ${type} u_${name};
61509
61509
  return Polygon;
61510
61510
  }());
61511
61511
 
61512
- var __extends$12 = (window && window.__extends) || (function () {
61512
+ var __extends$14 = (window && window.__extends) || (function () {
61513
61513
  var extendStatics = function (d, b) {
61514
61514
  extendStatics = Object.setPrototypeOf ||
61515
61515
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -61539,7 +61539,7 @@ uniform ${precision} ${type} u_${name};
61539
61539
  * A helper class that wraps a Geometry or Feature and makes it easy to update and maintain.
61540
61540
  */
61541
61541
  var Shape = /** @class */ (function (_super) {
61542
- __extends$12(Shape, _super);
61542
+ __extends$14(Shape, _super);
61543
61543
  function Shape(data, id, properties) {
61544
61544
  var _this = _super.call(this) || this;
61545
61545
  var geometry;
@@ -61835,7 +61835,7 @@ uniform ${precision} ${type} u_${name};
61835
61835
  return Shape;
61836
61836
  }(EventEmitter));
61837
61837
 
61838
- var __extends$11 = (window && window.__extends) || (function () {
61838
+ var __extends$13 = (window && window.__extends) || (function () {
61839
61839
  var extendStatics = function (d, b) {
61840
61840
  extendStatics = Object.setPrototypeOf ||
61841
61841
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -61868,7 +61868,7 @@ uniform ${precision} ${type} u_${name};
61868
61868
  * [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-5}.
61869
61869
  */
61870
61870
  var BoundingBox = /** @class */ (function (_super) {
61871
- __extends$11(BoundingBox, _super);
61871
+ __extends$13(BoundingBox, _super);
61872
61872
  function BoundingBox(southwestPositionOrPositions, northeastPosition) {
61873
61873
  var _this = this;
61874
61874
  if (southwestPositionOrPositions && northeastPosition) {
@@ -62585,7 +62585,7 @@ uniform ${precision} ${type} u_${name};
62585
62585
  return MultiPolygon;
62586
62586
  }());
62587
62587
 
62588
- var __extends$10 = (window && window.__extends) || (function () {
62588
+ var __extends$12 = (window && window.__extends) || (function () {
62589
62589
  var extendStatics = function (d, b) {
62590
62590
  extendStatics = Object.setPrototypeOf ||
62591
62591
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -62616,7 +62616,7 @@ uniform ${precision} ${type} u_${name};
62616
62616
  * The `z` dimension of `MercatorPoint` is conformal. A cube in the mercator coordinate space would be rendered as a cube.
62617
62617
  */
62618
62618
  var MercatorPoint = /** @class */ (function (_super) {
62619
- __extends$10(MercatorPoint, _super);
62619
+ __extends$12(MercatorPoint, _super);
62620
62620
  /**
62621
62621
  * Constructs a MercatorPoint.
62622
62622
  * @param x A points x position in mercator units.
@@ -63105,7 +63105,7 @@ uniform ${precision} ${type} u_${name};
63105
63105
  simplify: simplify
63106
63106
  });
63107
63107
 
63108
- var __extends$$ = (window && window.__extends) || (function () {
63108
+ var __extends$11 = (window && window.__extends) || (function () {
63109
63109
  var extendStatics = function (d, b) {
63110
63110
  extendStatics = Object.setPrototypeOf ||
63111
63111
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -63124,7 +63124,7 @@ uniform ${precision} ${type} u_${name};
63124
63124
  * The options for a ZoomControl object.
63125
63125
  */
63126
63126
  var ZoomControlOptions = /** @class */ (function (_super) {
63127
- __extends$$(ZoomControlOptions, _super);
63127
+ __extends$11(ZoomControlOptions, _super);
63128
63128
  function ZoomControlOptions() {
63129
63129
  var _this = _super !== null && _super.apply(this, arguments) || this;
63130
63130
  /**
@@ -63144,7 +63144,7 @@ uniform ${precision} ${type} u_${name};
63144
63144
  return ZoomControlOptions;
63145
63145
  }(Options));
63146
63146
 
63147
- var __extends$_ = (window && window.__extends) || (function () {
63147
+ var __extends$10 = (window && window.__extends) || (function () {
63148
63148
  var extendStatics = function (d, b) {
63149
63149
  extendStatics = Object.setPrototypeOf ||
63150
63150
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -63163,7 +63163,7 @@ uniform ${precision} ${type} u_${name};
63163
63163
  * A control for changing the zoom of the map.
63164
63164
  */
63165
63165
  var ZoomControl = /** @class */ (function (_super) {
63166
- __extends$_(ZoomControl, _super);
63166
+ __extends$10(ZoomControl, _super);
63167
63167
  /**
63168
63168
  * Constructs a ZoomControl.
63169
63169
  * @param options The options for the control.
@@ -63398,7 +63398,7 @@ uniform ${precision} ${type} u_${name};
63398
63398
  return AccessibleIndicator;
63399
63399
  }());
63400
63400
 
63401
- var __extends$Z = (window && window.__extends) || (function () {
63401
+ var __extends$$ = (window && window.__extends) || (function () {
63402
63402
  var extendStatics = function (d, b) {
63403
63403
  extendStatics = Object.setPrototypeOf ||
63404
63404
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -63420,7 +63420,7 @@ uniform ${precision} ${type} u_${name};
63420
63420
  * @module Object Definitions
63421
63421
  */
63422
63422
  var DataSourceOptions = /** @class */ (function (_super) {
63423
- __extends$Z(DataSourceOptions, _super);
63423
+ __extends$$(DataSourceOptions, _super);
63424
63424
  function DataSourceOptions() {
63425
63425
  var _this = _super !== null && _super.apply(this, arguments) || this;
63426
63426
  /*
@@ -63480,7 +63480,8 @@ uniform ${precision} ${type} u_${name};
63480
63480
  */
63481
63481
  _this.generateId = false;
63482
63482
  /**
63483
- * A property to use as a feature id (for feature state). Either a property name, or an object of the form {<sourceLayer>: <propertyName>}.
63483
+ * A specified property name to be used as a feature ID (for feature state).
63484
+ * This can either be a property name or an object in the form `{<sourceLayer>: <propertyName>}`.
63484
63485
  */
63485
63486
  _this.promoteId = undefined;
63486
63487
  /**
@@ -63492,7 +63493,7 @@ uniform ${precision} ${type} u_${name};
63492
63493
  return DataSourceOptions;
63493
63494
  }(Options));
63494
63495
 
63495
- var __extends$Y = (window && window.__extends) || (function () {
63496
+ var __extends$_ = (window && window.__extends) || (function () {
63496
63497
  var extendStatics = function (d, b) {
63497
63498
  extendStatics = Object.setPrototypeOf ||
63498
63499
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -63512,7 +63513,7 @@ uniform ${precision} ${type} u_${name};
63512
63513
  * A source must be added to a layer before it is visible on the map.
63513
63514
  */
63514
63515
  var Source = /** @class */ (function (_super) {
63515
- __extends$Y(Source, _super);
63516
+ __extends$_(Source, _super);
63516
63517
  function Source(id) {
63517
63518
  var _this = _super.call(this) || this;
63518
63519
  _this.id = id || uuid();
@@ -63551,7 +63552,7 @@ uniform ${precision} ${type} u_${name};
63551
63552
  return Source;
63552
63553
  }(EventEmitter));
63553
63554
 
63554
- var __extends$X = (window && window.__extends) || (function () {
63555
+ var __extends$Z = (window && window.__extends) || (function () {
63555
63556
  var extendStatics = function (d, b) {
63556
63557
  extendStatics = Object.setPrototypeOf ||
63557
63558
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -63583,7 +63584,7 @@ uniform ${precision} ${type} u_${name};
63583
63584
  * The DataSource class may be used with the SymbolLayer, LineLayer, PolygonLayer, BubbleLayer, and HeatMapLayer.
63584
63585
  */
63585
63586
  var DataSource = /** @class */ (function (_super) {
63586
- __extends$X(DataSource, _super);
63587
+ __extends$Z(DataSource, _super);
63587
63588
  /**
63588
63589
  * A data source class that makes it easy to manage shapes data that will be displayed on the map.
63589
63590
  * A data source must be added to a layer before it is visible on the map.
@@ -64038,7 +64039,7 @@ uniform ${precision} ${type} u_${name};
64038
64039
  return DataSource;
64039
64040
  }(Source));
64040
64041
 
64041
- var __extends$W = (window && window.__extends) || (function () {
64042
+ var __extends$Y = (window && window.__extends) || (function () {
64042
64043
  var extendStatics = function (d, b) {
64043
64044
  extendStatics = Object.setPrototypeOf ||
64044
64045
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64060,7 +64061,7 @@ uniform ${precision} ${type} u_${name};
64060
64061
  * @module Object Definitions
64061
64062
  */
64062
64063
  var VectorTileSourceOptions = /** @class */ (function (_super) {
64063
- __extends$W(VectorTileSourceOptions, _super);
64064
+ __extends$Y(VectorTileSourceOptions, _super);
64064
64065
  function VectorTileSourceOptions() {
64065
64066
  /*
64066
64067
  * TODO:
@@ -64113,7 +64114,7 @@ uniform ${precision} ${type} u_${name};
64113
64114
  return VectorTileSourceOptions;
64114
64115
  }(Options));
64115
64116
 
64116
- var __extends$V = (window && window.__extends) || (function () {
64117
+ var __extends$X = (window && window.__extends) || (function () {
64117
64118
  var extendStatics = function (d, b) {
64118
64119
  extendStatics = Object.setPrototypeOf ||
64119
64120
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64133,7 +64134,7 @@ uniform ${precision} ${type} u_${name};
64133
64134
  * Vector tile sources can be used with; SymbolLayer, LineLayer, PolygonLayer, BubbleLayer, HeatmapLayer and VectorTileLayer.
64134
64135
  */
64135
64136
  var VectorTileSource = /** @class */ (function (_super) {
64136
- __extends$V(VectorTileSource, _super);
64137
+ __extends$X(VectorTileSource, _super);
64137
64138
  function VectorTileSource(id, options) {
64138
64139
  var _this = _super.call(this, id) || this;
64139
64140
  _this.options = new VectorTileSourceOptions().merge(cloneDeep$1(options));
@@ -64199,7 +64200,7 @@ uniform ${precision} ${type} u_${name};
64199
64200
  return VectorTileSource;
64200
64201
  }(Source));
64201
64202
 
64202
- var __extends$U = (window && window.__extends) || (function () {
64203
+ var __extends$W = (window && window.__extends) || (function () {
64203
64204
  var extendStatics = function (d, b) {
64204
64205
  extendStatics = Object.setPrototypeOf ||
64205
64206
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64220,7 +64221,7 @@ uniform ${precision} ${type} u_${name};
64220
64221
  * @private
64221
64222
  */
64222
64223
  var CanvasSource = /** @class */ (function (_super) {
64223
- __extends$U(CanvasSource, _super);
64224
+ __extends$W(CanvasSource, _super);
64224
64225
  /**
64225
64226
  * Constructs a source from the contents of a layer resource file.
64226
64227
  * @param id The source's id.
@@ -64255,7 +64256,7 @@ uniform ${precision} ${type} u_${name};
64255
64256
  return CanvasSource;
64256
64257
  }(Source));
64257
64258
 
64258
- var __extends$T = (window && window.__extends) || (function () {
64259
+ var __extends$V = (window && window.__extends) || (function () {
64259
64260
  var extendStatics = function (d, b) {
64260
64261
  extendStatics = Object.setPrototypeOf ||
64261
64262
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64276,7 +64277,7 @@ uniform ${precision} ${type} u_${name};
64276
64277
  * @private
64277
64278
  */
64278
64279
  var UnknownSource = /** @class */ (function (_super) {
64279
- __extends$T(UnknownSource, _super);
64280
+ __extends$V(UnknownSource, _super);
64280
64281
  /**
64281
64282
  * Constructs a source from the contents of a layer resource file.
64282
64283
  * @param id The source's id.
@@ -64308,7 +64309,7 @@ uniform ${precision} ${type} u_${name};
64308
64309
  return UnknownSource;
64309
64310
  }(Source));
64310
64311
 
64311
- var __extends$S = (window && window.__extends) || (function () {
64312
+ var __extends$U = (window && window.__extends) || (function () {
64312
64313
  var extendStatics = function (d, b) {
64313
64314
  extendStatics = Object.setPrototypeOf ||
64314
64315
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64329,7 +64330,7 @@ uniform ${precision} ${type} u_${name};
64329
64330
  * @private
64330
64331
  */
64331
64332
  var ImageSource = /** @class */ (function (_super) {
64332
- __extends$S(ImageSource, _super);
64333
+ __extends$U(ImageSource, _super);
64333
64334
  /**
64334
64335
  * Constructs a source from the contents of a layer resource file.
64335
64336
  * @param id The source's id.
@@ -64363,7 +64364,7 @@ uniform ${precision} ${type} u_${name};
64363
64364
  return ImageSource;
64364
64365
  }(Source));
64365
64366
 
64366
- var __extends$R = (window && window.__extends) || (function () {
64367
+ var __extends$T = (window && window.__extends) || (function () {
64367
64368
  var extendStatics = function (d, b) {
64368
64369
  extendStatics = Object.setPrototypeOf ||
64369
64370
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64384,7 +64385,7 @@ uniform ${precision} ${type} u_${name};
64384
64385
  * @private
64385
64386
  */
64386
64387
  var VideoSource = /** @class */ (function (_super) {
64387
- __extends$R(VideoSource, _super);
64388
+ __extends$T(VideoSource, _super);
64388
64389
  /**
64389
64390
  * Constructs a source from the contents of a layer resource file.
64390
64391
  * @param id The source's id.
@@ -64418,7 +64419,7 @@ uniform ${precision} ${type} u_${name};
64418
64419
  return VideoSource;
64419
64420
  }(Source));
64420
64421
 
64421
- var __extends$Q = (window && window.__extends) || (function () {
64422
+ var __extends$S = (window && window.__extends) || (function () {
64422
64423
  var extendStatics = function (d, b) {
64423
64424
  extendStatics = Object.setPrototypeOf ||
64424
64425
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64434,7 +64435,7 @@ uniform ${precision} ${type} u_${name};
64434
64435
  };
64435
64436
  })();
64436
64437
  var RasterTileSourceOptions = /** @class */ (function (_super) {
64437
- __extends$Q(RasterTileSourceOptions, _super);
64438
+ __extends$S(RasterTileSourceOptions, _super);
64438
64439
  function RasterTileSourceOptions() {
64439
64440
  var _this = _super !== null && _super.apply(this, arguments) || this;
64440
64441
  /**
@@ -64448,7 +64449,7 @@ uniform ${precision} ${type} u_${name};
64448
64449
  return RasterTileSourceOptions;
64449
64450
  }(VectorTileSourceOptions));
64450
64451
 
64451
- var __extends$P = (window && window.__extends) || (function () {
64452
+ var __extends$R = (window && window.__extends) || (function () {
64452
64453
  var extendStatics = function (d, b) {
64453
64454
  extendStatics = Object.setPrototypeOf ||
64454
64455
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64464,7 +64465,7 @@ uniform ${precision} ${type} u_${name};
64464
64465
  };
64465
64466
  })();
64466
64467
  var ElevationTileSourceOptions = /** @class */ (function (_super) {
64467
- __extends$P(ElevationTileSourceOptions, _super);
64468
+ __extends$R(ElevationTileSourceOptions, _super);
64468
64469
  function ElevationTileSourceOptions() {
64469
64470
  var _this = _super !== null && _super.apply(this, arguments) || this;
64470
64471
  /**
@@ -64480,7 +64481,7 @@ uniform ${precision} ${type} u_${name};
64480
64481
  return ElevationTileSourceOptions;
64481
64482
  }(RasterTileSourceOptions));
64482
64483
 
64483
- var __extends$O = (window && window.__extends) || (function () {
64484
+ var __extends$Q = (window && window.__extends) || (function () {
64484
64485
  var extendStatics = function (d, b) {
64485
64486
  extendStatics = Object.setPrototypeOf ||
64486
64487
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64510,7 +64511,7 @@ uniform ${precision} ${type} u_${name};
64510
64511
  * Publicly exposed ElevationTileSource.
64511
64512
  */
64512
64513
  var ElevationTileSource = /** @class */ (function (_super) {
64513
- __extends$O(ElevationTileSource, _super);
64514
+ __extends$Q(ElevationTileSource, _super);
64514
64515
  function ElevationTileSource(id, options) {
64515
64516
  var _this = _super.call(this, id) || this;
64516
64517
  _this.options = new ElevationTileSourceOptions().merge(cloneDeep$1(options));
@@ -64554,7 +64555,7 @@ uniform ${precision} ${type} u_${name};
64554
64555
  VideoSource: VideoSource
64555
64556
  });
64556
64557
 
64557
- var __extends$N = (window && window.__extends) || (function () {
64558
+ var __extends$P = (window && window.__extends) || (function () {
64558
64559
  var extendStatics = function (d, b) {
64559
64560
  extendStatics = Object.setPrototypeOf ||
64560
64561
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64573,7 +64574,7 @@ uniform ${precision} ${type} u_${name};
64573
64574
  * Abstract class for other layer classes to extend.
64574
64575
  */
64575
64576
  var Layer = /** @class */ (function (_super) {
64576
- __extends$N(Layer, _super);
64577
+ __extends$P(Layer, _super);
64577
64578
  function Layer(id) {
64578
64579
  var _this =
64579
64580
  // Assign an random id using a UUID if none was specified.
@@ -64680,7 +64681,7 @@ uniform ${precision} ${type} u_${name};
64680
64681
  return Layer;
64681
64682
  }(EventEmitter));
64682
64683
 
64683
- var __extends$M = (window && window.__extends) || (function () {
64684
+ var __extends$O = (window && window.__extends) || (function () {
64684
64685
  var extendStatics = function (d, b) {
64685
64686
  extendStatics = Object.setPrototypeOf ||
64686
64687
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64699,7 +64700,7 @@ uniform ${precision} ${type} u_${name};
64699
64700
  * A base class which all other layer options inherit from.
64700
64701
  */
64701
64702
  var LayerOptions$1 = /** @class */ (function (_super) {
64702
- __extends$M(LayerOptions, _super);
64703
+ __extends$O(LayerOptions, _super);
64703
64704
  function LayerOptions() {
64704
64705
  var _this = _super !== null && _super.apply(this, arguments) || this;
64705
64706
  /**
@@ -64746,7 +64747,7 @@ uniform ${precision} ${type} u_${name};
64746
64747
  return LayerOptions;
64747
64748
  }(Options));
64748
64749
 
64749
- var __extends$L = (window && window.__extends) || (function () {
64750
+ var __extends$N = (window && window.__extends) || (function () {
64750
64751
  var extendStatics = function (d, b) {
64751
64752
  extendStatics = Object.setPrototypeOf ||
64752
64753
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64765,7 +64766,7 @@ uniform ${precision} ${type} u_${name};
64765
64766
  * Options used when rendering Point objects in a BubbleLayer.
64766
64767
  */
64767
64768
  var BubbleLayerOptions = /** @class */ (function (_super) {
64768
- __extends$L(BubbleLayerOptions, _super);
64769
+ __extends$N(BubbleLayerOptions, _super);
64769
64770
  function BubbleLayerOptions() {
64770
64771
  var _this = _super !== null && _super.apply(this, arguments) || this;
64771
64772
  /**
@@ -64873,7 +64874,7 @@ uniform ${precision} ${type} u_${name};
64873
64874
  return BubbleLayerOptions;
64874
64875
  }(LayerOptions$1));
64875
64876
 
64876
- var __extends$K = (window && window.__extends) || (function () {
64877
+ var __extends$M = (window && window.__extends) || (function () {
64877
64878
  var extendStatics = function (d, b) {
64878
64879
  extendStatics = Object.setPrototypeOf ||
64879
64880
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64953,7 +64954,7 @@ uniform ${precision} ${type} u_${name};
64953
64954
  * Renders Point objects as scalable circles (bubbles).
64954
64955
  */
64955
64956
  var BubbleLayer = /** @class */ (function (_super) {
64956
- __extends$K(BubbleLayer, _super);
64957
+ __extends$M(BubbleLayer, _super);
64957
64958
  /**
64958
64959
  * Constructs a new BubbleLayer.
64959
64960
  * @param source The id or instance of a data source which the layer will render.
@@ -65228,7 +65229,7 @@ uniform ${precision} ${type} u_${name};
65228
65229
  return BubbleLayer;
65229
65230
  }(Layer));
65230
65231
 
65231
- var __extends$J = (window && window.__extends) || (function () {
65232
+ var __extends$L = (window && window.__extends) || (function () {
65232
65233
  var extendStatics = function (d, b) {
65233
65234
  extendStatics = Object.setPrototypeOf ||
65234
65235
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -65247,7 +65248,7 @@ uniform ${precision} ${type} u_${name};
65247
65248
  * Options used when rendering Point objects in a HeatMapLayer.
65248
65249
  */
65249
65250
  var HeatMapLayerOptions = /** @class */ (function (_super) {
65250
- __extends$J(HeatMapLayerOptions, _super);
65251
+ __extends$L(HeatMapLayerOptions, _super);
65251
65252
  function HeatMapLayerOptions() {
65252
65253
  var _this = _super !== null && _super.apply(this, arguments) || this;
65253
65254
  /**
@@ -65314,7 +65315,7 @@ uniform ${precision} ${type} u_${name};
65314
65315
  return HeatMapLayerOptions;
65315
65316
  }(LayerOptions$1));
65316
65317
 
65317
- var __extends$I = (window && window.__extends) || (function () {
65318
+ var __extends$K = (window && window.__extends) || (function () {
65318
65319
  var extendStatics = function (d, b) {
65319
65320
  extendStatics = Object.setPrototypeOf ||
65320
65321
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -65333,7 +65334,7 @@ uniform ${precision} ${type} u_${name};
65333
65334
  * Represent the density of data using different colors (HeatMap).
65334
65335
  */
65335
65336
  var HeatMapLayer = /** @class */ (function (_super) {
65336
- __extends$I(HeatMapLayer, _super);
65337
+ __extends$K(HeatMapLayer, _super);
65337
65338
  /**
65338
65339
  * Constructs a new HeatMapLayer.
65339
65340
  * @param source The id or instance of a data source which the layer will render.
@@ -65437,7 +65438,7 @@ uniform ${precision} ${type} u_${name};
65437
65438
  return HeatMapLayer;
65438
65439
  }(Layer));
65439
65440
 
65440
- var __extends$H = (window && window.__extends) || (function () {
65441
+ var __extends$J = (window && window.__extends) || (function () {
65441
65442
  var extendStatics = function (d, b) {
65442
65443
  extendStatics = Object.setPrototypeOf ||
65443
65444
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -65456,7 +65457,7 @@ uniform ${precision} ${type} u_${name};
65456
65457
  * Options used when rendering canvas, image, raster tile, and video layers
65457
65458
  */
65458
65459
  var MediaLayerOptions = /** @class */ (function (_super) {
65459
- __extends$H(MediaLayerOptions, _super);
65460
+ __extends$J(MediaLayerOptions, _super);
65460
65461
  function MediaLayerOptions() {
65461
65462
  var _this = _super !== null && _super.apply(this, arguments) || this;
65462
65463
  /**
@@ -65508,7 +65509,7 @@ uniform ${precision} ${type} u_${name};
65508
65509
  return MediaLayerOptions;
65509
65510
  }(LayerOptions$1));
65510
65511
 
65511
- var __extends$G = (window && window.__extends) || (function () {
65512
+ var __extends$I = (window && window.__extends) || (function () {
65512
65513
  var extendStatics = function (d, b) {
65513
65514
  extendStatics = Object.setPrototypeOf ||
65514
65515
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -65527,7 +65528,7 @@ uniform ${precision} ${type} u_${name};
65527
65528
  * Options used when rendering Point objects in a ImageLayer.
65528
65529
  */
65529
65530
  var ImageLayerOptions = /** @class */ (function (_super) {
65530
- __extends$G(ImageLayerOptions, _super);
65531
+ __extends$I(ImageLayerOptions, _super);
65531
65532
  function ImageLayerOptions() {
65532
65533
  var _this = _super !== null && _super.apply(this, arguments) || this;
65533
65534
  /**
@@ -65557,7 +65558,7 @@ uniform ${precision} ${type} u_${name};
65557
65558
  return ImageLayerOptions;
65558
65559
  }(MediaLayerOptions));
65559
65560
 
65560
- var __extends$F = (window && window.__extends) || (function () {
65561
+ var __extends$H = (window && window.__extends) || (function () {
65561
65562
  var extendStatics = function (d, b) {
65562
65563
  extendStatics = Object.setPrototypeOf ||
65563
65564
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -65577,7 +65578,7 @@ uniform ${precision} ${type} u_${name};
65577
65578
  * @internal
65578
65579
  */
65579
65580
  var SourceBuildingLayer = /** @class */ (function (_super) {
65580
- __extends$F(SourceBuildingLayer, _super);
65581
+ __extends$H(SourceBuildingLayer, _super);
65581
65582
  function SourceBuildingLayer() {
65582
65583
  return _super !== null && _super.apply(this, arguments) || this;
65583
65584
  }
@@ -65595,7 +65596,7 @@ uniform ${precision} ${type} u_${name};
65595
65596
  return SourceBuildingLayer;
65596
65597
  }(Layer));
65597
65598
 
65598
- var __extends$E = (window && window.__extends) || (function () {
65599
+ var __extends$G = (window && window.__extends) || (function () {
65599
65600
  var extendStatics = function (d, b) {
65600
65601
  extendStatics = Object.setPrototypeOf ||
65601
65602
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -65614,7 +65615,7 @@ uniform ${precision} ${type} u_${name};
65614
65615
  * Overlays an image on the map with each corner anchored to a coordinate on the map. Also known as a ground or image overlay.
65615
65616
  */
65616
65617
  var ImageLayer = /** @class */ (function (_super) {
65617
- __extends$E(ImageLayer, _super);
65618
+ __extends$G(ImageLayer, _super);
65618
65619
  /**
65619
65620
  * Constructs a new ImageLayer.
65620
65621
  * @param id The id of the layer. If not specified a random one will be generated.
@@ -65822,7 +65823,7 @@ uniform ${precision} ${type} u_${name};
65822
65823
  return ImageLayer;
65823
65824
  }(SourceBuildingLayer));
65824
65825
 
65825
- var __extends$D = (window && window.__extends) || (function () {
65826
+ var __extends$F = (window && window.__extends) || (function () {
65826
65827
  var extendStatics = function (d, b) {
65827
65828
  extendStatics = Object.setPrototypeOf ||
65828
65829
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -65842,7 +65843,7 @@ uniform ${precision} ${type} u_${name};
65842
65843
  * LineString, MultiLineString, Polygon, and MultiPolygon objects in a line layer.
65843
65844
  */
65844
65845
  var LineLayerOptions = /** @class */ (function (_super) {
65845
- __extends$D(LineLayerOptions, _super);
65846
+ __extends$F(LineLayerOptions, _super);
65846
65847
  function LineLayerOptions() {
65847
65848
  var _this = _super !== null && _super.apply(this, arguments) || this;
65848
65849
  /**
@@ -65942,7 +65943,7 @@ uniform ${precision} ${type} u_${name};
65942
65943
  return LineLayerOptions;
65943
65944
  }(LayerOptions$1));
65944
65945
 
65945
- var __extends$C = (window && window.__extends) || (function () {
65946
+ var __extends$E = (window && window.__extends) || (function () {
65946
65947
  var extendStatics = function (d, b) {
65947
65948
  extendStatics = Object.setPrototypeOf ||
65948
65949
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -65973,7 +65974,7 @@ uniform ${precision} ${type} u_${name};
65973
65974
  * CirclePolygon, LineString, MultiLineString, Polygon, and MultiPolygon objects.
65974
65975
  */
65975
65976
  var LineLayer = /** @class */ (function (_super) {
65976
- __extends$C(LineLayer, _super);
65977
+ __extends$E(LineLayer, _super);
65977
65978
  /**
65978
65979
  * Constructs a new LineLayer.
65979
65980
  * @param source The id or instance of a data source which the layer will render.
@@ -66064,7 +66065,7 @@ uniform ${precision} ${type} u_${name};
66064
66065
  return LineLayer;
66065
66066
  }(Layer));
66066
66067
 
66067
- var __extends$B = (window && window.__extends) || (function () {
66068
+ var __extends$D = (window && window.__extends) || (function () {
66068
66069
  var extendStatics = function (d, b) {
66069
66070
  extendStatics = Object.setPrototypeOf ||
66070
66071
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -66083,7 +66084,7 @@ uniform ${precision} ${type} u_${name};
66083
66084
  * Options used when rendering `Polygon` and `MultiPolygon` objects in a `PolygonExtrusionLayer`.
66084
66085
  */
66085
66086
  var PolygonExtrusionLayerOptions = /** @class */ (function (_super) {
66086
- __extends$B(PolygonExtrusionLayerOptions, _super);
66087
+ __extends$D(PolygonExtrusionLayerOptions, _super);
66087
66088
  function PolygonExtrusionLayerOptions() {
66088
66089
  var _this = _super !== null && _super.apply(this, arguments) || this;
66089
66090
  /**
@@ -66156,7 +66157,7 @@ uniform ${precision} ${type} u_${name};
66156
66157
  return PolygonExtrusionLayerOptions;
66157
66158
  }(LayerOptions$1));
66158
66159
 
66159
- var __extends$A = (window && window.__extends) || (function () {
66160
+ var __extends$C = (window && window.__extends) || (function () {
66160
66161
  var extendStatics = function (d, b) {
66161
66162
  extendStatics = Object.setPrototypeOf ||
66162
66163
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -66186,7 +66187,7 @@ uniform ${precision} ${type} u_${name};
66186
66187
  * Renders extruded filled `Polygon` and `MultiPolygon` objects on the map.
66187
66188
  */
66188
66189
  var PolygonExtrusionLayer = /** @class */ (function (_super) {
66189
- __extends$A(PolygonExtrusionLayer, _super);
66190
+ __extends$C(PolygonExtrusionLayer, _super);
66190
66191
  /**
66191
66192
  * Constructs a new PolygonExtrusionLayer.
66192
66193
  * @param source The id or instance of a data source which the layer will render.
@@ -66274,7 +66275,7 @@ uniform ${precision} ${type} u_${name};
66274
66275
  return PolygonExtrusionLayer;
66275
66276
  }(Layer));
66276
66277
 
66277
- var __extends$z = (window && window.__extends) || (function () {
66278
+ var __extends$B = (window && window.__extends) || (function () {
66278
66279
  var extendStatics = function (d, b) {
66279
66280
  extendStatics = Object.setPrototypeOf ||
66280
66281
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -66293,7 +66294,7 @@ uniform ${precision} ${type} u_${name};
66293
66294
  * Options used when rendering Polygon and MultiPolygon objects in a PolygonLayer.
66294
66295
  */
66295
66296
  var PolygonLayerOptions$1 = /** @class */ (function (_super) {
66296
- __extends$z(PolygonLayerOptions, _super);
66297
+ __extends$B(PolygonLayerOptions, _super);
66297
66298
  function PolygonLayerOptions() {
66298
66299
  var _this = _super !== null && _super.apply(this, arguments) || this;
66299
66300
  /**
@@ -66333,7 +66334,7 @@ uniform ${precision} ${type} u_${name};
66333
66334
  return PolygonLayerOptions;
66334
66335
  }(LayerOptions$1));
66335
66336
 
66336
- var __extends$y = (window && window.__extends) || (function () {
66337
+ var __extends$A = (window && window.__extends) || (function () {
66337
66338
  var extendStatics = function (d, b) {
66338
66339
  extendStatics = Object.setPrototypeOf ||
66339
66340
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -66352,7 +66353,7 @@ uniform ${precision} ${type} u_${name};
66352
66353
  * Renders filled Polygon and MultiPolygon objects on the map.
66353
66354
  */
66354
66355
  var PolygonLayer = /** @class */ (function (_super) {
66355
- __extends$y(PolygonLayer, _super);
66356
+ __extends$A(PolygonLayer, _super);
66356
66357
  /**
66357
66358
  * Constructs a new PolygonLayer.
66358
66359
  * @param source The id or instance of a data source which the layer will render.
@@ -66462,7 +66463,7 @@ uniform ${precision} ${type} u_${name};
66462
66463
  return PolygonLayer;
66463
66464
  }(Layer));
66464
66465
 
66465
- var __extends$x = (window && window.__extends) || (function () {
66466
+ var __extends$z = (window && window.__extends) || (function () {
66466
66467
  var extendStatics = function (d, b) {
66467
66468
  extendStatics = Object.setPrototypeOf ||
66468
66469
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -66481,7 +66482,7 @@ uniform ${precision} ${type} u_${name};
66481
66482
  * Options used to customize the icons in a SymbolLayer
66482
66483
  */
66483
66484
  var IconOptions = /** @class */ (function (_super) {
66484
- __extends$x(IconOptions, _super);
66485
+ __extends$z(IconOptions, _super);
66485
66486
  function IconOptions() {
66486
66487
  var _this = _super !== null && _super.apply(this, arguments) || this;
66487
66488
  /**
@@ -66591,7 +66592,7 @@ uniform ${precision} ${type} u_${name};
66591
66592
  return IconOptions;
66592
66593
  }(Options));
66593
66594
 
66594
- var __extends$w = (window && window.__extends) || (function () {
66595
+ var __extends$y = (window && window.__extends) || (function () {
66595
66596
  var extendStatics = function (d, b) {
66596
66597
  extendStatics = Object.setPrototypeOf ||
66597
66598
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -66610,7 +66611,7 @@ uniform ${precision} ${type} u_${name};
66610
66611
  * Options used to customize the text in a SymbolLayer
66611
66612
  */
66612
66613
  var TextOptions = /** @class */ (function (_super) {
66613
- __extends$w(TextOptions, _super);
66614
+ __extends$y(TextOptions, _super);
66614
66615
  function TextOptions() {
66615
66616
  var _this = _super !== null && _super.apply(this, arguments) || this;
66616
66617
  /**
@@ -66790,7 +66791,7 @@ uniform ${precision} ${type} u_${name};
66790
66791
  return TextOptions;
66791
66792
  }(Options));
66792
66793
 
66793
- var __extends$v = (window && window.__extends) || (function () {
66794
+ var __extends$x = (window && window.__extends) || (function () {
66794
66795
  var extendStatics = function (d, b) {
66795
66796
  extendStatics = Object.setPrototypeOf ||
66796
66797
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -66809,7 +66810,7 @@ uniform ${precision} ${type} u_${name};
66809
66810
  * Options used when rendering geometries in a SymbolLayer.
66810
66811
  */
66811
66812
  var SymbolLayerOptions = /** @class */ (function (_super) {
66812
- __extends$v(SymbolLayerOptions, _super);
66813
+ __extends$x(SymbolLayerOptions, _super);
66813
66814
  function SymbolLayerOptions() {
66814
66815
  var _this = _super !== null && _super.apply(this, arguments) || this;
66815
66816
  /**
@@ -66874,7 +66875,7 @@ uniform ${precision} ${type} u_${name};
66874
66875
  return SymbolLayerOptions;
66875
66876
  }(LayerOptions$1));
66876
66877
 
66877
- var __extends$u = (window && window.__extends) || (function () {
66878
+ var __extends$w = (window && window.__extends) || (function () {
66878
66879
  var extendStatics = function (d, b) {
66879
66880
  extendStatics = Object.setPrototypeOf ||
66880
66881
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -66905,7 +66906,7 @@ uniform ${precision} ${type} u_${name};
66905
66906
  * Symbols can also be created for line and polygon data as well.
66906
66907
  */
66907
66908
  var SymbolLayer = /** @class */ (function (_super) {
66908
- __extends$u(SymbolLayer, _super);
66909
+ __extends$w(SymbolLayer, _super);
66909
66910
  /**
66910
66911
  * Constructs a new SymbolLayer.
66911
66912
  * @param source The id or instance of a data source which the layer will render.
@@ -67047,7 +67048,7 @@ uniform ${precision} ${type} u_${name};
67047
67048
  return SymbolLayer;
67048
67049
  }(Layer));
67049
67050
 
67050
- var __extends$t = (window && window.__extends) || (function () {
67051
+ var __extends$v = (window && window.__extends) || (function () {
67051
67052
  var extendStatics = function (d, b) {
67052
67053
  extendStatics = Object.setPrototypeOf ||
67053
67054
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -67078,7 +67079,7 @@ uniform ${precision} ${type} u_${name};
67078
67079
  * @private
67079
67080
  */
67080
67081
  var FundamentalMapSource = /** @class */ (function (_super) {
67081
- __extends$t(FundamentalMapSource, _super);
67082
+ __extends$v(FundamentalMapSource, _super);
67082
67083
  /**
67083
67084
  * Constructs a source from the contents of a layer resource file.
67084
67085
  * @param id The source's id.
@@ -67164,7 +67165,7 @@ uniform ${precision} ${type} u_${name};
67164
67165
  return FundamentalMapSource;
67165
67166
  }(Source));
67166
67167
 
67167
- var __extends$s = (window && window.__extends) || (function () {
67168
+ var __extends$u = (window && window.__extends) || (function () {
67168
67169
  var extendStatics = function (d, b) {
67169
67170
  extendStatics = Object.setPrototypeOf ||
67170
67171
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -67183,7 +67184,7 @@ uniform ${precision} ${type} u_${name};
67183
67184
  * Options used when rendering raster tiled images in a TileLayer.
67184
67185
  */
67185
67186
  var TileLayerOptions = /** @class */ (function (_super) {
67186
- __extends$s(TileLayerOptions, _super);
67187
+ __extends$u(TileLayerOptions, _super);
67187
67188
  function TileLayerOptions() {
67188
67189
  var _this = _super !== null && _super.apply(this, arguments) || this;
67189
67190
  /**
@@ -67239,7 +67240,7 @@ uniform ${precision} ${type} u_${name};
67239
67240
  return TileLayerOptions;
67240
67241
  }(MediaLayerOptions));
67241
67242
 
67242
- var __extends$r = (window && window.__extends) || (function () {
67243
+ var __extends$t = (window && window.__extends) || (function () {
67243
67244
  var extendStatics = function (d, b) {
67244
67245
  extendStatics = Object.setPrototypeOf ||
67245
67246
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -67280,7 +67281,7 @@ uniform ${precision} ${type} u_${name};
67280
67281
  * Renders raster tiled images on top of the map tiles.
67281
67282
  */
67282
67283
  var TileLayer = /** @class */ (function (_super) {
67283
- __extends$r(TileLayer, _super);
67284
+ __extends$t(TileLayer, _super);
67284
67285
  /**
67285
67286
  * Constructs a new TileLayer.
67286
67287
  * @param options The options for the tile layer.
@@ -67433,7 +67434,7 @@ uniform ${precision} ${type} u_${name};
67433
67434
  return TileLayer;
67434
67435
  }(SourceBuildingLayer));
67435
67436
 
67436
- var __extends$q = (window && window.__extends) || (function () {
67437
+ var __extends$s = (window && window.__extends) || (function () {
67437
67438
  var extendStatics = function (d, b) {
67438
67439
  extendStatics = Object.setPrototypeOf ||
67439
67440
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -67452,7 +67453,7 @@ uniform ${precision} ${type} u_${name};
67452
67453
  * Options used to render graphics in a WebGLLayer.
67453
67454
  */
67454
67455
  var WebGLLayerOptions = /** @class */ (function (_super) {
67455
- __extends$q(WebGLLayerOptions, _super);
67456
+ __extends$s(WebGLLayerOptions, _super);
67456
67457
  function WebGLLayerOptions() {
67457
67458
  var _this = _super !== null && _super.apply(this, arguments) || this;
67458
67459
  /**
@@ -67464,7 +67465,7 @@ uniform ${precision} ${type} u_${name};
67464
67465
  return WebGLLayerOptions;
67465
67466
  }(LayerOptions$1));
67466
67467
 
67467
- var __extends$p = (window && window.__extends) || (function () {
67468
+ var __extends$r = (window && window.__extends) || (function () {
67468
67469
  var extendStatics = function (d, b) {
67469
67470
  extendStatics = Object.setPrototypeOf ||
67470
67471
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -67483,7 +67484,7 @@ uniform ${precision} ${type} u_${name};
67483
67484
  * Enables custom rendering logic with access to the WebGL context of the map.
67484
67485
  */
67485
67486
  var WebGLLayer = /** @class */ (function (_super) {
67486
- __extends$p(WebGLLayer, _super);
67487
+ __extends$r(WebGLLayer, _super);
67487
67488
  /**
67488
67489
  * Constructs a new WebGLLayer.
67489
67490
  * @param id The id of the layer. If not specified a random one will be generated.
@@ -67716,7 +67717,7 @@ uniform ${precision} ${type} u_${name};
67716
67717
 
67717
67718
  var isElement$1 = /*@__PURE__*/getDefaultExportFromCjs(isElement_1);
67718
67719
 
67719
- var __extends$o = (window && window.__extends) || (function () {
67720
+ var __extends$q = (window && window.__extends) || (function () {
67720
67721
  var extendStatics = function (d, b) {
67721
67722
  extendStatics = Object.setPrototypeOf ||
67722
67723
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -67735,7 +67736,7 @@ uniform ${precision} ${type} u_${name};
67735
67736
  * The options for a popup.
67736
67737
  */
67737
67738
  var PopupOptions = /** @class */ (function (_super) {
67738
- __extends$o(PopupOptions, _super);
67739
+ __extends$q(PopupOptions, _super);
67739
67740
  function PopupOptions() {
67740
67741
  var _this = _super !== null && _super.apply(this, arguments) || this;
67741
67742
  /**
@@ -67804,7 +67805,7 @@ uniform ${precision} ${type} u_${name};
67804
67805
  return PopupOptions;
67805
67806
  }(Options));
67806
67807
 
67807
- var __extends$n = (window && window.__extends) || (function () {
67808
+ var __extends$p = (window && window.__extends) || (function () {
67808
67809
  var extendStatics = function (d, b) {
67809
67810
  extendStatics = Object.setPrototypeOf ||
67810
67811
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -67839,7 +67840,7 @@ uniform ${precision} ${type} u_${name};
67839
67840
  * An information window anchored at a specified position on a map.
67840
67841
  */
67841
67842
  var Popup = /** @class */ (function (_super) {
67842
- __extends$n(Popup, _super);
67843
+ __extends$p(Popup, _super);
67843
67844
  /**
67844
67845
  * Constructs a Popup object and initializes it with the specified options.
67845
67846
  * @param options The options for the popup.
@@ -68313,7 +68314,7 @@ uniform ${precision} ${type} u_${name};
68313
68314
  return Popup;
68314
68315
  }(EventEmitter));
68315
68316
 
68316
- var __extends$m = (window && window.__extends) || (function () {
68317
+ var __extends$o = (window && window.__extends) || (function () {
68317
68318
  var extendStatics = function (d, b) {
68318
68319
  extendStatics = Object.setPrototypeOf ||
68319
68320
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -68332,7 +68333,7 @@ uniform ${precision} ${type} u_${name};
68332
68333
  * Options for rendering an HtmlMarker object
68333
68334
  */
68334
68335
  var HtmlMarkerOptions = /** @class */ (function (_super) {
68335
- __extends$m(HtmlMarkerOptions, _super);
68336
+ __extends$o(HtmlMarkerOptions, _super);
68336
68337
  function HtmlMarkerOptions() {
68337
68338
  var _this = _super !== null && _super.apply(this, arguments) || this;
68338
68339
  /**
@@ -68410,7 +68411,7 @@ uniform ${precision} ${type} u_${name};
68410
68411
  return HtmlMarkerOptions;
68411
68412
  }(Options));
68412
68413
 
68413
- var __extends$l = (window && window.__extends) || (function () {
68414
+ var __extends$n = (window && window.__extends) || (function () {
68414
68415
  var extendStatics = function (d, b) {
68415
68416
  extendStatics = Object.setPrototypeOf ||
68416
68417
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -68429,7 +68430,7 @@ uniform ${precision} ${type} u_${name};
68429
68430
  * This class wraps an HTML element that can be displayed on the map.
68430
68431
  */
68431
68432
  var HtmlMarker = /** @class */ (function (_super) {
68432
- __extends$l(HtmlMarker, _super);
68433
+ __extends$n(HtmlMarker, _super);
68433
68434
  /**
68434
68435
  * Constructs a new HtmlMarker.
68435
68436
  * @param options The options for the HtmlMarker.
@@ -88931,7 +88932,7 @@ uniform ${precision} ${type} u_${name};
88931
88932
  return Insights;
88932
88933
  }());
88933
88934
 
88934
- var __extends$k = (window && window.__extends) || (function () {
88935
+ var __extends$m = (window && window.__extends) || (function () {
88935
88936
  var extendStatics = function (d, b) {
88936
88937
  extendStatics = Object.setPrototypeOf ||
88937
88938
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -88950,7 +88951,7 @@ uniform ${precision} ${type} u_${name};
88950
88951
  * The options for a CopyrightControl object.
88951
88952
  */
88952
88953
  var CopyrightControlOptions = /** @class */ (function (_super) {
88953
- __extends$k(CopyrightControlOptions, _super);
88954
+ __extends$m(CopyrightControlOptions, _super);
88954
88955
  function CopyrightControlOptions() {
88955
88956
  var _this = _super !== null && _super.apply(this, arguments) || this;
88956
88957
  /**
@@ -88979,7 +88980,7 @@ uniform ${precision} ${type} u_${name};
88979
88980
  return CopyrightControlOptions;
88980
88981
  }(Options));
88981
88982
 
88982
- var __extends$j = (window && window.__extends) || (function () {
88983
+ var __extends$l = (window && window.__extends) || (function () {
88983
88984
  var extendStatics = function (d, b) {
88984
88985
  extendStatics = Object.setPrototypeOf ||
88985
88986
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -88998,7 +88999,7 @@ uniform ${precision} ${type} u_${name};
88998
88999
  * @private
88999
89000
  */
89000
89001
  var CopyrightControl = /** @class */ (function (_super) {
89001
- __extends$j(CopyrightControl, _super);
89002
+ __extends$l(CopyrightControl, _super);
89002
89003
  function CopyrightControl(options) {
89003
89004
  var _this = _super.call(this) || this;
89004
89005
  _this.textAttribution = function (options) {
@@ -89020,13 +89021,10 @@ uniform ${precision} ${type} u_${name};
89020
89021
  CopyrightControl.prototype.onAdd = function (map) {
89021
89022
  this.map = map;
89022
89023
  this.container = this.buildContainer(map, exports.ControlStyle.auto);
89023
- this.container.className = "map-copyright";
89024
+ this.container.className = "map-copyright without-bg";
89024
89025
  this.copyrightDiv = this.buildCopyrightDiv();
89025
89026
  this.copyrightDiv.className = "azure-map-copyright";
89026
89027
  this.container.appendChild(this.copyrightDiv);
89027
- if (this.options.showLogo) {
89028
- this.addRemoveLogo(true);
89029
- }
89030
89028
  if (this.options.showFeedbackLink) {
89031
89029
  this.addRemoveFeedbackDiv(true);
89032
89030
  }
@@ -89056,12 +89054,6 @@ uniform ${precision} ${type} u_${name};
89056
89054
  }
89057
89055
  this.options.copyrightContent = newOptions.copyrightContent;
89058
89056
  }
89059
- if (!newOptions.showLogo && this.logoAnchor) {
89060
- this.addRemoveLogo(false);
89061
- }
89062
- else if (newOptions.showLogo && !this.logoAnchor) {
89063
- this.addRemoveLogo(true);
89064
- }
89065
89057
  if (!newOptions.showFeedbackLink && this.feedbackAnchor) {
89066
89058
  this.addRemoveFeedbackDiv(false);
89067
89059
  }
@@ -89087,31 +89079,138 @@ uniform ${precision} ${type} u_${name};
89087
89079
  var link = document.createElement("a");
89088
89080
  link.setAttribute("alt", "Provide Map Data Feedback");
89089
89081
  link.setAttribute("aria-label", "Provide Map Data Feedback");
89082
+ link.innerText = "Feedback";
89090
89083
  link.href = CopyrightControl.feedbackLink;
89091
89084
  link.target = "_blank";
89092
89085
  link.rel = "noopener";
89093
- link.className = "azure-map-feedback";
89086
+ link.className = "azure-map-feedback-text";
89094
89087
  return link;
89095
89088
  };
89096
89089
  CopyrightControl.prototype.addRemoveFeedbackDiv = function (add) {
89097
89090
  var _a, _b, _c, _d;
89098
89091
  if (add) {
89099
89092
  this.feedbackAnchor = this.buildFeedbackLink();
89100
- this.tooltip = buildAccessibleTooltip("Provide Map Data Feedback");
89093
+ this.feedbackTooltip = buildAccessibleTooltip("Provide Map Data Feedback");
89101
89094
  this.container.appendChild(this.feedbackAnchor);
89102
- this.container.appendChild(this.tooltip);
89103
- positionTooltip(this.tooltip, this.feedbackAnchor);
89095
+ this.container.appendChild(this.feedbackTooltip);
89096
+ positionTooltip(this.feedbackTooltip, this.feedbackAnchor);
89104
89097
  (_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a.events) === null || _b === void 0 ? void 0 : _b.add("moveend", this.updateFeedbackLink);
89105
89098
  }
89106
89099
  else {
89107
89100
  this.feedbackAnchor.remove();
89108
- this.tooltip.remove();
89109
- delete this.tooltip;
89101
+ this.feedbackTooltip.remove();
89102
+ delete this.feedbackTooltip;
89110
89103
  delete this.feedbackAnchor;
89111
89104
  (_d = (_c = this.map) === null || _c === void 0 ? void 0 : _c.events) === null || _d === void 0 ? void 0 : _d.remove("moveend", this.updateFeedbackLink);
89112
89105
  }
89113
89106
  };
89114
- CopyrightControl.prototype.addRemoveLogo = function (add) {
89107
+ CopyrightControl.feedbackLink = "https://aka.ms/azuremaps-feedback?feedbackep=UrlAzureMapsWebSdk";
89108
+ return CopyrightControl;
89109
+ }(ControlBase));
89110
+
89111
+ var __extends$k = (window && window.__extends) || (function () {
89112
+ var extendStatics = function (d, b) {
89113
+ extendStatics = Object.setPrototypeOf ||
89114
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
89115
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
89116
+ return extendStatics(d, b);
89117
+ };
89118
+ return function (d, b) {
89119
+ if (typeof b !== "function" && b !== null)
89120
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
89121
+ extendStatics(d, b);
89122
+ function __() { this.constructor = d; }
89123
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
89124
+ };
89125
+ })();
89126
+ /**
89127
+ * The options for a LogoControl object.
89128
+ */
89129
+ var LogoControlOptions = /** @class */ (function (_super) {
89130
+ __extends$k(LogoControlOptions, _super);
89131
+ function LogoControlOptions() {
89132
+ var _this = _super !== null && _super.apply(this, arguments) || this;
89133
+ /**
89134
+ * If true will show the Microsoft logo.
89135
+ */
89136
+ _this.showLogo = true;
89137
+ return _this;
89138
+ }
89139
+ return LogoControlOptions;
89140
+ }(Options));
89141
+
89142
+ var __extends$j = (window && window.__extends) || (function () {
89143
+ var extendStatics = function (d, b) {
89144
+ extendStatics = Object.setPrototypeOf ||
89145
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
89146
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
89147
+ return extendStatics(d, b);
89148
+ };
89149
+ return function (d, b) {
89150
+ if (typeof b !== "function" && b !== null)
89151
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
89152
+ extendStatics(d, b);
89153
+ function __() { this.constructor = d; }
89154
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
89155
+ };
89156
+ })();
89157
+ /**
89158
+ * A control that displays the logo on the map.
89159
+ * @private
89160
+ */
89161
+ var LogoControl = /** @class */ (function (_super) {
89162
+ __extends$j(LogoControl, _super);
89163
+ /**
89164
+ * Construct a control
89165
+ */
89166
+ function LogoControl(options) {
89167
+ var _this = _super.call(this) || this;
89168
+ _this.map = null;
89169
+ /**
89170
+ * Set visibility of the control based on the container width.
89171
+ */
89172
+ _this._onResize = function () {
89173
+ var _a, _b;
89174
+ var width = ((_b = (_a = _this.map) === null || _a === void 0 ? void 0 : _a.getMapContainer()) === null || _b === void 0 ? void 0 : _b.clientWidth) || 0;
89175
+ _this._setVisiblity(_this.options.showLogo && width >= LogoControl.CONTAINER_MIN_WIDTH);
89176
+ };
89177
+ _this.options = new LogoControlOptions().merge(options);
89178
+ return _this;
89179
+ }
89180
+ /**
89181
+ * Initialization method for the control which is called when added to the map.
89182
+ * @param map The map that the control will be added to.
89183
+ * @param options The ControlOptions for this control.
89184
+ * @return An HTMLElement to be placed on the map for the control.
89185
+ */
89186
+ LogoControl.prototype.onAdd = function (map) {
89187
+ var _a;
89188
+ this.map = map;
89189
+ this.container = this.buildContainer(map, exports.ControlStyle.auto);
89190
+ this.container.className = "map-logo-control";
89191
+ (_a = this.map) === null || _a === void 0 ? void 0 : _a.events.add("resize", this._onResize);
89192
+ this._addRemoveLogo(this.options.showLogo);
89193
+ return this.container;
89194
+ };
89195
+ LogoControl.prototype.onRemove = function () {
89196
+ var _a;
89197
+ _super.prototype.onRemove.call(this);
89198
+ (_a = this.map) === null || _a === void 0 ? void 0 : _a.events.remove("resize", this._onResize);
89199
+ this.map = null;
89200
+ delete this.container;
89201
+ };
89202
+ LogoControl.prototype.setOptions = function (options) {
89203
+ var newOptions = new LogoControlOptions().merge(this.options, options);
89204
+ if (!newOptions.showLogo && this.logoAnchor) {
89205
+ this._addRemoveLogo(false);
89206
+ }
89207
+ else if (newOptions.showLogo && !this.logoAnchor) {
89208
+ this._addRemoveLogo(true);
89209
+ }
89210
+ this.options = newOptions;
89211
+ };
89212
+ LogoControl.prototype._addRemoveLogo = function (add) {
89213
+ var _a, _b;
89115
89214
  if (add) {
89116
89215
  this.logoAnchor = document.createElement("a");
89117
89216
  this.logoAnchor.className = "azure-map-logo";
@@ -89122,15 +89221,25 @@ uniform ${precision} ${type} u_${name};
89122
89221
  this.logoTooltip = buildAccessibleTooltip("Visit azure.microsoft.com");
89123
89222
  this.container.appendChild(this.logoTooltip);
89124
89223
  positionTooltip(this.logoTooltip, this.logoAnchor);
89224
+ this._setVisiblity(true);
89125
89225
  }
89126
89226
  else {
89127
- this.logoAnchor.remove();
89128
- this.logoTooltip.remove();
89227
+ (_a = this.logoAnchor) === null || _a === void 0 ? void 0 : _a.remove();
89228
+ (_b = this.logoTooltip) === null || _b === void 0 ? void 0 : _b.remove();
89129
89229
  delete this.logoAnchor;
89230
+ this._setVisiblity(false);
89130
89231
  }
89131
89232
  };
89132
- CopyrightControl.feedbackLink = "https://aka.ms/azuremapsdatafeedback?feedbackep=UrlAzureMapsWebSdk";
89133
- return CopyrightControl;
89233
+ /**
89234
+ * Set visibility of the control.
89235
+ */
89236
+ LogoControl.prototype._setVisiblity = function (visible) {
89237
+ if (this.container) {
89238
+ this.container.style.display = visible ? "flex" : "none";
89239
+ }
89240
+ };
89241
+ LogoControl.CONTAINER_MIN_WIDTH = 480; // The minimum width of the container to show the logo, 5 copyright texts, and the feedback link.
89242
+ return LogoControl;
89134
89243
  }(ControlBase));
89135
89244
 
89136
89245
  /**
@@ -114425,6 +114534,17 @@ uniform ${precision} ${type} u_${name};
114425
114534
  _this.layers = mbLayers;
114426
114535
  return _this;
114427
114536
  }
114537
+ /**
114538
+ * Gets the options of the layer.
114539
+ */
114540
+ FundamentalMapLayer.prototype.getOptions = function () {
114541
+ return {};
114542
+ };
114543
+ /**
114544
+ * Sets the options of the layer.
114545
+ * @param options The new options of the layer.
114546
+ */
114547
+ FundamentalMapLayer.prototype.setOptions = function (options) { return; };
114428
114548
  /**
114429
114549
  * @internal
114430
114550
  */
@@ -117286,7 +117406,7 @@ uniform ${precision} ${type} u_${name};
117286
117406
  if (!_this.indoorState) {
117287
117407
  return !style.name.includes('indoor');
117288
117408
  // NOTE: azure-maps-indoor prior to 2.0.7 will not pass theme auto
117289
- // the IndoorModule will request getTheme() from StyleManager and will call StyleManager.setStyleSet(theme == 'dark ? 'indoor_dark' : 'indoor') as approperaite
117409
+ // the IndoorModule will request getTheme() from StyleManager and will call StyleManager.setStyleSet(theme == 'dark ? 'indoor_dark' : 'indoor') as approperaite
117290
117410
  }
117291
117411
  else if (_this.indoorState.theme === 'auto') {
117292
117412
  return style.name.endsWith(style.theme === 'dark' ? '_indoor_dark' : '_indoor');
@@ -117311,7 +117431,7 @@ uniform ${precision} ${type} u_${name};
117311
117431
  styleVersion: definitions.version !== undefined && definitions.version !== null
117312
117432
  ? definitions.version
117313
117433
  : _this.serviceOptions.styleDefinitionsVersion,
117314
- // thus far we don't need to differentiate based on parameter here, as stylePatch will be called on cached styles as well
117434
+ // thus far we don't need to differentiate based on parameter here, as stylePatch will be called on cached styles as well
117315
117435
  //language: styleOptions.language
117316
117436
  // add MapControlVersion to make sure we have different local cache between map control versions
117317
117437
  mcv: version$3.replace(/\./g, '')
@@ -117428,7 +117548,14 @@ uniform ${precision} ${type} u_${name};
117428
117548
  }
117429
117549
  if (layer) {
117430
117550
  var sourcesToCopy = new Set(Array.from(userLayer.layer._getSourceIds())
117431
- .map(function (sourceId) { return previousStyle.sources[sourceId] ? { source: previousStyle.sources[sourceId], id: sourceId } : undefined; })
117551
+ .map(function (sourceId) {
117552
+ // If source is already present in the target style, skip copy
117553
+ if (style.sources[sourceId]) {
117554
+ return undefined;
117555
+ }
117556
+ var source = previousStyle.sources[sourceId];
117557
+ return source ? { source: source, id: sourceId } : undefined;
117558
+ })
117432
117559
  .filter(function (source) { return source !== undefined; }));
117433
117560
  var insertIdx = beforeLayerId ? style.layers.findIndex(function (layer) { return layer.id === beforeLayerId; }) : -1;
117434
117561
  if (insertIdx > -1) {
@@ -117464,7 +117591,7 @@ uniform ${precision} ${type} u_${name};
117464
117591
  // FIXME: below diffing will be soon fixed on the maplibre side
117465
117592
  // If there was a previous styledata change event attached, remove it.
117466
117593
  // When the sprite url changes between style changes then maplibre can't perform the diff
117467
- // In such cases it recalculate the style again. Removing previous attached
117594
+ // In such cases it recalculate the style again. Removing previous attached
117468
117595
  // event listener makes sure that style changed event is not fired twice in these cases.
117469
117596
  _this.map.events.remove("styledata", styleDataCallback);
117470
117597
  _this.map.events.addOnce("styledata", styleDataCallback);
@@ -118039,6 +118166,13 @@ uniform ${precision} ${type} u_${name};
118039
118166
  _this.controls.add(_this.copyrightControl, {
118040
118167
  position: exports.ControlPosition.NonFixed
118041
118168
  });
118169
+ // Add logo control to occupy the bottom left corner of the map.
118170
+ _this.logoControl = new LogoControl({
118171
+ showLogo: _this.styleOptions.showLogo
118172
+ });
118173
+ _this.controls.add(_this.logoControl, {
118174
+ position: exports.ControlPosition.BottomLeft
118175
+ });
118042
118176
  // Initialize state of map
118043
118177
  // --> Initialize the authentication manager
118044
118178
  var authManInit = _this.authentication ?
@@ -118364,6 +118498,7 @@ uniform ${precision} ${type} u_${name};
118364
118498
  // Add or remove the logo if needed.
118365
118499
  if (newOptions.showLogo !== this.styleOptions.showLogo) {
118366
118500
  this.copyrightControl.setOptions({ showLogo: newOptions.showLogo });
118501
+ this.logoControl.setOptions({ showLogo: newOptions.showLogo });
118367
118502
  }
118368
118503
  // Update showing tile boundaries if needed.
118369
118504
  if (newOptions.showTileBoundaries !== this.styleOptions.showTileBoundaries) {