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-esm.js CHANGED
@@ -51649,7 +51649,7 @@ var Options = /** @class */ (function () {
51649
51649
  return Options;
51650
51650
  }());
51651
51651
 
51652
- var __extends$1j = (window && window.__extends) || (function () {
51652
+ var __extends$1l = (window && window.__extends) || (function () {
51653
51653
  var extendStatics = function (d, b) {
51654
51654
  extendStatics = Object.setPrototypeOf ||
51655
51655
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -51684,7 +51684,7 @@ var __read$h = (window && window.__read) || function (o, n) {
51684
51684
  * @private
51685
51685
  */
51686
51686
  var UrlOptions = /** @class */ (function (_super) {
51687
- __extends$1j(UrlOptions, _super);
51687
+ __extends$1l(UrlOptions, _super);
51688
51688
  function UrlOptions() {
51689
51689
  var _this = _super !== null && _super.apply(this, arguments) || this;
51690
51690
  _this.domain = undefined;
@@ -52211,7 +52211,7 @@ var UserAgent = /** @class */ (function () {
52211
52211
  return UserAgent;
52212
52212
  }());
52213
52213
 
52214
- var version$3 = "3.2.1";
52214
+ var version$3 = "3.3.0";
52215
52215
 
52216
52216
  /**
52217
52217
  * A helper class that provides methods for getting various forms of the map controls current version.
@@ -52243,7 +52243,7 @@ var Version$1 = /** @class */ (function () {
52243
52243
  return Version;
52244
52244
  }());
52245
52245
 
52246
- var __extends$1i = (window && window.__extends) || (function () {
52246
+ var __extends$1k = (window && window.__extends) || (function () {
52247
52247
  var extendStatics = function (d, b) {
52248
52248
  extendStatics = Object.setPrototypeOf ||
52249
52249
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -52317,7 +52317,7 @@ var AuthenticationType;
52317
52317
  * Options for specifying how the map control should authenticate with the Azure Maps services.
52318
52318
  */
52319
52319
  var AuthenticationOptions = /** @class */ (function (_super) {
52320
- __extends$1i(AuthenticationOptions, _super);
52320
+ __extends$1k(AuthenticationOptions, _super);
52321
52321
  function AuthenticationOptions() {
52322
52322
  var _this = _super !== null && _super.apply(this, arguments) || this;
52323
52323
  /**
@@ -53167,7 +53167,7 @@ var positionTooltip = function (tooltip, eventTarget, forceAbsolute) {
53167
53167
  eventTarget.addEventListener("keydown", dismissTooltip);
53168
53168
  };
53169
53169
 
53170
- var __extends$1h = (window && window.__extends) || (function () {
53170
+ var __extends$1j = (window && window.__extends) || (function () {
53171
53171
  var extendStatics = function (d, b) {
53172
53172
  extendStatics = Object.setPrototypeOf ||
53173
53173
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53217,7 +53217,7 @@ var ControlPosition;
53217
53217
  * The options for adding a control to the map.
53218
53218
  */
53219
53219
  var ControlOptions = /** @class */ (function (_super) {
53220
- __extends$1h(ControlOptions, _super);
53220
+ __extends$1j(ControlOptions, _super);
53221
53221
  function ControlOptions() {
53222
53222
  var _this = _super !== null && _super.apply(this, arguments) || this;
53223
53223
  /**
@@ -53361,7 +53361,7 @@ var index$5 = /*#__PURE__*/Object.freeze({
53361
53361
  EventEmitter: EventEmitter
53362
53362
  });
53363
53363
 
53364
- var __extends$1g = (window && window.__extends) || (function () {
53364
+ var __extends$1i = (window && window.__extends) || (function () {
53365
53365
  var extendStatics = function (d, b) {
53366
53366
  extendStatics = Object.setPrototypeOf ||
53367
53367
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53381,7 +53381,7 @@ var __extends$1g = (window && window.__extends) || (function () {
53381
53381
  * Implements control interface and provides support for automatic styling based on the map style.
53382
53382
  */
53383
53383
  var ControlBase = /** @class */ (function (_super) {
53384
- __extends$1g(ControlBase, _super);
53384
+ __extends$1i(ControlBase, _super);
53385
53385
  function ControlBase() {
53386
53386
  var _this = _super !== null && _super.apply(this, arguments) || this;
53387
53387
  /**
@@ -53483,7 +53483,7 @@ var ControlBase = /** @class */ (function (_super) {
53483
53483
  return ControlBase;
53484
53484
  }(EventEmitter));
53485
53485
 
53486
- var __extends$1f = (window && window.__extends) || (function () {
53486
+ var __extends$1h = (window && window.__extends) || (function () {
53487
53487
  var extendStatics = function (d, b) {
53488
53488
  extendStatics = Object.setPrototypeOf ||
53489
53489
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53502,7 +53502,7 @@ var __extends$1f = (window && window.__extends) || (function () {
53502
53502
  * The options for a CompassControl object.
53503
53503
  */
53504
53504
  var CompassControlOptions = /** @class */ (function (_super) {
53505
- __extends$1f(CompassControlOptions, _super);
53505
+ __extends$1h(CompassControlOptions, _super);
53506
53506
  function CompassControlOptions() {
53507
53507
  var _this = _super !== null && _super.apply(this, arguments) || this;
53508
53508
  /**
@@ -53527,7 +53527,7 @@ var CompassControlOptions = /** @class */ (function (_super) {
53527
53527
  return CompassControlOptions;
53528
53528
  }(Options));
53529
53529
 
53530
- var __extends$1e = (window && window.__extends) || (function () {
53530
+ var __extends$1g = (window && window.__extends) || (function () {
53531
53531
  var extendStatics = function (d, b) {
53532
53532
  extendStatics = Object.setPrototypeOf ||
53533
53533
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53546,7 +53546,7 @@ var __extends$1e = (window && window.__extends) || (function () {
53546
53546
  * A control for changing the rotation of the map.
53547
53547
  */
53548
53548
  var CompassControl = /** @class */ (function (_super) {
53549
- __extends$1e(CompassControl, _super);
53549
+ __extends$1g(CompassControl, _super);
53550
53550
  /**
53551
53551
  * Constructs a CompassControl.
53552
53552
  * @param options The options for the control.
@@ -53731,7 +53731,7 @@ var CompassControl = /** @class */ (function (_super) {
53731
53731
  return CompassControl;
53732
53732
  }(ControlBase));
53733
53733
 
53734
- var __extends$1d = (window && window.__extends) || (function () {
53734
+ var __extends$1f = (window && window.__extends) || (function () {
53735
53735
  var extendStatics = function (d, b) {
53736
53736
  extendStatics = Object.setPrototypeOf ||
53737
53737
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53750,7 +53750,7 @@ var __extends$1d = (window && window.__extends) || (function () {
53750
53750
  * The options for a PitchControl object.
53751
53751
  */
53752
53752
  var PitchControlOptions = /** @class */ (function (_super) {
53753
- __extends$1d(PitchControlOptions, _super);
53753
+ __extends$1f(PitchControlOptions, _super);
53754
53754
  function PitchControlOptions() {
53755
53755
  var _this = _super !== null && _super.apply(this, arguments) || this;
53756
53756
  /**
@@ -53775,7 +53775,7 @@ var PitchControlOptions = /** @class */ (function (_super) {
53775
53775
  return PitchControlOptions;
53776
53776
  }(Options));
53777
53777
 
53778
- var __extends$1c = (window && window.__extends) || (function () {
53778
+ var __extends$1e = (window && window.__extends) || (function () {
53779
53779
  var extendStatics = function (d, b) {
53780
53780
  extendStatics = Object.setPrototypeOf ||
53781
53781
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53794,7 +53794,7 @@ var __extends$1c = (window && window.__extends) || (function () {
53794
53794
  * A control for changing the pitch of the map.
53795
53795
  */
53796
53796
  var PitchControl = /** @class */ (function (_super) {
53797
- __extends$1c(PitchControl, _super);
53797
+ __extends$1e(PitchControl, _super);
53798
53798
  /**
53799
53799
  * Constructs a PitchControl.
53800
53800
  * @param options The options for the control.
@@ -54022,7 +54022,7 @@ var PitchControl = /** @class */ (function (_super) {
54022
54022
  return PitchControl;
54023
54023
  }(ControlBase));
54024
54024
 
54025
- var __extends$1b = (window && window.__extends) || (function () {
54025
+ var __extends$1d = (window && window.__extends) || (function () {
54026
54026
  var extendStatics = function (d, b) {
54027
54027
  extendStatics = Object.setPrototypeOf ||
54028
54028
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -54041,7 +54041,7 @@ var __extends$1b = (window && window.__extends) || (function () {
54041
54041
  * A control to display a scale bar on the map.
54042
54042
  */
54043
54043
  var ScaleControl = /** @class */ (function (_super) {
54044
- __extends$1b(ScaleControl, _super);
54044
+ __extends$1d(ScaleControl, _super);
54045
54045
  /**
54046
54046
  * A control to displays a scale bar relative to the pixel resolution at the center of the map.
54047
54047
  * @param options Options for defining how the control is rendered and functions.
@@ -57559,7 +57559,7 @@ var merge_1 = merge;
57559
57559
 
57560
57560
  var merge$1 = /*@__PURE__*/getDefaultExportFromCjs(merge_1);
57561
57561
 
57562
- var __extends$1a = (window && window.__extends) || (function () {
57562
+ var __extends$1c = (window && window.__extends) || (function () {
57563
57563
  var extendStatics = function (d, b) {
57564
57564
  extendStatics = Object.setPrototypeOf ||
57565
57565
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -57578,7 +57578,7 @@ var __extends$1a = (window && window.__extends) || (function () {
57578
57578
  * The options for a StyleControl object.
57579
57579
  */
57580
57580
  var StyleControlOptions = /** @class */ (function (_super) {
57581
- __extends$1a(StyleControlOptions, _super);
57581
+ __extends$1c(StyleControlOptions, _super);
57582
57582
  function StyleControlOptions() {
57583
57583
  var _this = _super !== null && _super.apply(this, arguments) || this;
57584
57584
  /**
@@ -57623,7 +57623,7 @@ var StyleControlOptions = /** @class */ (function (_super) {
57623
57623
  return StyleControlOptions;
57624
57624
  }(Options));
57625
57625
 
57626
- var __extends$19 = (window && window.__extends) || (function () {
57626
+ var __extends$1b = (window && window.__extends) || (function () {
57627
57627
  var extendStatics = function (d, b) {
57628
57628
  extendStatics = Object.setPrototypeOf ||
57629
57629
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -57694,7 +57694,7 @@ var __read$f = (window && window.__read) || function (o, n) {
57694
57694
  * A control for changing the style of the map.
57695
57695
  */
57696
57696
  var StyleControl = /** @class */ (function (_super) {
57697
- __extends$19(StyleControl, _super);
57697
+ __extends$1b(StyleControl, _super);
57698
57698
  /**
57699
57699
  * Constructs a StyleControl.
57700
57700
  * @param options The options for the control.
@@ -58059,7 +58059,7 @@ var StyleControl = /** @class */ (function (_super) {
58059
58059
  return StyleControl;
58060
58060
  }(ControlBase));
58061
58061
 
58062
- var __extends$18 = (window && window.__extends) || (function () {
58062
+ var __extends$1a = (window && window.__extends) || (function () {
58063
58063
  var extendStatics = function (d, b) {
58064
58064
  extendStatics = Object.setPrototypeOf ||
58065
58065
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -58078,7 +58078,7 @@ var __extends$18 = (window && window.__extends) || (function () {
58078
58078
  * The options for setting traffic on the map.
58079
58079
  */
58080
58080
  var TrafficOptions = /** @class */ (function (_super) {
58081
- __extends$18(TrafficOptions, _super);
58081
+ __extends$1a(TrafficOptions, _super);
58082
58082
  function TrafficOptions() {
58083
58083
  var _this = _super !== null && _super.apply(this, arguments) || this;
58084
58084
  /**
@@ -58103,7 +58103,7 @@ var TrafficOptions = /** @class */ (function (_super) {
58103
58103
  return TrafficOptions;
58104
58104
  }(Options));
58105
58105
 
58106
- var __extends$17 = (window && window.__extends) || (function () {
58106
+ var __extends$19 = (window && window.__extends) || (function () {
58107
58107
  var extendStatics = function (d, b) {
58108
58108
  extendStatics = Object.setPrototypeOf ||
58109
58109
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -58122,7 +58122,7 @@ var __extends$17 = (window && window.__extends) || (function () {
58122
58122
  * The options for a TrafficControl object.
58123
58123
  */
58124
58124
  var TrafficControlOptions = /** @class */ (function (_super) {
58125
- __extends$17(TrafficControlOptions, _super);
58125
+ __extends$19(TrafficControlOptions, _super);
58126
58126
  function TrafficControlOptions() {
58127
58127
  var _this = _super !== null && _super.apply(this, arguments) || this;
58128
58128
  /**
@@ -58142,7 +58142,7 @@ var TrafficControlOptions = /** @class */ (function (_super) {
58142
58142
  return TrafficControlOptions;
58143
58143
  }(TrafficOptions));
58144
58144
 
58145
- var __extends$16 = (window && window.__extends) || (function () {
58145
+ var __extends$18 = (window && window.__extends) || (function () {
58146
58146
  var extendStatics = function (d, b) {
58147
58147
  extendStatics = Object.setPrototypeOf ||
58148
58148
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -58161,7 +58161,7 @@ var __extends$16 = (window && window.__extends) || (function () {
58161
58161
  * A control that toggles traffic data on the map.
58162
58162
  */
58163
58163
  var TrafficControl = /** @class */ (function (_super) {
58164
- __extends$16(TrafficControl, _super);
58164
+ __extends$18(TrafficControl, _super);
58165
58165
  /**
58166
58166
  * Constructs a TrafficControl
58167
58167
  * @param options The options for the control.
@@ -58288,7 +58288,7 @@ var TrafficControl = /** @class */ (function (_super) {
58288
58288
  return TrafficControl;
58289
58289
  }(ControlBase));
58290
58290
 
58291
- var __extends$15 = (window && window.__extends) || (function () {
58291
+ var __extends$17 = (window && window.__extends) || (function () {
58292
58292
  var extendStatics = function (d, b) {
58293
58293
  extendStatics = Object.setPrototypeOf ||
58294
58294
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -58318,7 +58318,7 @@ var __values$j = (window && window.__values) || function(o) {
58318
58318
  * A control that display traffic legend on the map.
58319
58319
  */
58320
58320
  var TrafficLegendControl = /** @class */ (function (_super) {
58321
- __extends$15(TrafficLegendControl, _super);
58321
+ __extends$17(TrafficLegendControl, _super);
58322
58322
  /**
58323
58323
  * Construct a traffic legend control
58324
58324
  */
@@ -59052,7 +59052,7 @@ var Feature = /** @class */ (function () {
59052
59052
  return Feature;
59053
59053
  }());
59054
59054
 
59055
- var __extends$14 = (window && window.__extends) || (function () {
59055
+ var __extends$16 = (window && window.__extends) || (function () {
59056
59056
  var extendStatics = function (d, b) {
59057
59057
  extendStatics = Object.setPrototypeOf ||
59058
59058
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -59071,7 +59071,7 @@ var __extends$14 = (window && window.__extends) || (function () {
59071
59071
  * Represent a pixel coordinate or offset. Extends an array of [x, y].
59072
59072
  */
59073
59073
  var Pixel = /** @class */ (function (_super) {
59074
- __extends$14(Pixel, _super);
59074
+ __extends$16(Pixel, _super);
59075
59075
  /**
59076
59076
  * Constructs a Pixel object and initializes it with the specified x and y coordinates.
59077
59077
  * @param x The horizontal pixel offset.
@@ -61291,7 +61291,7 @@ function getClosestPointOnGeometry(pt, geom, units, decimals) {
61291
61291
  return result;
61292
61292
  }
61293
61293
 
61294
- var __extends$13 = (window && window.__extends) || (function () {
61294
+ var __extends$15 = (window && window.__extends) || (function () {
61295
61295
  var extendStatics = function (d, b) {
61296
61296
  extendStatics = Object.setPrototypeOf ||
61297
61297
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -61311,7 +61311,7 @@ var __extends$13 = (window && window.__extends) || (function () {
61311
61311
  * full description is detailed in [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-3.1.1}.
61312
61312
  */
61313
61313
  var Position = /** @class */ (function (_super) {
61314
- __extends$13(Position, _super);
61314
+ __extends$15(Position, _super);
61315
61315
  /**
61316
61316
  * Constructs a Position.
61317
61317
  * @param longitude The position's longitude.
@@ -61374,10 +61374,10 @@ var Position = /** @class */ (function (_super) {
61374
61374
  Position.fromLatLng = function (y, x, z) {
61375
61375
  var position = [];
61376
61376
  if (typeof y === "number") {
61377
- position.push(y);
61378
61377
  if (typeof x === "number") {
61379
61378
  position.push(x);
61380
61379
  }
61380
+ position.push(y);
61381
61381
  if (typeof z === "number") {
61382
61382
  position.push(z);
61383
61383
  }
@@ -61386,10 +61386,10 @@ var Position = /** @class */ (function (_super) {
61386
61386
  // Assume array is in the form [lat, lng] or [lat, lng, elv]
61387
61387
  if (y.length >= 2 && typeof y[0] === "number" && typeof y[1] === "number") {
61388
61388
  if (y.length >= 3 && typeof y[2] === "number") {
61389
- position.push(y[0], y[1], y[2]);
61389
+ position.push(y[1], y[0], y[2]);
61390
61390
  }
61391
61391
  else {
61392
- position.push(y[0], y[1]);
61392
+ position.push(y[1], y[0]);
61393
61393
  }
61394
61394
  }
61395
61395
  }
@@ -61503,7 +61503,7 @@ var Polygon = /** @class */ (function () {
61503
61503
  return Polygon;
61504
61504
  }());
61505
61505
 
61506
- var __extends$12 = (window && window.__extends) || (function () {
61506
+ var __extends$14 = (window && window.__extends) || (function () {
61507
61507
  var extendStatics = function (d, b) {
61508
61508
  extendStatics = Object.setPrototypeOf ||
61509
61509
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -61533,7 +61533,7 @@ var __values$h = (window && window.__values) || function(o) {
61533
61533
  * A helper class that wraps a Geometry or Feature and makes it easy to update and maintain.
61534
61534
  */
61535
61535
  var Shape = /** @class */ (function (_super) {
61536
- __extends$12(Shape, _super);
61536
+ __extends$14(Shape, _super);
61537
61537
  function Shape(data, id, properties) {
61538
61538
  var _this = _super.call(this) || this;
61539
61539
  var geometry;
@@ -61829,7 +61829,7 @@ var Shape = /** @class */ (function (_super) {
61829
61829
  return Shape;
61830
61830
  }(EventEmitter));
61831
61831
 
61832
- var __extends$11 = (window && window.__extends) || (function () {
61832
+ var __extends$13 = (window && window.__extends) || (function () {
61833
61833
  var extendStatics = function (d, b) {
61834
61834
  extendStatics = Object.setPrototypeOf ||
61835
61835
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -61862,7 +61862,7 @@ var __values$g = (window && window.__values) || function(o) {
61862
61862
  * [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-5}.
61863
61863
  */
61864
61864
  var BoundingBox = /** @class */ (function (_super) {
61865
- __extends$11(BoundingBox, _super);
61865
+ __extends$13(BoundingBox, _super);
61866
61866
  function BoundingBox(southwestPositionOrPositions, northeastPosition) {
61867
61867
  var _this = this;
61868
61868
  if (southwestPositionOrPositions && northeastPosition) {
@@ -62579,7 +62579,7 @@ var MultiPolygon = /** @class */ (function () {
62579
62579
  return MultiPolygon;
62580
62580
  }());
62581
62581
 
62582
- var __extends$10 = (window && window.__extends) || (function () {
62582
+ var __extends$12 = (window && window.__extends) || (function () {
62583
62583
  var extendStatics = function (d, b) {
62584
62584
  extendStatics = Object.setPrototypeOf ||
62585
62585
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -62610,7 +62610,7 @@ var __extends$10 = (window && window.__extends) || (function () {
62610
62610
  * The `z` dimension of `MercatorPoint` is conformal. A cube in the mercator coordinate space would be rendered as a cube.
62611
62611
  */
62612
62612
  var MercatorPoint = /** @class */ (function (_super) {
62613
- __extends$10(MercatorPoint, _super);
62613
+ __extends$12(MercatorPoint, _super);
62614
62614
  /**
62615
62615
  * Constructs a MercatorPoint.
62616
62616
  * @param x A points x position in mercator units.
@@ -63099,7 +63099,7 @@ var index$3 = /*#__PURE__*/Object.freeze({
63099
63099
  simplify: simplify
63100
63100
  });
63101
63101
 
63102
- var __extends$$ = (window && window.__extends) || (function () {
63102
+ var __extends$11 = (window && window.__extends) || (function () {
63103
63103
  var extendStatics = function (d, b) {
63104
63104
  extendStatics = Object.setPrototypeOf ||
63105
63105
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -63118,7 +63118,7 @@ var __extends$$ = (window && window.__extends) || (function () {
63118
63118
  * The options for a ZoomControl object.
63119
63119
  */
63120
63120
  var ZoomControlOptions = /** @class */ (function (_super) {
63121
- __extends$$(ZoomControlOptions, _super);
63121
+ __extends$11(ZoomControlOptions, _super);
63122
63122
  function ZoomControlOptions() {
63123
63123
  var _this = _super !== null && _super.apply(this, arguments) || this;
63124
63124
  /**
@@ -63138,7 +63138,7 @@ var ZoomControlOptions = /** @class */ (function (_super) {
63138
63138
  return ZoomControlOptions;
63139
63139
  }(Options));
63140
63140
 
63141
- var __extends$_ = (window && window.__extends) || (function () {
63141
+ var __extends$10 = (window && window.__extends) || (function () {
63142
63142
  var extendStatics = function (d, b) {
63143
63143
  extendStatics = Object.setPrototypeOf ||
63144
63144
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -63157,7 +63157,7 @@ var __extends$_ = (window && window.__extends) || (function () {
63157
63157
  * A control for changing the zoom of the map.
63158
63158
  */
63159
63159
  var ZoomControl = /** @class */ (function (_super) {
63160
- __extends$_(ZoomControl, _super);
63160
+ __extends$10(ZoomControl, _super);
63161
63161
  /**
63162
63162
  * Constructs a ZoomControl.
63163
63163
  * @param options The options for the control.
@@ -63392,7 +63392,7 @@ var AccessibleIndicator = /** @class */ (function () {
63392
63392
  return AccessibleIndicator;
63393
63393
  }());
63394
63394
 
63395
- var __extends$Z = (window && window.__extends) || (function () {
63395
+ var __extends$$ = (window && window.__extends) || (function () {
63396
63396
  var extendStatics = function (d, b) {
63397
63397
  extendStatics = Object.setPrototypeOf ||
63398
63398
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -63414,7 +63414,7 @@ var __extends$Z = (window && window.__extends) || (function () {
63414
63414
  * @module Object Definitions
63415
63415
  */
63416
63416
  var DataSourceOptions = /** @class */ (function (_super) {
63417
- __extends$Z(DataSourceOptions, _super);
63417
+ __extends$$(DataSourceOptions, _super);
63418
63418
  function DataSourceOptions() {
63419
63419
  var _this = _super !== null && _super.apply(this, arguments) || this;
63420
63420
  /*
@@ -63474,7 +63474,8 @@ var DataSourceOptions = /** @class */ (function (_super) {
63474
63474
  */
63475
63475
  _this.generateId = false;
63476
63476
  /**
63477
- * A property to use as a feature id (for feature state). Either a property name, or an object of the form {<sourceLayer>: <propertyName>}.
63477
+ * A specified property name to be used as a feature ID (for feature state).
63478
+ * This can either be a property name or an object in the form `{<sourceLayer>: <propertyName>}`.
63478
63479
  */
63479
63480
  _this.promoteId = undefined;
63480
63481
  /**
@@ -63486,7 +63487,7 @@ var DataSourceOptions = /** @class */ (function (_super) {
63486
63487
  return DataSourceOptions;
63487
63488
  }(Options));
63488
63489
 
63489
- var __extends$Y = (window && window.__extends) || (function () {
63490
+ var __extends$_ = (window && window.__extends) || (function () {
63490
63491
  var extendStatics = function (d, b) {
63491
63492
  extendStatics = Object.setPrototypeOf ||
63492
63493
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -63506,7 +63507,7 @@ var __extends$Y = (window && window.__extends) || (function () {
63506
63507
  * A source must be added to a layer before it is visible on the map.
63507
63508
  */
63508
63509
  var Source = /** @class */ (function (_super) {
63509
- __extends$Y(Source, _super);
63510
+ __extends$_(Source, _super);
63510
63511
  function Source(id) {
63511
63512
  var _this = _super.call(this) || this;
63512
63513
  _this.id = id || uuid();
@@ -63545,7 +63546,7 @@ var Source = /** @class */ (function (_super) {
63545
63546
  return Source;
63546
63547
  }(EventEmitter));
63547
63548
 
63548
- var __extends$X = (window && window.__extends) || (function () {
63549
+ var __extends$Z = (window && window.__extends) || (function () {
63549
63550
  var extendStatics = function (d, b) {
63550
63551
  extendStatics = Object.setPrototypeOf ||
63551
63552
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -63577,7 +63578,7 @@ var __values$e = (window && window.__values) || function(o) {
63577
63578
  * The DataSource class may be used with the SymbolLayer, LineLayer, PolygonLayer, BubbleLayer, and HeatMapLayer.
63578
63579
  */
63579
63580
  var DataSource = /** @class */ (function (_super) {
63580
- __extends$X(DataSource, _super);
63581
+ __extends$Z(DataSource, _super);
63581
63582
  /**
63582
63583
  * A data source class that makes it easy to manage shapes data that will be displayed on the map.
63583
63584
  * A data source must be added to a layer before it is visible on the map.
@@ -64032,7 +64033,7 @@ var DataSource = /** @class */ (function (_super) {
64032
64033
  return DataSource;
64033
64034
  }(Source));
64034
64035
 
64035
- var __extends$W = (window && window.__extends) || (function () {
64036
+ var __extends$Y = (window && window.__extends) || (function () {
64036
64037
  var extendStatics = function (d, b) {
64037
64038
  extendStatics = Object.setPrototypeOf ||
64038
64039
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64054,7 +64055,7 @@ var __extends$W = (window && window.__extends) || (function () {
64054
64055
  * @module Object Definitions
64055
64056
  */
64056
64057
  var VectorTileSourceOptions = /** @class */ (function (_super) {
64057
- __extends$W(VectorTileSourceOptions, _super);
64058
+ __extends$Y(VectorTileSourceOptions, _super);
64058
64059
  function VectorTileSourceOptions() {
64059
64060
  /*
64060
64061
  * TODO:
@@ -64107,7 +64108,7 @@ var VectorTileSourceOptions = /** @class */ (function (_super) {
64107
64108
  return VectorTileSourceOptions;
64108
64109
  }(Options));
64109
64110
 
64110
- var __extends$V = (window && window.__extends) || (function () {
64111
+ var __extends$X = (window && window.__extends) || (function () {
64111
64112
  var extendStatics = function (d, b) {
64112
64113
  extendStatics = Object.setPrototypeOf ||
64113
64114
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64127,7 +64128,7 @@ var __extends$V = (window && window.__extends) || (function () {
64127
64128
  * Vector tile sources can be used with; SymbolLayer, LineLayer, PolygonLayer, BubbleLayer, HeatmapLayer and VectorTileLayer.
64128
64129
  */
64129
64130
  var VectorTileSource = /** @class */ (function (_super) {
64130
- __extends$V(VectorTileSource, _super);
64131
+ __extends$X(VectorTileSource, _super);
64131
64132
  function VectorTileSource(id, options) {
64132
64133
  var _this = _super.call(this, id) || this;
64133
64134
  _this.options = new VectorTileSourceOptions().merge(cloneDeep$1(options));
@@ -64193,7 +64194,7 @@ var VectorTileSource = /** @class */ (function (_super) {
64193
64194
  return VectorTileSource;
64194
64195
  }(Source));
64195
64196
 
64196
- var __extends$U = (window && window.__extends) || (function () {
64197
+ var __extends$W = (window && window.__extends) || (function () {
64197
64198
  var extendStatics = function (d, b) {
64198
64199
  extendStatics = Object.setPrototypeOf ||
64199
64200
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64214,7 +64215,7 @@ var __extends$U = (window && window.__extends) || (function () {
64214
64215
  * @private
64215
64216
  */
64216
64217
  var CanvasSource = /** @class */ (function (_super) {
64217
- __extends$U(CanvasSource, _super);
64218
+ __extends$W(CanvasSource, _super);
64218
64219
  /**
64219
64220
  * Constructs a source from the contents of a layer resource file.
64220
64221
  * @param id The source's id.
@@ -64249,7 +64250,7 @@ var CanvasSource = /** @class */ (function (_super) {
64249
64250
  return CanvasSource;
64250
64251
  }(Source));
64251
64252
 
64252
- var __extends$T = (window && window.__extends) || (function () {
64253
+ var __extends$V = (window && window.__extends) || (function () {
64253
64254
  var extendStatics = function (d, b) {
64254
64255
  extendStatics = Object.setPrototypeOf ||
64255
64256
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64270,7 +64271,7 @@ var __extends$T = (window && window.__extends) || (function () {
64270
64271
  * @private
64271
64272
  */
64272
64273
  var UnknownSource = /** @class */ (function (_super) {
64273
- __extends$T(UnknownSource, _super);
64274
+ __extends$V(UnknownSource, _super);
64274
64275
  /**
64275
64276
  * Constructs a source from the contents of a layer resource file.
64276
64277
  * @param id The source's id.
@@ -64302,7 +64303,7 @@ var UnknownSource = /** @class */ (function (_super) {
64302
64303
  return UnknownSource;
64303
64304
  }(Source));
64304
64305
 
64305
- var __extends$S = (window && window.__extends) || (function () {
64306
+ var __extends$U = (window && window.__extends) || (function () {
64306
64307
  var extendStatics = function (d, b) {
64307
64308
  extendStatics = Object.setPrototypeOf ||
64308
64309
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64323,7 +64324,7 @@ var __extends$S = (window && window.__extends) || (function () {
64323
64324
  * @private
64324
64325
  */
64325
64326
  var ImageSource = /** @class */ (function (_super) {
64326
- __extends$S(ImageSource, _super);
64327
+ __extends$U(ImageSource, _super);
64327
64328
  /**
64328
64329
  * Constructs a source from the contents of a layer resource file.
64329
64330
  * @param id The source's id.
@@ -64357,7 +64358,7 @@ var ImageSource = /** @class */ (function (_super) {
64357
64358
  return ImageSource;
64358
64359
  }(Source));
64359
64360
 
64360
- var __extends$R = (window && window.__extends) || (function () {
64361
+ var __extends$T = (window && window.__extends) || (function () {
64361
64362
  var extendStatics = function (d, b) {
64362
64363
  extendStatics = Object.setPrototypeOf ||
64363
64364
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64378,7 +64379,7 @@ var __extends$R = (window && window.__extends) || (function () {
64378
64379
  * @private
64379
64380
  */
64380
64381
  var VideoSource = /** @class */ (function (_super) {
64381
- __extends$R(VideoSource, _super);
64382
+ __extends$T(VideoSource, _super);
64382
64383
  /**
64383
64384
  * Constructs a source from the contents of a layer resource file.
64384
64385
  * @param id The source's id.
@@ -64412,7 +64413,7 @@ var VideoSource = /** @class */ (function (_super) {
64412
64413
  return VideoSource;
64413
64414
  }(Source));
64414
64415
 
64415
- var __extends$Q = (window && window.__extends) || (function () {
64416
+ var __extends$S = (window && window.__extends) || (function () {
64416
64417
  var extendStatics = function (d, b) {
64417
64418
  extendStatics = Object.setPrototypeOf ||
64418
64419
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64428,7 +64429,7 @@ var __extends$Q = (window && window.__extends) || (function () {
64428
64429
  };
64429
64430
  })();
64430
64431
  var RasterTileSourceOptions = /** @class */ (function (_super) {
64431
- __extends$Q(RasterTileSourceOptions, _super);
64432
+ __extends$S(RasterTileSourceOptions, _super);
64432
64433
  function RasterTileSourceOptions() {
64433
64434
  var _this = _super !== null && _super.apply(this, arguments) || this;
64434
64435
  /**
@@ -64442,7 +64443,7 @@ var RasterTileSourceOptions = /** @class */ (function (_super) {
64442
64443
  return RasterTileSourceOptions;
64443
64444
  }(VectorTileSourceOptions));
64444
64445
 
64445
- var __extends$P = (window && window.__extends) || (function () {
64446
+ var __extends$R = (window && window.__extends) || (function () {
64446
64447
  var extendStatics = function (d, b) {
64447
64448
  extendStatics = Object.setPrototypeOf ||
64448
64449
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64458,7 +64459,7 @@ var __extends$P = (window && window.__extends) || (function () {
64458
64459
  };
64459
64460
  })();
64460
64461
  var ElevationTileSourceOptions = /** @class */ (function (_super) {
64461
- __extends$P(ElevationTileSourceOptions, _super);
64462
+ __extends$R(ElevationTileSourceOptions, _super);
64462
64463
  function ElevationTileSourceOptions() {
64463
64464
  var _this = _super !== null && _super.apply(this, arguments) || this;
64464
64465
  /**
@@ -64474,7 +64475,7 @@ var ElevationTileSourceOptions = /** @class */ (function (_super) {
64474
64475
  return ElevationTileSourceOptions;
64475
64476
  }(RasterTileSourceOptions));
64476
64477
 
64477
- var __extends$O = (window && window.__extends) || (function () {
64478
+ var __extends$Q = (window && window.__extends) || (function () {
64478
64479
  var extendStatics = function (d, b) {
64479
64480
  extendStatics = Object.setPrototypeOf ||
64480
64481
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64504,7 +64505,7 @@ var __assign$c = (window && window.__assign) || function () {
64504
64505
  * Publicly exposed ElevationTileSource.
64505
64506
  */
64506
64507
  var ElevationTileSource = /** @class */ (function (_super) {
64507
- __extends$O(ElevationTileSource, _super);
64508
+ __extends$Q(ElevationTileSource, _super);
64508
64509
  function ElevationTileSource(id, options) {
64509
64510
  var _this = _super.call(this, id) || this;
64510
64511
  _this.options = new ElevationTileSourceOptions().merge(cloneDeep$1(options));
@@ -64548,7 +64549,7 @@ var index$1 = /*#__PURE__*/Object.freeze({
64548
64549
  VideoSource: VideoSource
64549
64550
  });
64550
64551
 
64551
- var __extends$N = (window && window.__extends) || (function () {
64552
+ var __extends$P = (window && window.__extends) || (function () {
64552
64553
  var extendStatics = function (d, b) {
64553
64554
  extendStatics = Object.setPrototypeOf ||
64554
64555
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64567,7 +64568,7 @@ var __extends$N = (window && window.__extends) || (function () {
64567
64568
  * Abstract class for other layer classes to extend.
64568
64569
  */
64569
64570
  var Layer = /** @class */ (function (_super) {
64570
- __extends$N(Layer, _super);
64571
+ __extends$P(Layer, _super);
64571
64572
  function Layer(id) {
64572
64573
  var _this =
64573
64574
  // Assign an random id using a UUID if none was specified.
@@ -64674,7 +64675,7 @@ var Layer = /** @class */ (function (_super) {
64674
64675
  return Layer;
64675
64676
  }(EventEmitter));
64676
64677
 
64677
- var __extends$M = (window && window.__extends) || (function () {
64678
+ var __extends$O = (window && window.__extends) || (function () {
64678
64679
  var extendStatics = function (d, b) {
64679
64680
  extendStatics = Object.setPrototypeOf ||
64680
64681
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64693,7 +64694,7 @@ var __extends$M = (window && window.__extends) || (function () {
64693
64694
  * A base class which all other layer options inherit from.
64694
64695
  */
64695
64696
  var LayerOptions$1 = /** @class */ (function (_super) {
64696
- __extends$M(LayerOptions, _super);
64697
+ __extends$O(LayerOptions, _super);
64697
64698
  function LayerOptions() {
64698
64699
  var _this = _super !== null && _super.apply(this, arguments) || this;
64699
64700
  /**
@@ -64740,7 +64741,7 @@ var LayerOptions$1 = /** @class */ (function (_super) {
64740
64741
  return LayerOptions;
64741
64742
  }(Options));
64742
64743
 
64743
- var __extends$L = (window && window.__extends) || (function () {
64744
+ var __extends$N = (window && window.__extends) || (function () {
64744
64745
  var extendStatics = function (d, b) {
64745
64746
  extendStatics = Object.setPrototypeOf ||
64746
64747
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64759,7 +64760,7 @@ var __extends$L = (window && window.__extends) || (function () {
64759
64760
  * Options used when rendering Point objects in a BubbleLayer.
64760
64761
  */
64761
64762
  var BubbleLayerOptions = /** @class */ (function (_super) {
64762
- __extends$L(BubbleLayerOptions, _super);
64763
+ __extends$N(BubbleLayerOptions, _super);
64763
64764
  function BubbleLayerOptions() {
64764
64765
  var _this = _super !== null && _super.apply(this, arguments) || this;
64765
64766
  /**
@@ -64867,7 +64868,7 @@ var BubbleLayerOptions = /** @class */ (function (_super) {
64867
64868
  return BubbleLayerOptions;
64868
64869
  }(LayerOptions$1));
64869
64870
 
64870
- var __extends$K = (window && window.__extends) || (function () {
64871
+ var __extends$M = (window && window.__extends) || (function () {
64871
64872
  var extendStatics = function (d, b) {
64872
64873
  extendStatics = Object.setPrototypeOf ||
64873
64874
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -64947,7 +64948,7 @@ var __spreadArray$a = (window && window.__spreadArray) || function (to, from, pa
64947
64948
  * Renders Point objects as scalable circles (bubbles).
64948
64949
  */
64949
64950
  var BubbleLayer = /** @class */ (function (_super) {
64950
- __extends$K(BubbleLayer, _super);
64951
+ __extends$M(BubbleLayer, _super);
64951
64952
  /**
64952
64953
  * Constructs a new BubbleLayer.
64953
64954
  * @param source The id or instance of a data source which the layer will render.
@@ -65222,7 +65223,7 @@ var BubbleLayer = /** @class */ (function (_super) {
65222
65223
  return BubbleLayer;
65223
65224
  }(Layer));
65224
65225
 
65225
- var __extends$J = (window && window.__extends) || (function () {
65226
+ var __extends$L = (window && window.__extends) || (function () {
65226
65227
  var extendStatics = function (d, b) {
65227
65228
  extendStatics = Object.setPrototypeOf ||
65228
65229
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -65241,7 +65242,7 @@ var __extends$J = (window && window.__extends) || (function () {
65241
65242
  * Options used when rendering Point objects in a HeatMapLayer.
65242
65243
  */
65243
65244
  var HeatMapLayerOptions = /** @class */ (function (_super) {
65244
- __extends$J(HeatMapLayerOptions, _super);
65245
+ __extends$L(HeatMapLayerOptions, _super);
65245
65246
  function HeatMapLayerOptions() {
65246
65247
  var _this = _super !== null && _super.apply(this, arguments) || this;
65247
65248
  /**
@@ -65308,7 +65309,7 @@ var HeatMapLayerOptions = /** @class */ (function (_super) {
65308
65309
  return HeatMapLayerOptions;
65309
65310
  }(LayerOptions$1));
65310
65311
 
65311
- var __extends$I = (window && window.__extends) || (function () {
65312
+ var __extends$K = (window && window.__extends) || (function () {
65312
65313
  var extendStatics = function (d, b) {
65313
65314
  extendStatics = Object.setPrototypeOf ||
65314
65315
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -65327,7 +65328,7 @@ var __extends$I = (window && window.__extends) || (function () {
65327
65328
  * Represent the density of data using different colors (HeatMap).
65328
65329
  */
65329
65330
  var HeatMapLayer = /** @class */ (function (_super) {
65330
- __extends$I(HeatMapLayer, _super);
65331
+ __extends$K(HeatMapLayer, _super);
65331
65332
  /**
65332
65333
  * Constructs a new HeatMapLayer.
65333
65334
  * @param source The id or instance of a data source which the layer will render.
@@ -65431,7 +65432,7 @@ var HeatMapLayer = /** @class */ (function (_super) {
65431
65432
  return HeatMapLayer;
65432
65433
  }(Layer));
65433
65434
 
65434
- var __extends$H = (window && window.__extends) || (function () {
65435
+ var __extends$J = (window && window.__extends) || (function () {
65435
65436
  var extendStatics = function (d, b) {
65436
65437
  extendStatics = Object.setPrototypeOf ||
65437
65438
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -65450,7 +65451,7 @@ var __extends$H = (window && window.__extends) || (function () {
65450
65451
  * Options used when rendering canvas, image, raster tile, and video layers
65451
65452
  */
65452
65453
  var MediaLayerOptions = /** @class */ (function (_super) {
65453
- __extends$H(MediaLayerOptions, _super);
65454
+ __extends$J(MediaLayerOptions, _super);
65454
65455
  function MediaLayerOptions() {
65455
65456
  var _this = _super !== null && _super.apply(this, arguments) || this;
65456
65457
  /**
@@ -65502,7 +65503,7 @@ var MediaLayerOptions = /** @class */ (function (_super) {
65502
65503
  return MediaLayerOptions;
65503
65504
  }(LayerOptions$1));
65504
65505
 
65505
- var __extends$G = (window && window.__extends) || (function () {
65506
+ var __extends$I = (window && window.__extends) || (function () {
65506
65507
  var extendStatics = function (d, b) {
65507
65508
  extendStatics = Object.setPrototypeOf ||
65508
65509
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -65521,7 +65522,7 @@ var __extends$G = (window && window.__extends) || (function () {
65521
65522
  * Options used when rendering Point objects in a ImageLayer.
65522
65523
  */
65523
65524
  var ImageLayerOptions = /** @class */ (function (_super) {
65524
- __extends$G(ImageLayerOptions, _super);
65525
+ __extends$I(ImageLayerOptions, _super);
65525
65526
  function ImageLayerOptions() {
65526
65527
  var _this = _super !== null && _super.apply(this, arguments) || this;
65527
65528
  /**
@@ -65551,7 +65552,7 @@ var ImageLayerOptions = /** @class */ (function (_super) {
65551
65552
  return ImageLayerOptions;
65552
65553
  }(MediaLayerOptions));
65553
65554
 
65554
- var __extends$F = (window && window.__extends) || (function () {
65555
+ var __extends$H = (window && window.__extends) || (function () {
65555
65556
  var extendStatics = function (d, b) {
65556
65557
  extendStatics = Object.setPrototypeOf ||
65557
65558
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -65571,7 +65572,7 @@ var __extends$F = (window && window.__extends) || (function () {
65571
65572
  * @internal
65572
65573
  */
65573
65574
  var SourceBuildingLayer = /** @class */ (function (_super) {
65574
- __extends$F(SourceBuildingLayer, _super);
65575
+ __extends$H(SourceBuildingLayer, _super);
65575
65576
  function SourceBuildingLayer() {
65576
65577
  return _super !== null && _super.apply(this, arguments) || this;
65577
65578
  }
@@ -65589,7 +65590,7 @@ var SourceBuildingLayer = /** @class */ (function (_super) {
65589
65590
  return SourceBuildingLayer;
65590
65591
  }(Layer));
65591
65592
 
65592
- var __extends$E = (window && window.__extends) || (function () {
65593
+ var __extends$G = (window && window.__extends) || (function () {
65593
65594
  var extendStatics = function (d, b) {
65594
65595
  extendStatics = Object.setPrototypeOf ||
65595
65596
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -65608,7 +65609,7 @@ var __extends$E = (window && window.__extends) || (function () {
65608
65609
  * Overlays an image on the map with each corner anchored to a coordinate on the map. Also known as a ground or image overlay.
65609
65610
  */
65610
65611
  var ImageLayer = /** @class */ (function (_super) {
65611
- __extends$E(ImageLayer, _super);
65612
+ __extends$G(ImageLayer, _super);
65612
65613
  /**
65613
65614
  * Constructs a new ImageLayer.
65614
65615
  * @param id The id of the layer. If not specified a random one will be generated.
@@ -65816,7 +65817,7 @@ var ImageLayer = /** @class */ (function (_super) {
65816
65817
  return ImageLayer;
65817
65818
  }(SourceBuildingLayer));
65818
65819
 
65819
- var __extends$D = (window && window.__extends) || (function () {
65820
+ var __extends$F = (window && window.__extends) || (function () {
65820
65821
  var extendStatics = function (d, b) {
65821
65822
  extendStatics = Object.setPrototypeOf ||
65822
65823
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -65836,7 +65837,7 @@ var __extends$D = (window && window.__extends) || (function () {
65836
65837
  * LineString, MultiLineString, Polygon, and MultiPolygon objects in a line layer.
65837
65838
  */
65838
65839
  var LineLayerOptions = /** @class */ (function (_super) {
65839
- __extends$D(LineLayerOptions, _super);
65840
+ __extends$F(LineLayerOptions, _super);
65840
65841
  function LineLayerOptions() {
65841
65842
  var _this = _super !== null && _super.apply(this, arguments) || this;
65842
65843
  /**
@@ -65936,7 +65937,7 @@ var LineLayerOptions = /** @class */ (function (_super) {
65936
65937
  return LineLayerOptions;
65937
65938
  }(LayerOptions$1));
65938
65939
 
65939
- var __extends$C = (window && window.__extends) || (function () {
65940
+ var __extends$E = (window && window.__extends) || (function () {
65940
65941
  var extendStatics = function (d, b) {
65941
65942
  extendStatics = Object.setPrototypeOf ||
65942
65943
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -65967,7 +65968,7 @@ var __assign$b = (window && window.__assign) || function () {
65967
65968
  * CirclePolygon, LineString, MultiLineString, Polygon, and MultiPolygon objects.
65968
65969
  */
65969
65970
  var LineLayer = /** @class */ (function (_super) {
65970
- __extends$C(LineLayer, _super);
65971
+ __extends$E(LineLayer, _super);
65971
65972
  /**
65972
65973
  * Constructs a new LineLayer.
65973
65974
  * @param source The id or instance of a data source which the layer will render.
@@ -66058,7 +66059,7 @@ var LineLayer = /** @class */ (function (_super) {
66058
66059
  return LineLayer;
66059
66060
  }(Layer));
66060
66061
 
66061
- var __extends$B = (window && window.__extends) || (function () {
66062
+ var __extends$D = (window && window.__extends) || (function () {
66062
66063
  var extendStatics = function (d, b) {
66063
66064
  extendStatics = Object.setPrototypeOf ||
66064
66065
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -66077,7 +66078,7 @@ var __extends$B = (window && window.__extends) || (function () {
66077
66078
  * Options used when rendering `Polygon` and `MultiPolygon` objects in a `PolygonExtrusionLayer`.
66078
66079
  */
66079
66080
  var PolygonExtrusionLayerOptions = /** @class */ (function (_super) {
66080
- __extends$B(PolygonExtrusionLayerOptions, _super);
66081
+ __extends$D(PolygonExtrusionLayerOptions, _super);
66081
66082
  function PolygonExtrusionLayerOptions() {
66082
66083
  var _this = _super !== null && _super.apply(this, arguments) || this;
66083
66084
  /**
@@ -66150,7 +66151,7 @@ var PolygonExtrusionLayerOptions = /** @class */ (function (_super) {
66150
66151
  return PolygonExtrusionLayerOptions;
66151
66152
  }(LayerOptions$1));
66152
66153
 
66153
- var __extends$A = (window && window.__extends) || (function () {
66154
+ var __extends$C = (window && window.__extends) || (function () {
66154
66155
  var extendStatics = function (d, b) {
66155
66156
  extendStatics = Object.setPrototypeOf ||
66156
66157
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -66180,7 +66181,7 @@ var __assign$a = (window && window.__assign) || function () {
66180
66181
  * Renders extruded filled `Polygon` and `MultiPolygon` objects on the map.
66181
66182
  */
66182
66183
  var PolygonExtrusionLayer = /** @class */ (function (_super) {
66183
- __extends$A(PolygonExtrusionLayer, _super);
66184
+ __extends$C(PolygonExtrusionLayer, _super);
66184
66185
  /**
66185
66186
  * Constructs a new PolygonExtrusionLayer.
66186
66187
  * @param source The id or instance of a data source which the layer will render.
@@ -66268,7 +66269,7 @@ var PolygonExtrusionLayer = /** @class */ (function (_super) {
66268
66269
  return PolygonExtrusionLayer;
66269
66270
  }(Layer));
66270
66271
 
66271
- var __extends$z = (window && window.__extends) || (function () {
66272
+ var __extends$B = (window && window.__extends) || (function () {
66272
66273
  var extendStatics = function (d, b) {
66273
66274
  extendStatics = Object.setPrototypeOf ||
66274
66275
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -66287,7 +66288,7 @@ var __extends$z = (window && window.__extends) || (function () {
66287
66288
  * Options used when rendering Polygon and MultiPolygon objects in a PolygonLayer.
66288
66289
  */
66289
66290
  var PolygonLayerOptions$1 = /** @class */ (function (_super) {
66290
- __extends$z(PolygonLayerOptions, _super);
66291
+ __extends$B(PolygonLayerOptions, _super);
66291
66292
  function PolygonLayerOptions() {
66292
66293
  var _this = _super !== null && _super.apply(this, arguments) || this;
66293
66294
  /**
@@ -66327,7 +66328,7 @@ var PolygonLayerOptions$1 = /** @class */ (function (_super) {
66327
66328
  return PolygonLayerOptions;
66328
66329
  }(LayerOptions$1));
66329
66330
 
66330
- var __extends$y = (window && window.__extends) || (function () {
66331
+ var __extends$A = (window && window.__extends) || (function () {
66331
66332
  var extendStatics = function (d, b) {
66332
66333
  extendStatics = Object.setPrototypeOf ||
66333
66334
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -66346,7 +66347,7 @@ var __extends$y = (window && window.__extends) || (function () {
66346
66347
  * Renders filled Polygon and MultiPolygon objects on the map.
66347
66348
  */
66348
66349
  var PolygonLayer = /** @class */ (function (_super) {
66349
- __extends$y(PolygonLayer, _super);
66350
+ __extends$A(PolygonLayer, _super);
66350
66351
  /**
66351
66352
  * Constructs a new PolygonLayer.
66352
66353
  * @param source The id or instance of a data source which the layer will render.
@@ -66456,7 +66457,7 @@ var PolygonLayer = /** @class */ (function (_super) {
66456
66457
  return PolygonLayer;
66457
66458
  }(Layer));
66458
66459
 
66459
- var __extends$x = (window && window.__extends) || (function () {
66460
+ var __extends$z = (window && window.__extends) || (function () {
66460
66461
  var extendStatics = function (d, b) {
66461
66462
  extendStatics = Object.setPrototypeOf ||
66462
66463
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -66475,7 +66476,7 @@ var __extends$x = (window && window.__extends) || (function () {
66475
66476
  * Options used to customize the icons in a SymbolLayer
66476
66477
  */
66477
66478
  var IconOptions = /** @class */ (function (_super) {
66478
- __extends$x(IconOptions, _super);
66479
+ __extends$z(IconOptions, _super);
66479
66480
  function IconOptions() {
66480
66481
  var _this = _super !== null && _super.apply(this, arguments) || this;
66481
66482
  /**
@@ -66585,7 +66586,7 @@ var IconOptions = /** @class */ (function (_super) {
66585
66586
  return IconOptions;
66586
66587
  }(Options));
66587
66588
 
66588
- var __extends$w = (window && window.__extends) || (function () {
66589
+ var __extends$y = (window && window.__extends) || (function () {
66589
66590
  var extendStatics = function (d, b) {
66590
66591
  extendStatics = Object.setPrototypeOf ||
66591
66592
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -66604,7 +66605,7 @@ var __extends$w = (window && window.__extends) || (function () {
66604
66605
  * Options used to customize the text in a SymbolLayer
66605
66606
  */
66606
66607
  var TextOptions = /** @class */ (function (_super) {
66607
- __extends$w(TextOptions, _super);
66608
+ __extends$y(TextOptions, _super);
66608
66609
  function TextOptions() {
66609
66610
  var _this = _super !== null && _super.apply(this, arguments) || this;
66610
66611
  /**
@@ -66784,7 +66785,7 @@ var TextOptions = /** @class */ (function (_super) {
66784
66785
  return TextOptions;
66785
66786
  }(Options));
66786
66787
 
66787
- var __extends$v = (window && window.__extends) || (function () {
66788
+ var __extends$x = (window && window.__extends) || (function () {
66788
66789
  var extendStatics = function (d, b) {
66789
66790
  extendStatics = Object.setPrototypeOf ||
66790
66791
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -66803,7 +66804,7 @@ var __extends$v = (window && window.__extends) || (function () {
66803
66804
  * Options used when rendering geometries in a SymbolLayer.
66804
66805
  */
66805
66806
  var SymbolLayerOptions = /** @class */ (function (_super) {
66806
- __extends$v(SymbolLayerOptions, _super);
66807
+ __extends$x(SymbolLayerOptions, _super);
66807
66808
  function SymbolLayerOptions() {
66808
66809
  var _this = _super !== null && _super.apply(this, arguments) || this;
66809
66810
  /**
@@ -66868,7 +66869,7 @@ var SymbolLayerOptions = /** @class */ (function (_super) {
66868
66869
  return SymbolLayerOptions;
66869
66870
  }(LayerOptions$1));
66870
66871
 
66871
- var __extends$u = (window && window.__extends) || (function () {
66872
+ var __extends$w = (window && window.__extends) || (function () {
66872
66873
  var extendStatics = function (d, b) {
66873
66874
  extendStatics = Object.setPrototypeOf ||
66874
66875
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -66899,7 +66900,7 @@ var __assign$9 = (window && window.__assign) || function () {
66899
66900
  * Symbols can also be created for line and polygon data as well.
66900
66901
  */
66901
66902
  var SymbolLayer = /** @class */ (function (_super) {
66902
- __extends$u(SymbolLayer, _super);
66903
+ __extends$w(SymbolLayer, _super);
66903
66904
  /**
66904
66905
  * Constructs a new SymbolLayer.
66905
66906
  * @param source The id or instance of a data source which the layer will render.
@@ -67041,7 +67042,7 @@ var SymbolLayer = /** @class */ (function (_super) {
67041
67042
  return SymbolLayer;
67042
67043
  }(Layer));
67043
67044
 
67044
- var __extends$t = (window && window.__extends) || (function () {
67045
+ var __extends$v = (window && window.__extends) || (function () {
67045
67046
  var extendStatics = function (d, b) {
67046
67047
  extendStatics = Object.setPrototypeOf ||
67047
67048
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -67072,7 +67073,7 @@ var __assign$8 = (window && window.__assign) || function () {
67072
67073
  * @private
67073
67074
  */
67074
67075
  var FundamentalMapSource = /** @class */ (function (_super) {
67075
- __extends$t(FundamentalMapSource, _super);
67076
+ __extends$v(FundamentalMapSource, _super);
67076
67077
  /**
67077
67078
  * Constructs a source from the contents of a layer resource file.
67078
67079
  * @param id The source's id.
@@ -67158,7 +67159,7 @@ var FundamentalMapSource = /** @class */ (function (_super) {
67158
67159
  return FundamentalMapSource;
67159
67160
  }(Source));
67160
67161
 
67161
- var __extends$s = (window && window.__extends) || (function () {
67162
+ var __extends$u = (window && window.__extends) || (function () {
67162
67163
  var extendStatics = function (d, b) {
67163
67164
  extendStatics = Object.setPrototypeOf ||
67164
67165
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -67177,7 +67178,7 @@ var __extends$s = (window && window.__extends) || (function () {
67177
67178
  * Options used when rendering raster tiled images in a TileLayer.
67178
67179
  */
67179
67180
  var TileLayerOptions = /** @class */ (function (_super) {
67180
- __extends$s(TileLayerOptions, _super);
67181
+ __extends$u(TileLayerOptions, _super);
67181
67182
  function TileLayerOptions() {
67182
67183
  var _this = _super !== null && _super.apply(this, arguments) || this;
67183
67184
  /**
@@ -67233,7 +67234,7 @@ var TileLayerOptions = /** @class */ (function (_super) {
67233
67234
  return TileLayerOptions;
67234
67235
  }(MediaLayerOptions));
67235
67236
 
67236
- var __extends$r = (window && window.__extends) || (function () {
67237
+ var __extends$t = (window && window.__extends) || (function () {
67237
67238
  var extendStatics = function (d, b) {
67238
67239
  extendStatics = Object.setPrototypeOf ||
67239
67240
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -67274,7 +67275,7 @@ var __values$d = (window && window.__values) || function(o) {
67274
67275
  * Renders raster tiled images on top of the map tiles.
67275
67276
  */
67276
67277
  var TileLayer = /** @class */ (function (_super) {
67277
- __extends$r(TileLayer, _super);
67278
+ __extends$t(TileLayer, _super);
67278
67279
  /**
67279
67280
  * Constructs a new TileLayer.
67280
67281
  * @param options The options for the tile layer.
@@ -67427,7 +67428,7 @@ var TileLayer = /** @class */ (function (_super) {
67427
67428
  return TileLayer;
67428
67429
  }(SourceBuildingLayer));
67429
67430
 
67430
- var __extends$q = (window && window.__extends) || (function () {
67431
+ var __extends$s = (window && window.__extends) || (function () {
67431
67432
  var extendStatics = function (d, b) {
67432
67433
  extendStatics = Object.setPrototypeOf ||
67433
67434
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -67446,7 +67447,7 @@ var __extends$q = (window && window.__extends) || (function () {
67446
67447
  * Options used to render graphics in a WebGLLayer.
67447
67448
  */
67448
67449
  var WebGLLayerOptions = /** @class */ (function (_super) {
67449
- __extends$q(WebGLLayerOptions, _super);
67450
+ __extends$s(WebGLLayerOptions, _super);
67450
67451
  function WebGLLayerOptions() {
67451
67452
  var _this = _super !== null && _super.apply(this, arguments) || this;
67452
67453
  /**
@@ -67458,7 +67459,7 @@ var WebGLLayerOptions = /** @class */ (function (_super) {
67458
67459
  return WebGLLayerOptions;
67459
67460
  }(LayerOptions$1));
67460
67461
 
67461
- var __extends$p = (window && window.__extends) || (function () {
67462
+ var __extends$r = (window && window.__extends) || (function () {
67462
67463
  var extendStatics = function (d, b) {
67463
67464
  extendStatics = Object.setPrototypeOf ||
67464
67465
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -67477,7 +67478,7 @@ var __extends$p = (window && window.__extends) || (function () {
67477
67478
  * Enables custom rendering logic with access to the WebGL context of the map.
67478
67479
  */
67479
67480
  var WebGLLayer = /** @class */ (function (_super) {
67480
- __extends$p(WebGLLayer, _super);
67481
+ __extends$r(WebGLLayer, _super);
67481
67482
  /**
67482
67483
  * Constructs a new WebGLLayer.
67483
67484
  * @param id The id of the layer. If not specified a random one will be generated.
@@ -67710,7 +67711,7 @@ var isElement_1 = isElement;
67710
67711
 
67711
67712
  var isElement$1 = /*@__PURE__*/getDefaultExportFromCjs(isElement_1);
67712
67713
 
67713
- var __extends$o = (window && window.__extends) || (function () {
67714
+ var __extends$q = (window && window.__extends) || (function () {
67714
67715
  var extendStatics = function (d, b) {
67715
67716
  extendStatics = Object.setPrototypeOf ||
67716
67717
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -67729,7 +67730,7 @@ var __extends$o = (window && window.__extends) || (function () {
67729
67730
  * The options for a popup.
67730
67731
  */
67731
67732
  var PopupOptions = /** @class */ (function (_super) {
67732
- __extends$o(PopupOptions, _super);
67733
+ __extends$q(PopupOptions, _super);
67733
67734
  function PopupOptions() {
67734
67735
  var _this = _super !== null && _super.apply(this, arguments) || this;
67735
67736
  /**
@@ -67798,7 +67799,7 @@ var PopupOptions = /** @class */ (function (_super) {
67798
67799
  return PopupOptions;
67799
67800
  }(Options));
67800
67801
 
67801
- var __extends$n = (window && window.__extends) || (function () {
67802
+ var __extends$p = (window && window.__extends) || (function () {
67802
67803
  var extendStatics = function (d, b) {
67803
67804
  extendStatics = Object.setPrototypeOf ||
67804
67805
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -67833,7 +67834,7 @@ var __read$c = (window && window.__read) || function (o, n) {
67833
67834
  * An information window anchored at a specified position on a map.
67834
67835
  */
67835
67836
  var Popup = /** @class */ (function (_super) {
67836
- __extends$n(Popup, _super);
67837
+ __extends$p(Popup, _super);
67837
67838
  /**
67838
67839
  * Constructs a Popup object and initializes it with the specified options.
67839
67840
  * @param options The options for the popup.
@@ -68307,7 +68308,7 @@ var Popup = /** @class */ (function (_super) {
68307
68308
  return Popup;
68308
68309
  }(EventEmitter));
68309
68310
 
68310
- var __extends$m = (window && window.__extends) || (function () {
68311
+ var __extends$o = (window && window.__extends) || (function () {
68311
68312
  var extendStatics = function (d, b) {
68312
68313
  extendStatics = Object.setPrototypeOf ||
68313
68314
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -68326,7 +68327,7 @@ var __extends$m = (window && window.__extends) || (function () {
68326
68327
  * Options for rendering an HtmlMarker object
68327
68328
  */
68328
68329
  var HtmlMarkerOptions = /** @class */ (function (_super) {
68329
- __extends$m(HtmlMarkerOptions, _super);
68330
+ __extends$o(HtmlMarkerOptions, _super);
68330
68331
  function HtmlMarkerOptions() {
68331
68332
  var _this = _super !== null && _super.apply(this, arguments) || this;
68332
68333
  /**
@@ -68404,7 +68405,7 @@ var HtmlMarkerOptions = /** @class */ (function (_super) {
68404
68405
  return HtmlMarkerOptions;
68405
68406
  }(Options));
68406
68407
 
68407
- var __extends$l = (window && window.__extends) || (function () {
68408
+ var __extends$n = (window && window.__extends) || (function () {
68408
68409
  var extendStatics = function (d, b) {
68409
68410
  extendStatics = Object.setPrototypeOf ||
68410
68411
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -68423,7 +68424,7 @@ var __extends$l = (window && window.__extends) || (function () {
68423
68424
  * This class wraps an HTML element that can be displayed on the map.
68424
68425
  */
68425
68426
  var HtmlMarker = /** @class */ (function (_super) {
68426
- __extends$l(HtmlMarker, _super);
68427
+ __extends$n(HtmlMarker, _super);
68427
68428
  /**
68428
68429
  * Constructs a new HtmlMarker.
68429
68430
  * @param options The options for the HtmlMarker.
@@ -88925,7 +88926,7 @@ var Insights = /** @class */ (function () {
88925
88926
  return Insights;
88926
88927
  }());
88927
88928
 
88928
- var __extends$k = (window && window.__extends) || (function () {
88929
+ var __extends$m = (window && window.__extends) || (function () {
88929
88930
  var extendStatics = function (d, b) {
88930
88931
  extendStatics = Object.setPrototypeOf ||
88931
88932
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -88944,7 +88945,7 @@ var __extends$k = (window && window.__extends) || (function () {
88944
88945
  * The options for a CopyrightControl object.
88945
88946
  */
88946
88947
  var CopyrightControlOptions = /** @class */ (function (_super) {
88947
- __extends$k(CopyrightControlOptions, _super);
88948
+ __extends$m(CopyrightControlOptions, _super);
88948
88949
  function CopyrightControlOptions() {
88949
88950
  var _this = _super !== null && _super.apply(this, arguments) || this;
88950
88951
  /**
@@ -88973,7 +88974,7 @@ var CopyrightControlOptions = /** @class */ (function (_super) {
88973
88974
  return CopyrightControlOptions;
88974
88975
  }(Options));
88975
88976
 
88976
- var __extends$j = (window && window.__extends) || (function () {
88977
+ var __extends$l = (window && window.__extends) || (function () {
88977
88978
  var extendStatics = function (d, b) {
88978
88979
  extendStatics = Object.setPrototypeOf ||
88979
88980
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -88992,7 +88993,7 @@ var __extends$j = (window && window.__extends) || (function () {
88992
88993
  * @private
88993
88994
  */
88994
88995
  var CopyrightControl = /** @class */ (function (_super) {
88995
- __extends$j(CopyrightControl, _super);
88996
+ __extends$l(CopyrightControl, _super);
88996
88997
  function CopyrightControl(options) {
88997
88998
  var _this = _super.call(this) || this;
88998
88999
  _this.textAttribution = function (options) {
@@ -89014,13 +89015,10 @@ var CopyrightControl = /** @class */ (function (_super) {
89014
89015
  CopyrightControl.prototype.onAdd = function (map) {
89015
89016
  this.map = map;
89016
89017
  this.container = this.buildContainer(map, ControlStyle.auto);
89017
- this.container.className = "map-copyright";
89018
+ this.container.className = "map-copyright without-bg";
89018
89019
  this.copyrightDiv = this.buildCopyrightDiv();
89019
89020
  this.copyrightDiv.className = "azure-map-copyright";
89020
89021
  this.container.appendChild(this.copyrightDiv);
89021
- if (this.options.showLogo) {
89022
- this.addRemoveLogo(true);
89023
- }
89024
89022
  if (this.options.showFeedbackLink) {
89025
89023
  this.addRemoveFeedbackDiv(true);
89026
89024
  }
@@ -89050,12 +89048,6 @@ var CopyrightControl = /** @class */ (function (_super) {
89050
89048
  }
89051
89049
  this.options.copyrightContent = newOptions.copyrightContent;
89052
89050
  }
89053
- if (!newOptions.showLogo && this.logoAnchor) {
89054
- this.addRemoveLogo(false);
89055
- }
89056
- else if (newOptions.showLogo && !this.logoAnchor) {
89057
- this.addRemoveLogo(true);
89058
- }
89059
89051
  if (!newOptions.showFeedbackLink && this.feedbackAnchor) {
89060
89052
  this.addRemoveFeedbackDiv(false);
89061
89053
  }
@@ -89081,31 +89073,138 @@ var CopyrightControl = /** @class */ (function (_super) {
89081
89073
  var link = document.createElement("a");
89082
89074
  link.setAttribute("alt", "Provide Map Data Feedback");
89083
89075
  link.setAttribute("aria-label", "Provide Map Data Feedback");
89076
+ link.innerText = "Feedback";
89084
89077
  link.href = CopyrightControl.feedbackLink;
89085
89078
  link.target = "_blank";
89086
89079
  link.rel = "noopener";
89087
- link.className = "azure-map-feedback";
89080
+ link.className = "azure-map-feedback-text";
89088
89081
  return link;
89089
89082
  };
89090
89083
  CopyrightControl.prototype.addRemoveFeedbackDiv = function (add) {
89091
89084
  var _a, _b, _c, _d;
89092
89085
  if (add) {
89093
89086
  this.feedbackAnchor = this.buildFeedbackLink();
89094
- this.tooltip = buildAccessibleTooltip("Provide Map Data Feedback");
89087
+ this.feedbackTooltip = buildAccessibleTooltip("Provide Map Data Feedback");
89095
89088
  this.container.appendChild(this.feedbackAnchor);
89096
- this.container.appendChild(this.tooltip);
89097
- positionTooltip(this.tooltip, this.feedbackAnchor);
89089
+ this.container.appendChild(this.feedbackTooltip);
89090
+ positionTooltip(this.feedbackTooltip, this.feedbackAnchor);
89098
89091
  (_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a.events) === null || _b === void 0 ? void 0 : _b.add("moveend", this.updateFeedbackLink);
89099
89092
  }
89100
89093
  else {
89101
89094
  this.feedbackAnchor.remove();
89102
- this.tooltip.remove();
89103
- delete this.tooltip;
89095
+ this.feedbackTooltip.remove();
89096
+ delete this.feedbackTooltip;
89104
89097
  delete this.feedbackAnchor;
89105
89098
  (_d = (_c = this.map) === null || _c === void 0 ? void 0 : _c.events) === null || _d === void 0 ? void 0 : _d.remove("moveend", this.updateFeedbackLink);
89106
89099
  }
89107
89100
  };
89108
- CopyrightControl.prototype.addRemoveLogo = function (add) {
89101
+ CopyrightControl.feedbackLink = "https://aka.ms/azuremaps-feedback?feedbackep=UrlAzureMapsWebSdk";
89102
+ return CopyrightControl;
89103
+ }(ControlBase));
89104
+
89105
+ var __extends$k = (window && window.__extends) || (function () {
89106
+ var extendStatics = function (d, b) {
89107
+ extendStatics = Object.setPrototypeOf ||
89108
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
89109
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
89110
+ return extendStatics(d, b);
89111
+ };
89112
+ return function (d, b) {
89113
+ if (typeof b !== "function" && b !== null)
89114
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
89115
+ extendStatics(d, b);
89116
+ function __() { this.constructor = d; }
89117
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
89118
+ };
89119
+ })();
89120
+ /**
89121
+ * The options for a LogoControl object.
89122
+ */
89123
+ var LogoControlOptions = /** @class */ (function (_super) {
89124
+ __extends$k(LogoControlOptions, _super);
89125
+ function LogoControlOptions() {
89126
+ var _this = _super !== null && _super.apply(this, arguments) || this;
89127
+ /**
89128
+ * If true will show the Microsoft logo.
89129
+ */
89130
+ _this.showLogo = true;
89131
+ return _this;
89132
+ }
89133
+ return LogoControlOptions;
89134
+ }(Options));
89135
+
89136
+ var __extends$j = (window && window.__extends) || (function () {
89137
+ var extendStatics = function (d, b) {
89138
+ extendStatics = Object.setPrototypeOf ||
89139
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
89140
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
89141
+ return extendStatics(d, b);
89142
+ };
89143
+ return function (d, b) {
89144
+ if (typeof b !== "function" && b !== null)
89145
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
89146
+ extendStatics(d, b);
89147
+ function __() { this.constructor = d; }
89148
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
89149
+ };
89150
+ })();
89151
+ /**
89152
+ * A control that displays the logo on the map.
89153
+ * @private
89154
+ */
89155
+ var LogoControl = /** @class */ (function (_super) {
89156
+ __extends$j(LogoControl, _super);
89157
+ /**
89158
+ * Construct a control
89159
+ */
89160
+ function LogoControl(options) {
89161
+ var _this = _super.call(this) || this;
89162
+ _this.map = null;
89163
+ /**
89164
+ * Set visibility of the control based on the container width.
89165
+ */
89166
+ _this._onResize = function () {
89167
+ var _a, _b;
89168
+ var width = ((_b = (_a = _this.map) === null || _a === void 0 ? void 0 : _a.getMapContainer()) === null || _b === void 0 ? void 0 : _b.clientWidth) || 0;
89169
+ _this._setVisiblity(_this.options.showLogo && width >= LogoControl.CONTAINER_MIN_WIDTH);
89170
+ };
89171
+ _this.options = new LogoControlOptions().merge(options);
89172
+ return _this;
89173
+ }
89174
+ /**
89175
+ * Initialization method for the control which is called when added to the map.
89176
+ * @param map The map that the control will be added to.
89177
+ * @param options The ControlOptions for this control.
89178
+ * @return An HTMLElement to be placed on the map for the control.
89179
+ */
89180
+ LogoControl.prototype.onAdd = function (map) {
89181
+ var _a;
89182
+ this.map = map;
89183
+ this.container = this.buildContainer(map, ControlStyle.auto);
89184
+ this.container.className = "map-logo-control";
89185
+ (_a = this.map) === null || _a === void 0 ? void 0 : _a.events.add("resize", this._onResize);
89186
+ this._addRemoveLogo(this.options.showLogo);
89187
+ return this.container;
89188
+ };
89189
+ LogoControl.prototype.onRemove = function () {
89190
+ var _a;
89191
+ _super.prototype.onRemove.call(this);
89192
+ (_a = this.map) === null || _a === void 0 ? void 0 : _a.events.remove("resize", this._onResize);
89193
+ this.map = null;
89194
+ delete this.container;
89195
+ };
89196
+ LogoControl.prototype.setOptions = function (options) {
89197
+ var newOptions = new LogoControlOptions().merge(this.options, options);
89198
+ if (!newOptions.showLogo && this.logoAnchor) {
89199
+ this._addRemoveLogo(false);
89200
+ }
89201
+ else if (newOptions.showLogo && !this.logoAnchor) {
89202
+ this._addRemoveLogo(true);
89203
+ }
89204
+ this.options = newOptions;
89205
+ };
89206
+ LogoControl.prototype._addRemoveLogo = function (add) {
89207
+ var _a, _b;
89109
89208
  if (add) {
89110
89209
  this.logoAnchor = document.createElement("a");
89111
89210
  this.logoAnchor.className = "azure-map-logo";
@@ -89116,15 +89215,25 @@ var CopyrightControl = /** @class */ (function (_super) {
89116
89215
  this.logoTooltip = buildAccessibleTooltip("Visit azure.microsoft.com");
89117
89216
  this.container.appendChild(this.logoTooltip);
89118
89217
  positionTooltip(this.logoTooltip, this.logoAnchor);
89218
+ this._setVisiblity(true);
89119
89219
  }
89120
89220
  else {
89121
- this.logoAnchor.remove();
89122
- this.logoTooltip.remove();
89221
+ (_a = this.logoAnchor) === null || _a === void 0 ? void 0 : _a.remove();
89222
+ (_b = this.logoTooltip) === null || _b === void 0 ? void 0 : _b.remove();
89123
89223
  delete this.logoAnchor;
89224
+ this._setVisiblity(false);
89124
89225
  }
89125
89226
  };
89126
- CopyrightControl.feedbackLink = "https://aka.ms/azuremapsdatafeedback?feedbackep=UrlAzureMapsWebSdk";
89127
- return CopyrightControl;
89227
+ /**
89228
+ * Set visibility of the control.
89229
+ */
89230
+ LogoControl.prototype._setVisiblity = function (visible) {
89231
+ if (this.container) {
89232
+ this.container.style.display = visible ? "flex" : "none";
89233
+ }
89234
+ };
89235
+ LogoControl.CONTAINER_MIN_WIDTH = 480; // The minimum width of the container to show the logo, 5 copyright texts, and the feedback link.
89236
+ return LogoControl;
89128
89237
  }(ControlBase));
89129
89238
 
89130
89239
  /**
@@ -114419,6 +114528,17 @@ var FundamentalMapLayer = /** @class */ (function (_super) {
114419
114528
  _this.layers = mbLayers;
114420
114529
  return _this;
114421
114530
  }
114531
+ /**
114532
+ * Gets the options of the layer.
114533
+ */
114534
+ FundamentalMapLayer.prototype.getOptions = function () {
114535
+ return {};
114536
+ };
114537
+ /**
114538
+ * Sets the options of the layer.
114539
+ * @param options The new options of the layer.
114540
+ */
114541
+ FundamentalMapLayer.prototype.setOptions = function (options) { return; };
114422
114542
  /**
114423
114543
  * @internal
114424
114544
  */
@@ -117280,7 +117400,7 @@ var StyleManager = /** @class */ (function () {
117280
117400
  if (!_this.indoorState) {
117281
117401
  return !style.name.includes('indoor');
117282
117402
  // NOTE: azure-maps-indoor prior to 2.0.7 will not pass theme auto
117283
- // the IndoorModule will request getTheme() from StyleManager and will call StyleManager.setStyleSet(theme == 'dark ? 'indoor_dark' : 'indoor') as approperaite
117403
+ // the IndoorModule will request getTheme() from StyleManager and will call StyleManager.setStyleSet(theme == 'dark ? 'indoor_dark' : 'indoor') as approperaite
117284
117404
  }
117285
117405
  else if (_this.indoorState.theme === 'auto') {
117286
117406
  return style.name.endsWith(style.theme === 'dark' ? '_indoor_dark' : '_indoor');
@@ -117305,7 +117425,7 @@ var StyleManager = /** @class */ (function () {
117305
117425
  styleVersion: definitions.version !== undefined && definitions.version !== null
117306
117426
  ? definitions.version
117307
117427
  : _this.serviceOptions.styleDefinitionsVersion,
117308
- // thus far we don't need to differentiate based on parameter here, as stylePatch will be called on cached styles as well
117428
+ // thus far we don't need to differentiate based on parameter here, as stylePatch will be called on cached styles as well
117309
117429
  //language: styleOptions.language
117310
117430
  // add MapControlVersion to make sure we have different local cache between map control versions
117311
117431
  mcv: version$3.replace(/\./g, '')
@@ -117422,7 +117542,14 @@ var StyleManager = /** @class */ (function () {
117422
117542
  }
117423
117543
  if (layer) {
117424
117544
  var sourcesToCopy = new Set(Array.from(userLayer.layer._getSourceIds())
117425
- .map(function (sourceId) { return previousStyle.sources[sourceId] ? { source: previousStyle.sources[sourceId], id: sourceId } : undefined; })
117545
+ .map(function (sourceId) {
117546
+ // If source is already present in the target style, skip copy
117547
+ if (style.sources[sourceId]) {
117548
+ return undefined;
117549
+ }
117550
+ var source = previousStyle.sources[sourceId];
117551
+ return source ? { source: source, id: sourceId } : undefined;
117552
+ })
117426
117553
  .filter(function (source) { return source !== undefined; }));
117427
117554
  var insertIdx = beforeLayerId ? style.layers.findIndex(function (layer) { return layer.id === beforeLayerId; }) : -1;
117428
117555
  if (insertIdx > -1) {
@@ -117458,7 +117585,7 @@ var StyleManager = /** @class */ (function () {
117458
117585
  // FIXME: below diffing will be soon fixed on the maplibre side
117459
117586
  // If there was a previous styledata change event attached, remove it.
117460
117587
  // When the sprite url changes between style changes then maplibre can't perform the diff
117461
- // In such cases it recalculate the style again. Removing previous attached
117588
+ // In such cases it recalculate the style again. Removing previous attached
117462
117589
  // event listener makes sure that style changed event is not fired twice in these cases.
117463
117590
  _this.map.events.remove("styledata", styleDataCallback);
117464
117591
  _this.map.events.addOnce("styledata", styleDataCallback);
@@ -118033,6 +118160,13 @@ var Map$1 = /** @class */ (function (_super) {
118033
118160
  _this.controls.add(_this.copyrightControl, {
118034
118161
  position: ControlPosition.NonFixed
118035
118162
  });
118163
+ // Add logo control to occupy the bottom left corner of the map.
118164
+ _this.logoControl = new LogoControl({
118165
+ showLogo: _this.styleOptions.showLogo
118166
+ });
118167
+ _this.controls.add(_this.logoControl, {
118168
+ position: ControlPosition.BottomLeft
118169
+ });
118036
118170
  // Initialize state of map
118037
118171
  // --> Initialize the authentication manager
118038
118172
  var authManInit = _this.authentication ?
@@ -118358,6 +118492,7 @@ var Map$1 = /** @class */ (function (_super) {
118358
118492
  // Add or remove the logo if needed.
118359
118493
  if (newOptions.showLogo !== this.styleOptions.showLogo) {
118360
118494
  this.copyrightControl.setOptions({ showLogo: newOptions.showLogo });
118495
+ this.logoControl.setOptions({ showLogo: newOptions.showLogo });
118361
118496
  }
118362
118497
  // Update showing tile boundaries if needed.
118363
118498
  if (newOptions.showTileBoundaries !== this.styleOptions.showTileBoundaries) {