azure-maps-control 3.4.0 → 3.5.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.css CHANGED
@@ -1448,6 +1448,28 @@
1448
1448
  .atlas-map .atlas-map.high-contrast-light .azure-maps-control-button.rotation-right {
1449
1449
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13.8 10'%3E%3Cpath d='M1 10a7.17 7.17 0 017.2-7.2' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='2'/%3E%3Cpath d='M7.8 0l6 2.5v.1L7.9 5.3z'/%3E%3C/svg%3E");
1450
1450
  }
1451
+ .atlas-map .azure-maps-control-button .fullscreen-icon {
1452
+ display: block;
1453
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjUxIiBoZWlnaHQ9IjUxIj4KPHBhdGggZD0iTTAgMCBDMS45OCAwIDMuOTYgMCA2IDAgQzYgNi42IDYgMTMuMiA2IDIwIEMtMC42IDIwIC03LjIgMjAgLTE0IDIwIEMtMTQgMTguMDIgLTE0IDE2LjA0IC0xNCAxNCBDLTkuMzggMTQgLTQuNzYgMTQgMCAxNCBDMCA5LjM4IDAgNC43NiAwIDAgWiAiIGZpbGw9IiM5ODlDQTEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQzLDI5KSIvPgo8cGF0aCBkPSJNMCAwIEMxLjk4IDAgMy45NiAwIDYgMCBDNiA0LjYyIDYgOS4yNCA2IDE0IEMxMC42MiAxNCAxNS4yNCAxNCAyMCAxNCBDMjAgMTUuOTggMjAgMTcuOTYgMjAgMjAgQzEzLjQgMjAgNi44IDIwIDAgMjAgQzAgMTMuNCAwIDYuOCAwIDAgWiAiIGZpbGw9IiM5NzlDQTAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIsMjkpIi8+CjxwYXRoIGQ9Ik0wIDAgQzYuNiAwIDEzLjIgMCAyMCAwIEMyMCA2LjYgMjAgMTMuMiAyMCAyMCBDMTguMDIgMjAgMTYuMDQgMjAgMTQgMjAgQzE0IDE1LjM4IDE0IDEwLjc2IDE0IDYgQzkuMzggNiA0Ljc2IDYgMCA2IEMwIDQuMDIgMCAyLjA0IDAgMCBaICIgZmlsbD0iIzk4OUNBMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjksMikiLz4KPHBhdGggZD0iTTAgMCBDNi42IDAgMTMuMiAwIDIwIDAgQzIwIDEuOTggMjAgMy45NiAyMCA2IEMxNS4zOCA2IDEwLjc2IDYgNiA2IEM2IDEwLjYyIDYgMTUuMjQgNiAyMCBDNC4wMiAyMCAyLjA0IDIwIDAgMjAgQzAgMTMuNCAwIDYuOCAwIDAgWiAiIGZpbGw9IiM5NzlCQTAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIsMikiLz4KPC9zdmc+Cg==);
1454
+ background-position: center center;
1455
+ background-repeat: no-repeat;
1456
+ background-size: 14px 14px;
1457
+ height: 100%;
1458
+ width: 100%;
1459
+ padding: 0;
1460
+ }
1461
+ .atlas-map .azure-maps-control-button .fullscreen-icon.fullscreen-start {
1462
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjUwIiBoZWlnaHQ9IjUwIj4KPHBhdGggZD0iTTAgMCBDNi4yNyAwIDEyLjU0IDAgMTkgMCBDMTkgMS45OCAxOSAzLjk2IDE5IDYgQzE0LjcxIDYgMTAuNDIgNiA2IDYgQzYgMTAuNjIgNiAxNS4yNCA2IDIwIEM0LjAyID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QiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIsMjkpIi8+CjxwYXRoIGQ9Ik0wIDAgQzYuNiAwIDEzLjIgMCAyMCAwIEMyMCA2LjYgMjAgMTMuMiAyMCAyMCBDMTguMDIgMjAgMTYuMDQgMjAgMTQgMjAgQzE0IDE1LjM4IDE0IDEwLjc2IDE0IDYgQzkuMzggNiA0Ljc2IDYgMCA2IEMwIDQuMDIgMCAyLjA0IDAgMCBaICIgZmlsbD0iIzMxQUNDRSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjksMikiLz4KPHBhdGggZD0iTTAgMCBDNi42IDAgMTMuMiAwIDIwIDAgQzIwIDEuOTggMjAgMy45NiAyMCA2IEMxNS4zOCA2IDEwLjc2IDYgNiA2IEM2IDEwLjYyIDYgMTUuMjQgNiAyMCBDNC4wMiAyMCAyLjA0IDIwIDAgMjAgQzAgMTMuNCAwIDYuOCAwIDAgWiAiIGZpbGw9IiMzMUFCQ0UiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIsMikiLz4KPC9zdmc+Cg==);
1472
+ }
1451
1473
  .atlas-map .azure-maps-control-button.curr-style {
1452
1474
  position: relative;
1453
1475
  flex-shrink: 0;
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$1l = (window && window.__extends) || (function () {
51658
+ var __extends$1n = (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$1l(UrlOptions, _super);
51693
+ __extends$1n(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.4.0";
52220
+ var version$3 = "3.5.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$1k = (window && window.__extends) || (function () {
52252
+ var __extends$1m = (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$1k(AuthenticationOptions, _super);
52326
+ __extends$1m(AuthenticationOptions, _super);
52327
52327
  function AuthenticationOptions() {
52328
52328
  var _this = _super !== null && _super.apply(this, arguments) || this;
52329
52329
  /**
@@ -53188,7 +53188,7 @@ uniform ${precision} ${type} u_${name};
53188
53188
  eventTarget.addEventListener("keydown", dismissTooltip);
53189
53189
  };
53190
53190
 
53191
- var __extends$1j = (window && window.__extends) || (function () {
53191
+ var __extends$1l = (window && window.__extends) || (function () {
53192
53192
  var extendStatics = function (d, b) {
53193
53193
  extendStatics = Object.setPrototypeOf ||
53194
53194
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53238,7 +53238,7 @@ uniform ${precision} ${type} u_${name};
53238
53238
  * The options for adding a control to the map.
53239
53239
  */
53240
53240
  var ControlOptions = /** @class */ (function (_super) {
53241
- __extends$1j(ControlOptions, _super);
53241
+ __extends$1l(ControlOptions, _super);
53242
53242
  function ControlOptions() {
53243
53243
  var _this = _super !== null && _super.apply(this, arguments) || this;
53244
53244
  /**
@@ -53382,7 +53382,7 @@ uniform ${precision} ${type} u_${name};
53382
53382
  EventEmitter: EventEmitter
53383
53383
  });
53384
53384
 
53385
- var __extends$1i = (window && window.__extends) || (function () {
53385
+ var __extends$1k = (window && window.__extends) || (function () {
53386
53386
  var extendStatics = function (d, b) {
53387
53387
  extendStatics = Object.setPrototypeOf ||
53388
53388
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53402,7 +53402,7 @@ uniform ${precision} ${type} u_${name};
53402
53402
  * Implements control interface and provides support for automatic styling based on the map style.
53403
53403
  */
53404
53404
  var ControlBase = /** @class */ (function (_super) {
53405
- __extends$1i(ControlBase, _super);
53405
+ __extends$1k(ControlBase, _super);
53406
53406
  function ControlBase() {
53407
53407
  var _this = _super !== null && _super.apply(this, arguments) || this;
53408
53408
  /**
@@ -53504,7 +53504,7 @@ uniform ${precision} ${type} u_${name};
53504
53504
  return ControlBase;
53505
53505
  }(EventEmitter));
53506
53506
 
53507
- var __extends$1h = (window && window.__extends) || (function () {
53507
+ var __extends$1j = (window && window.__extends) || (function () {
53508
53508
  var extendStatics = function (d, b) {
53509
53509
  extendStatics = Object.setPrototypeOf ||
53510
53510
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53523,7 +53523,7 @@ uniform ${precision} ${type} u_${name};
53523
53523
  * The options for a CompassControl object.
53524
53524
  */
53525
53525
  var CompassControlOptions = /** @class */ (function (_super) {
53526
- __extends$1h(CompassControlOptions, _super);
53526
+ __extends$1j(CompassControlOptions, _super);
53527
53527
  function CompassControlOptions() {
53528
53528
  var _this = _super !== null && _super.apply(this, arguments) || this;
53529
53529
  /**
@@ -53548,7 +53548,7 @@ uniform ${precision} ${type} u_${name};
53548
53548
  return CompassControlOptions;
53549
53549
  }(Options));
53550
53550
 
53551
- var __extends$1g = (window && window.__extends) || (function () {
53551
+ var __extends$1i = (window && window.__extends) || (function () {
53552
53552
  var extendStatics = function (d, b) {
53553
53553
  extendStatics = Object.setPrototypeOf ||
53554
53554
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53567,7 +53567,7 @@ uniform ${precision} ${type} u_${name};
53567
53567
  * A control for changing the rotation of the map.
53568
53568
  */
53569
53569
  var CompassControl = /** @class */ (function (_super) {
53570
- __extends$1g(CompassControl, _super);
53570
+ __extends$1i(CompassControl, _super);
53571
53571
  /**
53572
53572
  * Constructs a CompassControl.
53573
53573
  * @param options The options for the control.
@@ -53752,7 +53752,7 @@ uniform ${precision} ${type} u_${name};
53752
53752
  return CompassControl;
53753
53753
  }(ControlBase));
53754
53754
 
53755
- var __extends$1f = (window && window.__extends) || (function () {
53755
+ var __extends$1h = (window && window.__extends) || (function () {
53756
53756
  var extendStatics = function (d, b) {
53757
53757
  extendStatics = Object.setPrototypeOf ||
53758
53758
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53771,7 +53771,7 @@ uniform ${precision} ${type} u_${name};
53771
53771
  * The options for a PitchControl object.
53772
53772
  */
53773
53773
  var PitchControlOptions = /** @class */ (function (_super) {
53774
- __extends$1f(PitchControlOptions, _super);
53774
+ __extends$1h(PitchControlOptions, _super);
53775
53775
  function PitchControlOptions() {
53776
53776
  var _this = _super !== null && _super.apply(this, arguments) || this;
53777
53777
  /**
@@ -53796,7 +53796,7 @@ uniform ${precision} ${type} u_${name};
53796
53796
  return PitchControlOptions;
53797
53797
  }(Options));
53798
53798
 
53799
- var __extends$1e = (window && window.__extends) || (function () {
53799
+ var __extends$1g = (window && window.__extends) || (function () {
53800
53800
  var extendStatics = function (d, b) {
53801
53801
  extendStatics = Object.setPrototypeOf ||
53802
53802
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -53815,7 +53815,7 @@ uniform ${precision} ${type} u_${name};
53815
53815
  * A control for changing the pitch of the map.
53816
53816
  */
53817
53817
  var PitchControl = /** @class */ (function (_super) {
53818
- __extends$1e(PitchControl, _super);
53818
+ __extends$1g(PitchControl, _super);
53819
53819
  /**
53820
53820
  * Constructs a PitchControl.
53821
53821
  * @param options The options for the control.
@@ -54043,7 +54043,7 @@ uniform ${precision} ${type} u_${name};
54043
54043
  return PitchControl;
54044
54044
  }(ControlBase));
54045
54045
 
54046
- var __extends$1d = (window && window.__extends) || (function () {
54046
+ var __extends$1f = (window && window.__extends) || (function () {
54047
54047
  var extendStatics = function (d, b) {
54048
54048
  extendStatics = Object.setPrototypeOf ||
54049
54049
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -54062,7 +54062,7 @@ uniform ${precision} ${type} u_${name};
54062
54062
  * A control to display a scale bar on the map.
54063
54063
  */
54064
54064
  var ScaleControl = /** @class */ (function (_super) {
54065
- __extends$1d(ScaleControl, _super);
54065
+ __extends$1f(ScaleControl, _super);
54066
54066
  /**
54067
54067
  * A control to displays a scale bar relative to the pixel resolution at the center of the map.
54068
54068
  * @param options Options for defining how the control is rendered and functions.
@@ -57580,7 +57580,7 @@ uniform ${precision} ${type} u_${name};
57580
57580
 
57581
57581
  var merge$1 = /*@__PURE__*/getDefaultExportFromCjs(merge_1);
57582
57582
 
57583
- var __extends$1c = (window && window.__extends) || (function () {
57583
+ var __extends$1e = (window && window.__extends) || (function () {
57584
57584
  var extendStatics = function (d, b) {
57585
57585
  extendStatics = Object.setPrototypeOf ||
57586
57586
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -57599,7 +57599,7 @@ uniform ${precision} ${type} u_${name};
57599
57599
  * The options for a StyleControl object.
57600
57600
  */
57601
57601
  var StyleControlOptions = /** @class */ (function (_super) {
57602
- __extends$1c(StyleControlOptions, _super);
57602
+ __extends$1e(StyleControlOptions, _super);
57603
57603
  function StyleControlOptions() {
57604
57604
  var _this = _super !== null && _super.apply(this, arguments) || this;
57605
57605
  /**
@@ -57644,7 +57644,7 @@ uniform ${precision} ${type} u_${name};
57644
57644
  return StyleControlOptions;
57645
57645
  }(Options));
57646
57646
 
57647
- var __extends$1b = (window && window.__extends) || (function () {
57647
+ var __extends$1d = (window && window.__extends) || (function () {
57648
57648
  var extendStatics = function (d, b) {
57649
57649
  extendStatics = Object.setPrototypeOf ||
57650
57650
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -57715,7 +57715,7 @@ uniform ${precision} ${type} u_${name};
57715
57715
  * A control for changing the style of the map.
57716
57716
  */
57717
57717
  var StyleControl = /** @class */ (function (_super) {
57718
- __extends$1b(StyleControl, _super);
57718
+ __extends$1d(StyleControl, _super);
57719
57719
  /**
57720
57720
  * Constructs a StyleControl.
57721
57721
  * @param options The options for the control.
@@ -58080,7 +58080,7 @@ uniform ${precision} ${type} u_${name};
58080
58080
  return StyleControl;
58081
58081
  }(ControlBase));
58082
58082
 
58083
- var __extends$1a = (window && window.__extends) || (function () {
58083
+ var __extends$1c = (window && window.__extends) || (function () {
58084
58084
  var extendStatics = function (d, b) {
58085
58085
  extendStatics = Object.setPrototypeOf ||
58086
58086
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -58099,7 +58099,7 @@ uniform ${precision} ${type} u_${name};
58099
58099
  * The options for setting traffic on the map.
58100
58100
  */
58101
58101
  var TrafficOptions = /** @class */ (function (_super) {
58102
- __extends$1a(TrafficOptions, _super);
58102
+ __extends$1c(TrafficOptions, _super);
58103
58103
  function TrafficOptions() {
58104
58104
  var _this = _super !== null && _super.apply(this, arguments) || this;
58105
58105
  /**
@@ -58124,7 +58124,7 @@ uniform ${precision} ${type} u_${name};
58124
58124
  return TrafficOptions;
58125
58125
  }(Options));
58126
58126
 
58127
- var __extends$19 = (window && window.__extends) || (function () {
58127
+ var __extends$1b = (window && window.__extends) || (function () {
58128
58128
  var extendStatics = function (d, b) {
58129
58129
  extendStatics = Object.setPrototypeOf ||
58130
58130
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -58143,7 +58143,7 @@ uniform ${precision} ${type} u_${name};
58143
58143
  * The options for a TrafficControl object.
58144
58144
  */
58145
58145
  var TrafficControlOptions = /** @class */ (function (_super) {
58146
- __extends$19(TrafficControlOptions, _super);
58146
+ __extends$1b(TrafficControlOptions, _super);
58147
58147
  function TrafficControlOptions() {
58148
58148
  var _this = _super !== null && _super.apply(this, arguments) || this;
58149
58149
  /**
@@ -58163,7 +58163,7 @@ uniform ${precision} ${type} u_${name};
58163
58163
  return TrafficControlOptions;
58164
58164
  }(TrafficOptions));
58165
58165
 
58166
- var __extends$18 = (window && window.__extends) || (function () {
58166
+ var __extends$1a = (window && window.__extends) || (function () {
58167
58167
  var extendStatics = function (d, b) {
58168
58168
  extendStatics = Object.setPrototypeOf ||
58169
58169
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -58182,7 +58182,7 @@ uniform ${precision} ${type} u_${name};
58182
58182
  * A control that toggles traffic data on the map.
58183
58183
  */
58184
58184
  var TrafficControl = /** @class */ (function (_super) {
58185
- __extends$18(TrafficControl, _super);
58185
+ __extends$1a(TrafficControl, _super);
58186
58186
  /**
58187
58187
  * Constructs a TrafficControl
58188
58188
  * @param options The options for the control.
@@ -58309,7 +58309,7 @@ uniform ${precision} ${type} u_${name};
58309
58309
  return TrafficControl;
58310
58310
  }(ControlBase));
58311
58311
 
58312
- var __extends$17 = (window && window.__extends) || (function () {
58312
+ var __extends$19 = (window && window.__extends) || (function () {
58313
58313
  var extendStatics = function (d, b) {
58314
58314
  extendStatics = Object.setPrototypeOf ||
58315
58315
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -58339,7 +58339,7 @@ uniform ${precision} ${type} u_${name};
58339
58339
  * A control that display traffic legend on the map.
58340
58340
  */
58341
58341
  var TrafficLegendControl = /** @class */ (function (_super) {
58342
- __extends$17(TrafficLegendControl, _super);
58342
+ __extends$19(TrafficLegendControl, _super);
58343
58343
  /**
58344
58344
  * Construct a traffic legend control
58345
58345
  */
@@ -59073,7 +59073,7 @@ uniform ${precision} ${type} u_${name};
59073
59073
  return Feature;
59074
59074
  }());
59075
59075
 
59076
- var __extends$16 = (window && window.__extends) || (function () {
59076
+ var __extends$18 = (window && window.__extends) || (function () {
59077
59077
  var extendStatics = function (d, b) {
59078
59078
  extendStatics = Object.setPrototypeOf ||
59079
59079
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -59092,7 +59092,7 @@ uniform ${precision} ${type} u_${name};
59092
59092
  * Represent a pixel coordinate or offset. Extends an array of [x, y].
59093
59093
  */
59094
59094
  var Pixel = /** @class */ (function (_super) {
59095
- __extends$16(Pixel, _super);
59095
+ __extends$18(Pixel, _super);
59096
59096
  /**
59097
59097
  * Constructs a Pixel object and initializes it with the specified x and y coordinates.
59098
59098
  * @param x The horizontal pixel offset.
@@ -61312,7 +61312,7 @@ uniform ${precision} ${type} u_${name};
61312
61312
  return result;
61313
61313
  }
61314
61314
 
61315
- var __extends$15 = (window && window.__extends) || (function () {
61315
+ var __extends$17 = (window && window.__extends) || (function () {
61316
61316
  var extendStatics = function (d, b) {
61317
61317
  extendStatics = Object.setPrototypeOf ||
61318
61318
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -61332,7 +61332,7 @@ uniform ${precision} ${type} u_${name};
61332
61332
  * full description is detailed in [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-3.1.1}.
61333
61333
  */
61334
61334
  var Position = /** @class */ (function (_super) {
61335
- __extends$15(Position, _super);
61335
+ __extends$17(Position, _super);
61336
61336
  /**
61337
61337
  * Constructs a Position.
61338
61338
  * @param longitude The position's longitude.
@@ -61524,7 +61524,7 @@ uniform ${precision} ${type} u_${name};
61524
61524
  return Polygon;
61525
61525
  }());
61526
61526
 
61527
- var __extends$14 = (window && window.__extends) || (function () {
61527
+ var __extends$16 = (window && window.__extends) || (function () {
61528
61528
  var extendStatics = function (d, b) {
61529
61529
  extendStatics = Object.setPrototypeOf ||
61530
61530
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -61554,7 +61554,7 @@ uniform ${precision} ${type} u_${name};
61554
61554
  * A helper class that wraps a Geometry or Feature and makes it easy to update and maintain.
61555
61555
  */
61556
61556
  var Shape = /** @class */ (function (_super) {
61557
- __extends$14(Shape, _super);
61557
+ __extends$16(Shape, _super);
61558
61558
  function Shape(data, id, properties) {
61559
61559
  var _this = _super.call(this) || this;
61560
61560
  var geometry;
@@ -61850,7 +61850,7 @@ uniform ${precision} ${type} u_${name};
61850
61850
  return Shape;
61851
61851
  }(EventEmitter));
61852
61852
 
61853
- var __extends$13 = (window && window.__extends) || (function () {
61853
+ var __extends$15 = (window && window.__extends) || (function () {
61854
61854
  var extendStatics = function (d, b) {
61855
61855
  extendStatics = Object.setPrototypeOf ||
61856
61856
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -61883,7 +61883,7 @@ uniform ${precision} ${type} u_${name};
61883
61883
  * [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-5}.
61884
61884
  */
61885
61885
  var BoundingBox = /** @class */ (function (_super) {
61886
- __extends$13(BoundingBox, _super);
61886
+ __extends$15(BoundingBox, _super);
61887
61887
  function BoundingBox(southwestPositionOrPositions, northeastPosition) {
61888
61888
  var _this = this;
61889
61889
  if (southwestPositionOrPositions && northeastPosition) {
@@ -62600,7 +62600,7 @@ uniform ${precision} ${type} u_${name};
62600
62600
  return MultiPolygon;
62601
62601
  }());
62602
62602
 
62603
- var __extends$12 = (window && window.__extends) || (function () {
62603
+ var __extends$14 = (window && window.__extends) || (function () {
62604
62604
  var extendStatics = function (d, b) {
62605
62605
  extendStatics = Object.setPrototypeOf ||
62606
62606
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -62631,7 +62631,7 @@ uniform ${precision} ${type} u_${name};
62631
62631
  * The `z` dimension of `MercatorPoint` is conformal. A cube in the mercator coordinate space would be rendered as a cube.
62632
62632
  */
62633
62633
  var MercatorPoint = /** @class */ (function (_super) {
62634
- __extends$12(MercatorPoint, _super);
62634
+ __extends$14(MercatorPoint, _super);
62635
62635
  /**
62636
62636
  * Constructs a MercatorPoint.
62637
62637
  * @param x A points x position in mercator units.
@@ -63120,7 +63120,7 @@ uniform ${precision} ${type} u_${name};
63120
63120
  simplify: simplify
63121
63121
  });
63122
63122
 
63123
- var __extends$11 = (window && window.__extends) || (function () {
63123
+ var __extends$13 = (window && window.__extends) || (function () {
63124
63124
  var extendStatics = function (d, b) {
63125
63125
  extendStatics = Object.setPrototypeOf ||
63126
63126
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -63139,7 +63139,7 @@ uniform ${precision} ${type} u_${name};
63139
63139
  * The options for a ZoomControl object.
63140
63140
  */
63141
63141
  var ZoomControlOptions = /** @class */ (function (_super) {
63142
- __extends$11(ZoomControlOptions, _super);
63142
+ __extends$13(ZoomControlOptions, _super);
63143
63143
  function ZoomControlOptions() {
63144
63144
  var _this = _super !== null && _super.apply(this, arguments) || this;
63145
63145
  /**
@@ -63159,7 +63159,7 @@ uniform ${precision} ${type} u_${name};
63159
63159
  return ZoomControlOptions;
63160
63160
  }(Options));
63161
63161
 
63162
- var __extends$10 = (window && window.__extends) || (function () {
63162
+ var __extends$12 = (window && window.__extends) || (function () {
63163
63163
  var extendStatics = function (d, b) {
63164
63164
  extendStatics = Object.setPrototypeOf ||
63165
63165
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
@@ -63178,7 +63178,7 @@ uniform ${precision} ${type} u_${name};
63178
63178
  * A control for changing the zoom of the map.
63179
63179
  */
63180
63180
  var ZoomControl = /** @class */ (function (_super) {
63181
- __extends$10(ZoomControl, _super);
63181
+ __extends$12(ZoomControl, _super);
63182
63182
  /**
63183
63183
  * Constructs a ZoomControl.
63184
63184
  * @param options The options for the control.
@@ -63292,10 +63292,169 @@ uniform ${precision} ${type} u_${name};
63292
63292
  return ZoomControl;
63293
63293
  }(ControlBase));
63294
63294
 
63295
+ var __extends$11 = (window && window.__extends) || (function () {
63296
+ var extendStatics = function (d, b) {
63297
+ extendStatics = Object.setPrototypeOf ||
63298
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
63299
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
63300
+ return extendStatics(d, b);
63301
+ };
63302
+ return function (d, b) {
63303
+ if (typeof b !== "function" && b !== null)
63304
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
63305
+ extendStatics(d, b);
63306
+ function __() { this.constructor = d; }
63307
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
63308
+ };
63309
+ })();
63310
+ /**
63311
+ * The options for a FullscreenControl object.
63312
+ */
63313
+ var FullscreenControlOptions = /** @class */ (function (_super) {
63314
+ __extends$11(FullscreenControlOptions, _super);
63315
+ function FullscreenControlOptions() {
63316
+ var _this = _super !== null && _super.apply(this, arguments) || this;
63317
+ /**
63318
+ * The style of the control.
63319
+ * Default `ControlStyle.light`
63320
+ * @default ControlStyle.light
63321
+ */
63322
+ _this.style = exports.ControlStyle.light;
63323
+ /**
63324
+ * Indicates if the control should be hidden if the browser does not support fullscreen mode.
63325
+ * Default `false`
63326
+ * @default false
63327
+ */
63328
+ _this.hideIfUnsupported = false;
63329
+ /**
63330
+ * The HTML element which should be made full screen.
63331
+ * If not specified, the map container element will be used.
63332
+ */
63333
+ _this.container = undefined;
63334
+ return _this;
63335
+ }
63336
+ return FullscreenControlOptions;
63337
+ }(Options));
63338
+
63339
+ var __extends$10 = (window && window.__extends) || (function () {
63340
+ var extendStatics = function (d, b) {
63341
+ extendStatics = Object.setPrototypeOf ||
63342
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
63343
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
63344
+ return extendStatics(d, b);
63345
+ };
63346
+ return function (d, b) {
63347
+ if (typeof b !== "function" && b !== null)
63348
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
63349
+ extendStatics(d, b);
63350
+ function __() { this.constructor = d; }
63351
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
63352
+ };
63353
+ })();
63354
+ /**
63355
+ * A control to make the map or a specified element fullscreen.
63356
+ */
63357
+ var FullscreenControl = /** @class */ (function (_super) {
63358
+ __extends$10(FullscreenControl, _super);
63359
+ /**
63360
+ * A control to make the map or a specified element fullscreen.
63361
+ * @param options Options for defining how the control is rendered and the container to be made fullscreen.
63362
+ */
63363
+ function FullscreenControl(options) {
63364
+ var _this = _super.call(this) || this;
63365
+ _this.map = null;
63366
+ _this.isFullscreenState = false;
63367
+ _this.options = new FullscreenControlOptions().merge(options);
63368
+ _this.control = new maplibregl.FullscreenControl({
63369
+ container: _this.options.container,
63370
+ });
63371
+ return _this;
63372
+ }
63373
+ /**
63374
+ * Initialization method for the control which is called when added to the map.
63375
+ * @param map The map that the control will be added to.
63376
+ * @param options The ControlOptions for this control.
63377
+ * @return An HTMLElement to be placed on the map for the control.
63378
+ */
63379
+ FullscreenControl.prototype.onAdd = function (map) {
63380
+ var _this = this;
63381
+ var _a, _b;
63382
+ this.map = map;
63383
+ (_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a._getMap()) === null || _b === void 0 ? void 0 : _b.addControl(this.control);
63384
+ var container = this.buildContainer(map, this.options.style, "Fullscreen Control");
63385
+ var fullscreenButton = this.control._fullscreenButton;
63386
+ if (fullscreenButton) {
63387
+ var icon_1 = fullscreenButton.querySelector("span");
63388
+ if (icon_1) {
63389
+ var tooltip_1 = buildAccessibleTooltip("Enter Fullscreen");
63390
+ container.appendChild(fullscreenButton);
63391
+ // Add classes for styling.
63392
+ fullscreenButton.classList.add("azure-maps-control-button", "fullscreen");
63393
+ icon_1.classList.add("fullscreen-icon", "fullscreen-end");
63394
+ // Add the tooltip and prevent the default one set by Maplibre.
63395
+ fullscreenButton.removeAttribute("title"); // A title attribute will be converted to a tooltip by the browser.
63396
+ container.appendChild(tooltip_1);
63397
+ positionTooltip(tooltip_1, fullscreenButton);
63398
+ // Update the icon and the tooltip based on the fullscreen state.
63399
+ this.control.on("fullscreenstart", function () {
63400
+ // Remove the title attribute added automatically whenever fullscreen event is fired
63401
+ fullscreenButton.removeAttribute("title");
63402
+ icon_1.classList.remove("fullscreen-end");
63403
+ icon_1.classList.add("fullscreen-start");
63404
+ tooltip_1.innerText = "Exit Fullscreen";
63405
+ _this.isFullscreenState = true;
63406
+ });
63407
+ this.control.on("fullscreenend", function () {
63408
+ fullscreenButton.removeAttribute("title");
63409
+ icon_1.classList.remove("fullscreen-start");
63410
+ icon_1.classList.add("fullscreen-end");
63411
+ tooltip_1.innerText = "Enter Fullscreen";
63412
+ _this.isFullscreenState = false;
63413
+ });
63414
+ }
63415
+ }
63416
+ // Invisiblize the control if the browser does not support fullscreen mode.
63417
+ if (this.options.hideIfUnsupported && !FullscreenControl.isSupported()) {
63418
+ container.style.display = "none";
63419
+ }
63420
+ return container;
63421
+ };
63422
+ /**
63423
+ * Method that is called when the control is removed from the map. Should perform any necessary cleanup for the
63424
+ * control.
63425
+ */
63426
+ FullscreenControl.prototype.onRemove = function () {
63427
+ var _a, _b;
63428
+ _super.prototype.onRemove.call(this);
63429
+ (_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a._getMap()) === null || _b === void 0 ? void 0 : _b.removeControl(this.control);
63430
+ this.map = null;
63431
+ };
63432
+ /**
63433
+ * Gets the current fullscreen state of the map.
63434
+ * @returns A boolean indicating if the map is in fullscreen mode.
63435
+ */
63436
+ FullscreenControl.prototype.isFullscreen = function () {
63437
+ return this.isFullscreenState;
63438
+ };
63439
+ /**
63440
+ * Checks to see if the browser supports going into fullscreen mode.
63441
+ * @returns A boolean indicating if the browser supports fullscreen mode.
63442
+ */
63443
+ FullscreenControl.isSupported = function () {
63444
+ var d = document;
63445
+ return d['fullscreenEnabled'] ||
63446
+ d['msFullscreenEnabled'] ||
63447
+ d['mozFullScreenEnabled'] ||
63448
+ d['webkitFullscreenEnabled'];
63449
+ };
63450
+ return FullscreenControl;
63451
+ }(ControlBase));
63452
+
63295
63453
  var index$2 = /*#__PURE__*/Object.freeze({
63296
63454
  __proto__: null,
63297
63455
  CompassControl: CompassControl,
63298
63456
  ControlBase: ControlBase,
63457
+ FullscreenControl: FullscreenControl,
63299
63458
  PitchControl: PitchControl,
63300
63459
  ScaleControl: ScaleControl,
63301
63460
  StyleControl: StyleControl,