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-core-bare-snr-min.js +1 -1
- package/dist/atlas-core-bare-snr.js +295 -160
- package/dist/atlas-core-bare.js +295 -160
- package/dist/atlas-core-bare.min.js +1 -1
- package/dist/atlas-core-snr.js +295 -160
- package/dist/atlas-core.js +295 -160
- package/dist/atlas-core.min.js +1 -1
- package/dist/atlas-esm.js +295 -160
- package/dist/atlas-esm.min.js +3 -3
- package/dist/atlas.css +45 -6
- package/dist/atlas.js +295 -160
- package/dist/atlas.min.css +1 -1
- package/dist/atlas.min.js +1 -1
- package/package.json +3 -3
- package/typings/index.d.ts +11 -1
package/dist/atlas-core-snr.js
CHANGED
|
@@ -51655,7 +51655,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
51655
51655
|
return Options;
|
|
51656
51656
|
}());
|
|
51657
51657
|
|
|
51658
|
-
var __extends$
|
|
51658
|
+
var __extends$1i = (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$
|
|
51693
|
+
__extends$1i(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.
|
|
52220
|
+
var version = "3.3.0";
|
|
52221
52221
|
|
|
52222
52222
|
/**
|
|
52223
52223
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -52249,7 +52249,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
52249
52249
|
return Version;
|
|
52250
52250
|
}());
|
|
52251
52251
|
|
|
52252
|
-
var __extends$
|
|
52252
|
+
var __extends$1h = (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$
|
|
52326
|
+
__extends$1h(AuthenticationOptions, _super);
|
|
52327
52327
|
function AuthenticationOptions() {
|
|
52328
52328
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
52329
52329
|
/**
|
|
@@ -53164,7 +53164,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
53164
53164
|
eventTarget.addEventListener("keydown", dismissTooltip);
|
|
53165
53165
|
};
|
|
53166
53166
|
|
|
53167
|
-
var __extends$
|
|
53167
|
+
var __extends$1g = (window && window.__extends) || (function () {
|
|
53168
53168
|
var extendStatics = function (d, b) {
|
|
53169
53169
|
extendStatics = Object.setPrototypeOf ||
|
|
53170
53170
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -53214,7 +53214,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
53214
53214
|
* The options for adding a control to the map.
|
|
53215
53215
|
*/
|
|
53216
53216
|
var ControlOptions = /** @class */ (function (_super) {
|
|
53217
|
-
__extends$
|
|
53217
|
+
__extends$1g(ControlOptions, _super);
|
|
53218
53218
|
function ControlOptions() {
|
|
53219
53219
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
53220
53220
|
/**
|
|
@@ -53358,7 +53358,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
53358
53358
|
EventEmitter: EventEmitter
|
|
53359
53359
|
});
|
|
53360
53360
|
|
|
53361
|
-
var __extends$
|
|
53361
|
+
var __extends$1f = (window && window.__extends) || (function () {
|
|
53362
53362
|
var extendStatics = function (d, b) {
|
|
53363
53363
|
extendStatics = Object.setPrototypeOf ||
|
|
53364
53364
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -53378,7 +53378,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
53378
53378
|
* Implements control interface and provides support for automatic styling based on the map style.
|
|
53379
53379
|
*/
|
|
53380
53380
|
var ControlBase = /** @class */ (function (_super) {
|
|
53381
|
-
__extends$
|
|
53381
|
+
__extends$1f(ControlBase, _super);
|
|
53382
53382
|
function ControlBase() {
|
|
53383
53383
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
53384
53384
|
/**
|
|
@@ -53480,7 +53480,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
53480
53480
|
return ControlBase;
|
|
53481
53481
|
}(EventEmitter));
|
|
53482
53482
|
|
|
53483
|
-
var __extends$
|
|
53483
|
+
var __extends$1e = (window && window.__extends) || (function () {
|
|
53484
53484
|
var extendStatics = function (d, b) {
|
|
53485
53485
|
extendStatics = Object.setPrototypeOf ||
|
|
53486
53486
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -53499,7 +53499,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
53499
53499
|
* The options for a CompassControl object.
|
|
53500
53500
|
*/
|
|
53501
53501
|
var CompassControlOptions = /** @class */ (function (_super) {
|
|
53502
|
-
__extends$
|
|
53502
|
+
__extends$1e(CompassControlOptions, _super);
|
|
53503
53503
|
function CompassControlOptions() {
|
|
53504
53504
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
53505
53505
|
/**
|
|
@@ -53524,7 +53524,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
53524
53524
|
return CompassControlOptions;
|
|
53525
53525
|
}(Options));
|
|
53526
53526
|
|
|
53527
|
-
var __extends$
|
|
53527
|
+
var __extends$1d = (window && window.__extends) || (function () {
|
|
53528
53528
|
var extendStatics = function (d, b) {
|
|
53529
53529
|
extendStatics = Object.setPrototypeOf ||
|
|
53530
53530
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -53543,7 +53543,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
53543
53543
|
* A control for changing the rotation of the map.
|
|
53544
53544
|
*/
|
|
53545
53545
|
var CompassControl = /** @class */ (function (_super) {
|
|
53546
|
-
__extends$
|
|
53546
|
+
__extends$1d(CompassControl, _super);
|
|
53547
53547
|
/**
|
|
53548
53548
|
* Constructs a CompassControl.
|
|
53549
53549
|
* @param options The options for the control.
|
|
@@ -53728,7 +53728,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
53728
53728
|
return CompassControl;
|
|
53729
53729
|
}(ControlBase));
|
|
53730
53730
|
|
|
53731
|
-
var __extends$
|
|
53731
|
+
var __extends$1c = (window && window.__extends) || (function () {
|
|
53732
53732
|
var extendStatics = function (d, b) {
|
|
53733
53733
|
extendStatics = Object.setPrototypeOf ||
|
|
53734
53734
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -53747,7 +53747,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
53747
53747
|
* The options for a PitchControl object.
|
|
53748
53748
|
*/
|
|
53749
53749
|
var PitchControlOptions = /** @class */ (function (_super) {
|
|
53750
|
-
__extends$
|
|
53750
|
+
__extends$1c(PitchControlOptions, _super);
|
|
53751
53751
|
function PitchControlOptions() {
|
|
53752
53752
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
53753
53753
|
/**
|
|
@@ -53772,7 +53772,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
53772
53772
|
return PitchControlOptions;
|
|
53773
53773
|
}(Options));
|
|
53774
53774
|
|
|
53775
|
-
var __extends$
|
|
53775
|
+
var __extends$1b = (window && window.__extends) || (function () {
|
|
53776
53776
|
var extendStatics = function (d, b) {
|
|
53777
53777
|
extendStatics = Object.setPrototypeOf ||
|
|
53778
53778
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -53791,7 +53791,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
53791
53791
|
* A control for changing the pitch of the map.
|
|
53792
53792
|
*/
|
|
53793
53793
|
var PitchControl = /** @class */ (function (_super) {
|
|
53794
|
-
__extends$
|
|
53794
|
+
__extends$1b(PitchControl, _super);
|
|
53795
53795
|
/**
|
|
53796
53796
|
* Constructs a PitchControl.
|
|
53797
53797
|
* @param options The options for the control.
|
|
@@ -54019,7 +54019,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
54019
54019
|
return PitchControl;
|
|
54020
54020
|
}(ControlBase));
|
|
54021
54021
|
|
|
54022
|
-
var __extends$
|
|
54022
|
+
var __extends$1a = (window && window.__extends) || (function () {
|
|
54023
54023
|
var extendStatics = function (d, b) {
|
|
54024
54024
|
extendStatics = Object.setPrototypeOf ||
|
|
54025
54025
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -54038,7 +54038,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
54038
54038
|
* A control to display a scale bar on the map.
|
|
54039
54039
|
*/
|
|
54040
54040
|
var ScaleControl = /** @class */ (function (_super) {
|
|
54041
|
-
__extends$
|
|
54041
|
+
__extends$1a(ScaleControl, _super);
|
|
54042
54042
|
/**
|
|
54043
54043
|
* A control to displays a scale bar relative to the pixel resolution at the center of the map.
|
|
54044
54044
|
* @param options Options for defining how the control is rendered and functions.
|
|
@@ -57556,7 +57556,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
57556
57556
|
|
|
57557
57557
|
var merge$1 = /*@__PURE__*/getDefaultExportFromCjs(merge_1);
|
|
57558
57558
|
|
|
57559
|
-
var __extends$
|
|
57559
|
+
var __extends$19 = (window && window.__extends) || (function () {
|
|
57560
57560
|
var extendStatics = function (d, b) {
|
|
57561
57561
|
extendStatics = Object.setPrototypeOf ||
|
|
57562
57562
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -57575,7 +57575,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
57575
57575
|
* The options for a StyleControl object.
|
|
57576
57576
|
*/
|
|
57577
57577
|
var StyleControlOptions = /** @class */ (function (_super) {
|
|
57578
|
-
__extends$
|
|
57578
|
+
__extends$19(StyleControlOptions, _super);
|
|
57579
57579
|
function StyleControlOptions() {
|
|
57580
57580
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
57581
57581
|
/**
|
|
@@ -57620,7 +57620,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
57620
57620
|
return StyleControlOptions;
|
|
57621
57621
|
}(Options));
|
|
57622
57622
|
|
|
57623
|
-
var __extends$
|
|
57623
|
+
var __extends$18 = (window && window.__extends) || (function () {
|
|
57624
57624
|
var extendStatics = function (d, b) {
|
|
57625
57625
|
extendStatics = Object.setPrototypeOf ||
|
|
57626
57626
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -57691,7 +57691,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
57691
57691
|
* A control for changing the style of the map.
|
|
57692
57692
|
*/
|
|
57693
57693
|
var StyleControl = /** @class */ (function (_super) {
|
|
57694
|
-
__extends$
|
|
57694
|
+
__extends$18(StyleControl, _super);
|
|
57695
57695
|
/**
|
|
57696
57696
|
* Constructs a StyleControl.
|
|
57697
57697
|
* @param options The options for the control.
|
|
@@ -58056,7 +58056,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
58056
58056
|
return StyleControl;
|
|
58057
58057
|
}(ControlBase));
|
|
58058
58058
|
|
|
58059
|
-
var __extends$
|
|
58059
|
+
var __extends$17 = (window && window.__extends) || (function () {
|
|
58060
58060
|
var extendStatics = function (d, b) {
|
|
58061
58061
|
extendStatics = Object.setPrototypeOf ||
|
|
58062
58062
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -58075,7 +58075,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
58075
58075
|
* The options for setting traffic on the map.
|
|
58076
58076
|
*/
|
|
58077
58077
|
var TrafficOptions = /** @class */ (function (_super) {
|
|
58078
|
-
__extends$
|
|
58078
|
+
__extends$17(TrafficOptions, _super);
|
|
58079
58079
|
function TrafficOptions() {
|
|
58080
58080
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
58081
58081
|
/**
|
|
@@ -58100,7 +58100,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
58100
58100
|
return TrafficOptions;
|
|
58101
58101
|
}(Options));
|
|
58102
58102
|
|
|
58103
|
-
var __extends$
|
|
58103
|
+
var __extends$16 = (window && window.__extends) || (function () {
|
|
58104
58104
|
var extendStatics = function (d, b) {
|
|
58105
58105
|
extendStatics = Object.setPrototypeOf ||
|
|
58106
58106
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -58119,7 +58119,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
58119
58119
|
* The options for a TrafficControl object.
|
|
58120
58120
|
*/
|
|
58121
58121
|
var TrafficControlOptions = /** @class */ (function (_super) {
|
|
58122
|
-
__extends$
|
|
58122
|
+
__extends$16(TrafficControlOptions, _super);
|
|
58123
58123
|
function TrafficControlOptions() {
|
|
58124
58124
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
58125
58125
|
/**
|
|
@@ -58139,7 +58139,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
58139
58139
|
return TrafficControlOptions;
|
|
58140
58140
|
}(TrafficOptions));
|
|
58141
58141
|
|
|
58142
|
-
var __extends$
|
|
58142
|
+
var __extends$15 = (window && window.__extends) || (function () {
|
|
58143
58143
|
var extendStatics = function (d, b) {
|
|
58144
58144
|
extendStatics = Object.setPrototypeOf ||
|
|
58145
58145
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -58158,7 +58158,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
58158
58158
|
* A control that toggles traffic data on the map.
|
|
58159
58159
|
*/
|
|
58160
58160
|
var TrafficControl = /** @class */ (function (_super) {
|
|
58161
|
-
__extends$
|
|
58161
|
+
__extends$15(TrafficControl, _super);
|
|
58162
58162
|
/**
|
|
58163
58163
|
* Constructs a TrafficControl
|
|
58164
58164
|
* @param options The options for the control.
|
|
@@ -58285,7 +58285,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
58285
58285
|
return TrafficControl;
|
|
58286
58286
|
}(ControlBase));
|
|
58287
58287
|
|
|
58288
|
-
var __extends$
|
|
58288
|
+
var __extends$14 = (window && window.__extends) || (function () {
|
|
58289
58289
|
var extendStatics = function (d, b) {
|
|
58290
58290
|
extendStatics = Object.setPrototypeOf ||
|
|
58291
58291
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -58315,7 +58315,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
58315
58315
|
* A control that display traffic legend on the map.
|
|
58316
58316
|
*/
|
|
58317
58317
|
var TrafficLegendControl = /** @class */ (function (_super) {
|
|
58318
|
-
__extends$
|
|
58318
|
+
__extends$14(TrafficLegendControl, _super);
|
|
58319
58319
|
/**
|
|
58320
58320
|
* Construct a traffic legend control
|
|
58321
58321
|
*/
|
|
@@ -59049,7 +59049,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
59049
59049
|
return Feature;
|
|
59050
59050
|
}());
|
|
59051
59051
|
|
|
59052
|
-
var __extends$
|
|
59052
|
+
var __extends$13 = (window && window.__extends) || (function () {
|
|
59053
59053
|
var extendStatics = function (d, b) {
|
|
59054
59054
|
extendStatics = Object.setPrototypeOf ||
|
|
59055
59055
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -59068,7 +59068,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
59068
59068
|
* Represent a pixel coordinate or offset. Extends an array of [x, y].
|
|
59069
59069
|
*/
|
|
59070
59070
|
var Pixel = /** @class */ (function (_super) {
|
|
59071
|
-
__extends$
|
|
59071
|
+
__extends$13(Pixel, _super);
|
|
59072
59072
|
/**
|
|
59073
59073
|
* Constructs a Pixel object and initializes it with the specified x and y coordinates.
|
|
59074
59074
|
* @param x The horizontal pixel offset.
|
|
@@ -61288,7 +61288,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
61288
61288
|
return result;
|
|
61289
61289
|
}
|
|
61290
61290
|
|
|
61291
|
-
var __extends$
|
|
61291
|
+
var __extends$12 = (window && window.__extends) || (function () {
|
|
61292
61292
|
var extendStatics = function (d, b) {
|
|
61293
61293
|
extendStatics = Object.setPrototypeOf ||
|
|
61294
61294
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -61308,7 +61308,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
61308
61308
|
* full description is detailed in [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-3.1.1}.
|
|
61309
61309
|
*/
|
|
61310
61310
|
var Position = /** @class */ (function (_super) {
|
|
61311
|
-
__extends$
|
|
61311
|
+
__extends$12(Position, _super);
|
|
61312
61312
|
/**
|
|
61313
61313
|
* Constructs a Position.
|
|
61314
61314
|
* @param longitude The position's longitude.
|
|
@@ -61371,10 +61371,10 @@ uniform ${precision} ${type} u_${name};
|
|
|
61371
61371
|
Position.fromLatLng = function (y, x, z) {
|
|
61372
61372
|
var position = [];
|
|
61373
61373
|
if (typeof y === "number") {
|
|
61374
|
-
position.push(y);
|
|
61375
61374
|
if (typeof x === "number") {
|
|
61376
61375
|
position.push(x);
|
|
61377
61376
|
}
|
|
61377
|
+
position.push(y);
|
|
61378
61378
|
if (typeof z === "number") {
|
|
61379
61379
|
position.push(z);
|
|
61380
61380
|
}
|
|
@@ -61383,10 +61383,10 @@ uniform ${precision} ${type} u_${name};
|
|
|
61383
61383
|
// Assume array is in the form [lat, lng] or [lat, lng, elv]
|
|
61384
61384
|
if (y.length >= 2 && typeof y[0] === "number" && typeof y[1] === "number") {
|
|
61385
61385
|
if (y.length >= 3 && typeof y[2] === "number") {
|
|
61386
|
-
position.push(y[
|
|
61386
|
+
position.push(y[1], y[0], y[2]);
|
|
61387
61387
|
}
|
|
61388
61388
|
else {
|
|
61389
|
-
position.push(y[
|
|
61389
|
+
position.push(y[1], y[0]);
|
|
61390
61390
|
}
|
|
61391
61391
|
}
|
|
61392
61392
|
}
|
|
@@ -61500,7 +61500,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
61500
61500
|
return Polygon;
|
|
61501
61501
|
}());
|
|
61502
61502
|
|
|
61503
|
-
var __extends
|
|
61503
|
+
var __extends$11 = (window && window.__extends) || (function () {
|
|
61504
61504
|
var extendStatics = function (d, b) {
|
|
61505
61505
|
extendStatics = Object.setPrototypeOf ||
|
|
61506
61506
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -61530,7 +61530,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
61530
61530
|
* A helper class that wraps a Geometry or Feature and makes it easy to update and maintain.
|
|
61531
61531
|
*/
|
|
61532
61532
|
var Shape = /** @class */ (function (_super) {
|
|
61533
|
-
__extends
|
|
61533
|
+
__extends$11(Shape, _super);
|
|
61534
61534
|
function Shape(data, id, properties) {
|
|
61535
61535
|
var _this = _super.call(this) || this;
|
|
61536
61536
|
var geometry;
|
|
@@ -61826,7 +61826,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
61826
61826
|
return Shape;
|
|
61827
61827
|
}(EventEmitter));
|
|
61828
61828
|
|
|
61829
|
-
var __extends$
|
|
61829
|
+
var __extends$10 = (window && window.__extends) || (function () {
|
|
61830
61830
|
var extendStatics = function (d, b) {
|
|
61831
61831
|
extendStatics = Object.setPrototypeOf ||
|
|
61832
61832
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -61859,7 +61859,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
61859
61859
|
* [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-5}.
|
|
61860
61860
|
*/
|
|
61861
61861
|
var BoundingBox = /** @class */ (function (_super) {
|
|
61862
|
-
__extends$
|
|
61862
|
+
__extends$10(BoundingBox, _super);
|
|
61863
61863
|
function BoundingBox(southwestPositionOrPositions, northeastPosition) {
|
|
61864
61864
|
var _this = this;
|
|
61865
61865
|
if (southwestPositionOrPositions && northeastPosition) {
|
|
@@ -62576,7 +62576,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
62576
62576
|
return MultiPolygon;
|
|
62577
62577
|
}());
|
|
62578
62578
|
|
|
62579
|
-
var __extends
|
|
62579
|
+
var __extends$$ = (window && window.__extends) || (function () {
|
|
62580
62580
|
var extendStatics = function (d, b) {
|
|
62581
62581
|
extendStatics = Object.setPrototypeOf ||
|
|
62582
62582
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -62607,7 +62607,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
62607
62607
|
* The `z` dimension of `MercatorPoint` is conformal. A cube in the mercator coordinate space would be rendered as a cube.
|
|
62608
62608
|
*/
|
|
62609
62609
|
var MercatorPoint = /** @class */ (function (_super) {
|
|
62610
|
-
__extends
|
|
62610
|
+
__extends$$(MercatorPoint, _super);
|
|
62611
62611
|
/**
|
|
62612
62612
|
* Constructs a MercatorPoint.
|
|
62613
62613
|
* @param x A points x position in mercator units.
|
|
@@ -63096,7 +63096,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
63096
63096
|
simplify: simplify
|
|
63097
63097
|
});
|
|
63098
63098
|
|
|
63099
|
-
var __extends$
|
|
63099
|
+
var __extends$_ = (window && window.__extends) || (function () {
|
|
63100
63100
|
var extendStatics = function (d, b) {
|
|
63101
63101
|
extendStatics = Object.setPrototypeOf ||
|
|
63102
63102
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -63115,7 +63115,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
63115
63115
|
* The options for a ZoomControl object.
|
|
63116
63116
|
*/
|
|
63117
63117
|
var ZoomControlOptions = /** @class */ (function (_super) {
|
|
63118
|
-
__extends$
|
|
63118
|
+
__extends$_(ZoomControlOptions, _super);
|
|
63119
63119
|
function ZoomControlOptions() {
|
|
63120
63120
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
63121
63121
|
/**
|
|
@@ -63135,7 +63135,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
63135
63135
|
return ZoomControlOptions;
|
|
63136
63136
|
}(Options));
|
|
63137
63137
|
|
|
63138
|
-
var __extends$
|
|
63138
|
+
var __extends$Z = (window && window.__extends) || (function () {
|
|
63139
63139
|
var extendStatics = function (d, b) {
|
|
63140
63140
|
extendStatics = Object.setPrototypeOf ||
|
|
63141
63141
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -63154,7 +63154,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
63154
63154
|
* A control for changing the zoom of the map.
|
|
63155
63155
|
*/
|
|
63156
63156
|
var ZoomControl = /** @class */ (function (_super) {
|
|
63157
|
-
__extends$
|
|
63157
|
+
__extends$Z(ZoomControl, _super);
|
|
63158
63158
|
/**
|
|
63159
63159
|
* Constructs a ZoomControl.
|
|
63160
63160
|
* @param options The options for the control.
|
|
@@ -63389,7 +63389,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
63389
63389
|
return AccessibleIndicator;
|
|
63390
63390
|
}());
|
|
63391
63391
|
|
|
63392
|
-
var __extends$
|
|
63392
|
+
var __extends$Y = (window && window.__extends) || (function () {
|
|
63393
63393
|
var extendStatics = function (d, b) {
|
|
63394
63394
|
extendStatics = Object.setPrototypeOf ||
|
|
63395
63395
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -63411,7 +63411,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
63411
63411
|
* @module Object Definitions
|
|
63412
63412
|
*/
|
|
63413
63413
|
var DataSourceOptions = /** @class */ (function (_super) {
|
|
63414
|
-
__extends$
|
|
63414
|
+
__extends$Y(DataSourceOptions, _super);
|
|
63415
63415
|
function DataSourceOptions() {
|
|
63416
63416
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
63417
63417
|
/*
|
|
@@ -63471,7 +63471,8 @@ uniform ${precision} ${type} u_${name};
|
|
|
63471
63471
|
*/
|
|
63472
63472
|
_this.generateId = false;
|
|
63473
63473
|
/**
|
|
63474
|
-
* A property to
|
|
63474
|
+
* A specified property name to be used as a feature ID (for feature state).
|
|
63475
|
+
* This can either be a property name or an object in the form `{<sourceLayer>: <propertyName>}`.
|
|
63475
63476
|
*/
|
|
63476
63477
|
_this.promoteId = undefined;
|
|
63477
63478
|
/**
|
|
@@ -63483,7 +63484,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
63483
63484
|
return DataSourceOptions;
|
|
63484
63485
|
}(Options));
|
|
63485
63486
|
|
|
63486
|
-
var __extends$
|
|
63487
|
+
var __extends$X = (window && window.__extends) || (function () {
|
|
63487
63488
|
var extendStatics = function (d, b) {
|
|
63488
63489
|
extendStatics = Object.setPrototypeOf ||
|
|
63489
63490
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -63503,7 +63504,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
63503
63504
|
* A source must be added to a layer before it is visible on the map.
|
|
63504
63505
|
*/
|
|
63505
63506
|
var Source = /** @class */ (function (_super) {
|
|
63506
|
-
__extends$
|
|
63507
|
+
__extends$X(Source, _super);
|
|
63507
63508
|
function Source(id) {
|
|
63508
63509
|
var _this = _super.call(this) || this;
|
|
63509
63510
|
_this.id = id || uuid();
|
|
@@ -63542,7 +63543,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
63542
63543
|
return Source;
|
|
63543
63544
|
}(EventEmitter));
|
|
63544
63545
|
|
|
63545
|
-
var __extends$
|
|
63546
|
+
var __extends$W = (window && window.__extends) || (function () {
|
|
63546
63547
|
var extendStatics = function (d, b) {
|
|
63547
63548
|
extendStatics = Object.setPrototypeOf ||
|
|
63548
63549
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -63574,7 +63575,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
63574
63575
|
* The DataSource class may be used with the SymbolLayer, LineLayer, PolygonLayer, BubbleLayer, and HeatMapLayer.
|
|
63575
63576
|
*/
|
|
63576
63577
|
var DataSource = /** @class */ (function (_super) {
|
|
63577
|
-
__extends$
|
|
63578
|
+
__extends$W(DataSource, _super);
|
|
63578
63579
|
/**
|
|
63579
63580
|
* A data source class that makes it easy to manage shapes data that will be displayed on the map.
|
|
63580
63581
|
* A data source must be added to a layer before it is visible on the map.
|
|
@@ -64029,7 +64030,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64029
64030
|
return DataSource;
|
|
64030
64031
|
}(Source));
|
|
64031
64032
|
|
|
64032
|
-
var __extends$
|
|
64033
|
+
var __extends$V = (window && window.__extends) || (function () {
|
|
64033
64034
|
var extendStatics = function (d, b) {
|
|
64034
64035
|
extendStatics = Object.setPrototypeOf ||
|
|
64035
64036
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -64051,7 +64052,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64051
64052
|
* @module Object Definitions
|
|
64052
64053
|
*/
|
|
64053
64054
|
var VectorTileSourceOptions = /** @class */ (function (_super) {
|
|
64054
|
-
__extends$
|
|
64055
|
+
__extends$V(VectorTileSourceOptions, _super);
|
|
64055
64056
|
function VectorTileSourceOptions() {
|
|
64056
64057
|
/*
|
|
64057
64058
|
* TODO:
|
|
@@ -64104,7 +64105,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64104
64105
|
return VectorTileSourceOptions;
|
|
64105
64106
|
}(Options));
|
|
64106
64107
|
|
|
64107
|
-
var __extends$
|
|
64108
|
+
var __extends$U = (window && window.__extends) || (function () {
|
|
64108
64109
|
var extendStatics = function (d, b) {
|
|
64109
64110
|
extendStatics = Object.setPrototypeOf ||
|
|
64110
64111
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -64124,7 +64125,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64124
64125
|
* Vector tile sources can be used with; SymbolLayer, LineLayer, PolygonLayer, BubbleLayer, HeatmapLayer and VectorTileLayer.
|
|
64125
64126
|
*/
|
|
64126
64127
|
var VectorTileSource = /** @class */ (function (_super) {
|
|
64127
|
-
__extends$
|
|
64128
|
+
__extends$U(VectorTileSource, _super);
|
|
64128
64129
|
function VectorTileSource(id, options) {
|
|
64129
64130
|
var _this = _super.call(this, id) || this;
|
|
64130
64131
|
_this.options = new VectorTileSourceOptions().merge(cloneDeep$1(options));
|
|
@@ -64190,7 +64191,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64190
64191
|
return VectorTileSource;
|
|
64191
64192
|
}(Source));
|
|
64192
64193
|
|
|
64193
|
-
var __extends$
|
|
64194
|
+
var __extends$T = (window && window.__extends) || (function () {
|
|
64194
64195
|
var extendStatics = function (d, b) {
|
|
64195
64196
|
extendStatics = Object.setPrototypeOf ||
|
|
64196
64197
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -64211,7 +64212,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64211
64212
|
* @private
|
|
64212
64213
|
*/
|
|
64213
64214
|
var CanvasSource = /** @class */ (function (_super) {
|
|
64214
|
-
__extends$
|
|
64215
|
+
__extends$T(CanvasSource, _super);
|
|
64215
64216
|
/**
|
|
64216
64217
|
* Constructs a source from the contents of a layer resource file.
|
|
64217
64218
|
* @param id The source's id.
|
|
@@ -64246,7 +64247,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64246
64247
|
return CanvasSource;
|
|
64247
64248
|
}(Source));
|
|
64248
64249
|
|
|
64249
|
-
var __extends$
|
|
64250
|
+
var __extends$S = (window && window.__extends) || (function () {
|
|
64250
64251
|
var extendStatics = function (d, b) {
|
|
64251
64252
|
extendStatics = Object.setPrototypeOf ||
|
|
64252
64253
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -64267,7 +64268,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64267
64268
|
* @private
|
|
64268
64269
|
*/
|
|
64269
64270
|
var UnknownSource = /** @class */ (function (_super) {
|
|
64270
|
-
__extends$
|
|
64271
|
+
__extends$S(UnknownSource, _super);
|
|
64271
64272
|
/**
|
|
64272
64273
|
* Constructs a source from the contents of a layer resource file.
|
|
64273
64274
|
* @param id The source's id.
|
|
@@ -64299,7 +64300,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64299
64300
|
return UnknownSource;
|
|
64300
64301
|
}(Source));
|
|
64301
64302
|
|
|
64302
|
-
var __extends$
|
|
64303
|
+
var __extends$R = (window && window.__extends) || (function () {
|
|
64303
64304
|
var extendStatics = function (d, b) {
|
|
64304
64305
|
extendStatics = Object.setPrototypeOf ||
|
|
64305
64306
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -64320,7 +64321,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64320
64321
|
* @private
|
|
64321
64322
|
*/
|
|
64322
64323
|
var ImageSource = /** @class */ (function (_super) {
|
|
64323
|
-
__extends$
|
|
64324
|
+
__extends$R(ImageSource, _super);
|
|
64324
64325
|
/**
|
|
64325
64326
|
* Constructs a source from the contents of a layer resource file.
|
|
64326
64327
|
* @param id The source's id.
|
|
@@ -64354,7 +64355,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64354
64355
|
return ImageSource;
|
|
64355
64356
|
}(Source));
|
|
64356
64357
|
|
|
64357
|
-
var __extends$
|
|
64358
|
+
var __extends$Q = (window && window.__extends) || (function () {
|
|
64358
64359
|
var extendStatics = function (d, b) {
|
|
64359
64360
|
extendStatics = Object.setPrototypeOf ||
|
|
64360
64361
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -64375,7 +64376,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64375
64376
|
* @private
|
|
64376
64377
|
*/
|
|
64377
64378
|
var VideoSource = /** @class */ (function (_super) {
|
|
64378
|
-
__extends$
|
|
64379
|
+
__extends$Q(VideoSource, _super);
|
|
64379
64380
|
/**
|
|
64380
64381
|
* Constructs a source from the contents of a layer resource file.
|
|
64381
64382
|
* @param id The source's id.
|
|
@@ -64409,7 +64410,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64409
64410
|
return VideoSource;
|
|
64410
64411
|
}(Source));
|
|
64411
64412
|
|
|
64412
|
-
var __extends$
|
|
64413
|
+
var __extends$P = (window && window.__extends) || (function () {
|
|
64413
64414
|
var extendStatics = function (d, b) {
|
|
64414
64415
|
extendStatics = Object.setPrototypeOf ||
|
|
64415
64416
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -64425,7 +64426,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64425
64426
|
};
|
|
64426
64427
|
})();
|
|
64427
64428
|
var RasterTileSourceOptions = /** @class */ (function (_super) {
|
|
64428
|
-
__extends$
|
|
64429
|
+
__extends$P(RasterTileSourceOptions, _super);
|
|
64429
64430
|
function RasterTileSourceOptions() {
|
|
64430
64431
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
64431
64432
|
/**
|
|
@@ -64439,7 +64440,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64439
64440
|
return RasterTileSourceOptions;
|
|
64440
64441
|
}(VectorTileSourceOptions));
|
|
64441
64442
|
|
|
64442
|
-
var __extends$
|
|
64443
|
+
var __extends$O = (window && window.__extends) || (function () {
|
|
64443
64444
|
var extendStatics = function (d, b) {
|
|
64444
64445
|
extendStatics = Object.setPrototypeOf ||
|
|
64445
64446
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -64455,7 +64456,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64455
64456
|
};
|
|
64456
64457
|
})();
|
|
64457
64458
|
var ElevationTileSourceOptions = /** @class */ (function (_super) {
|
|
64458
|
-
__extends$
|
|
64459
|
+
__extends$O(ElevationTileSourceOptions, _super);
|
|
64459
64460
|
function ElevationTileSourceOptions() {
|
|
64460
64461
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
64461
64462
|
/**
|
|
@@ -64471,7 +64472,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64471
64472
|
return ElevationTileSourceOptions;
|
|
64472
64473
|
}(RasterTileSourceOptions));
|
|
64473
64474
|
|
|
64474
|
-
var __extends$
|
|
64475
|
+
var __extends$N = (window && window.__extends) || (function () {
|
|
64475
64476
|
var extendStatics = function (d, b) {
|
|
64476
64477
|
extendStatics = Object.setPrototypeOf ||
|
|
64477
64478
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -64501,7 +64502,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64501
64502
|
* Publicly exposed ElevationTileSource.
|
|
64502
64503
|
*/
|
|
64503
64504
|
var ElevationTileSource = /** @class */ (function (_super) {
|
|
64504
|
-
__extends$
|
|
64505
|
+
__extends$N(ElevationTileSource, _super);
|
|
64505
64506
|
function ElevationTileSource(id, options) {
|
|
64506
64507
|
var _this = _super.call(this, id) || this;
|
|
64507
64508
|
_this.options = new ElevationTileSourceOptions().merge(cloneDeep$1(options));
|
|
@@ -64545,7 +64546,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64545
64546
|
VideoSource: VideoSource
|
|
64546
64547
|
});
|
|
64547
64548
|
|
|
64548
|
-
var __extends$
|
|
64549
|
+
var __extends$M = (window && window.__extends) || (function () {
|
|
64549
64550
|
var extendStatics = function (d, b) {
|
|
64550
64551
|
extendStatics = Object.setPrototypeOf ||
|
|
64551
64552
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -64564,7 +64565,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64564
64565
|
* Abstract class for other layer classes to extend.
|
|
64565
64566
|
*/
|
|
64566
64567
|
var Layer = /** @class */ (function (_super) {
|
|
64567
|
-
__extends$
|
|
64568
|
+
__extends$M(Layer, _super);
|
|
64568
64569
|
function Layer(id) {
|
|
64569
64570
|
var _this =
|
|
64570
64571
|
// Assign an random id using a UUID if none was specified.
|
|
@@ -64671,7 +64672,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64671
64672
|
return Layer;
|
|
64672
64673
|
}(EventEmitter));
|
|
64673
64674
|
|
|
64674
|
-
var __extends$
|
|
64675
|
+
var __extends$L = (window && window.__extends) || (function () {
|
|
64675
64676
|
var extendStatics = function (d, b) {
|
|
64676
64677
|
extendStatics = Object.setPrototypeOf ||
|
|
64677
64678
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -64690,7 +64691,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64690
64691
|
* A base class which all other layer options inherit from.
|
|
64691
64692
|
*/
|
|
64692
64693
|
var LayerOptions$1 = /** @class */ (function (_super) {
|
|
64693
|
-
__extends$
|
|
64694
|
+
__extends$L(LayerOptions, _super);
|
|
64694
64695
|
function LayerOptions() {
|
|
64695
64696
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
64696
64697
|
/**
|
|
@@ -64737,7 +64738,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64737
64738
|
return LayerOptions;
|
|
64738
64739
|
}(Options));
|
|
64739
64740
|
|
|
64740
|
-
var __extends$
|
|
64741
|
+
var __extends$K = (window && window.__extends) || (function () {
|
|
64741
64742
|
var extendStatics = function (d, b) {
|
|
64742
64743
|
extendStatics = Object.setPrototypeOf ||
|
|
64743
64744
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -64756,7 +64757,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64756
64757
|
* Options used when rendering Point objects in a BubbleLayer.
|
|
64757
64758
|
*/
|
|
64758
64759
|
var BubbleLayerOptions = /** @class */ (function (_super) {
|
|
64759
|
-
__extends$
|
|
64760
|
+
__extends$K(BubbleLayerOptions, _super);
|
|
64760
64761
|
function BubbleLayerOptions() {
|
|
64761
64762
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
64762
64763
|
/**
|
|
@@ -64864,7 +64865,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64864
64865
|
return BubbleLayerOptions;
|
|
64865
64866
|
}(LayerOptions$1));
|
|
64866
64867
|
|
|
64867
|
-
var __extends$
|
|
64868
|
+
var __extends$J = (window && window.__extends) || (function () {
|
|
64868
64869
|
var extendStatics = function (d, b) {
|
|
64869
64870
|
extendStatics = Object.setPrototypeOf ||
|
|
64870
64871
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -64944,7 +64945,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
64944
64945
|
* Renders Point objects as scalable circles (bubbles).
|
|
64945
64946
|
*/
|
|
64946
64947
|
var BubbleLayer = /** @class */ (function (_super) {
|
|
64947
|
-
__extends$
|
|
64948
|
+
__extends$J(BubbleLayer, _super);
|
|
64948
64949
|
/**
|
|
64949
64950
|
* Constructs a new BubbleLayer.
|
|
64950
64951
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -65219,7 +65220,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
65219
65220
|
return BubbleLayer;
|
|
65220
65221
|
}(Layer));
|
|
65221
65222
|
|
|
65222
|
-
var __extends$
|
|
65223
|
+
var __extends$I = (window && window.__extends) || (function () {
|
|
65223
65224
|
var extendStatics = function (d, b) {
|
|
65224
65225
|
extendStatics = Object.setPrototypeOf ||
|
|
65225
65226
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -65238,7 +65239,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
65238
65239
|
* Options used when rendering Point objects in a HeatMapLayer.
|
|
65239
65240
|
*/
|
|
65240
65241
|
var HeatMapLayerOptions = /** @class */ (function (_super) {
|
|
65241
|
-
__extends$
|
|
65242
|
+
__extends$I(HeatMapLayerOptions, _super);
|
|
65242
65243
|
function HeatMapLayerOptions() {
|
|
65243
65244
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
65244
65245
|
/**
|
|
@@ -65305,7 +65306,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
65305
65306
|
return HeatMapLayerOptions;
|
|
65306
65307
|
}(LayerOptions$1));
|
|
65307
65308
|
|
|
65308
|
-
var __extends$
|
|
65309
|
+
var __extends$H = (window && window.__extends) || (function () {
|
|
65309
65310
|
var extendStatics = function (d, b) {
|
|
65310
65311
|
extendStatics = Object.setPrototypeOf ||
|
|
65311
65312
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -65324,7 +65325,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
65324
65325
|
* Represent the density of data using different colors (HeatMap).
|
|
65325
65326
|
*/
|
|
65326
65327
|
var HeatMapLayer = /** @class */ (function (_super) {
|
|
65327
|
-
__extends$
|
|
65328
|
+
__extends$H(HeatMapLayer, _super);
|
|
65328
65329
|
/**
|
|
65329
65330
|
* Constructs a new HeatMapLayer.
|
|
65330
65331
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -65428,7 +65429,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
65428
65429
|
return HeatMapLayer;
|
|
65429
65430
|
}(Layer));
|
|
65430
65431
|
|
|
65431
|
-
var __extends$
|
|
65432
|
+
var __extends$G = (window && window.__extends) || (function () {
|
|
65432
65433
|
var extendStatics = function (d, b) {
|
|
65433
65434
|
extendStatics = Object.setPrototypeOf ||
|
|
65434
65435
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -65447,7 +65448,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
65447
65448
|
* Options used when rendering canvas, image, raster tile, and video layers
|
|
65448
65449
|
*/
|
|
65449
65450
|
var MediaLayerOptions = /** @class */ (function (_super) {
|
|
65450
|
-
__extends$
|
|
65451
|
+
__extends$G(MediaLayerOptions, _super);
|
|
65451
65452
|
function MediaLayerOptions() {
|
|
65452
65453
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
65453
65454
|
/**
|
|
@@ -65499,7 +65500,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
65499
65500
|
return MediaLayerOptions;
|
|
65500
65501
|
}(LayerOptions$1));
|
|
65501
65502
|
|
|
65502
|
-
var __extends$
|
|
65503
|
+
var __extends$F = (window && window.__extends) || (function () {
|
|
65503
65504
|
var extendStatics = function (d, b) {
|
|
65504
65505
|
extendStatics = Object.setPrototypeOf ||
|
|
65505
65506
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -65518,7 +65519,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
65518
65519
|
* Options used when rendering Point objects in a ImageLayer.
|
|
65519
65520
|
*/
|
|
65520
65521
|
var ImageLayerOptions = /** @class */ (function (_super) {
|
|
65521
|
-
__extends$
|
|
65522
|
+
__extends$F(ImageLayerOptions, _super);
|
|
65522
65523
|
function ImageLayerOptions() {
|
|
65523
65524
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
65524
65525
|
/**
|
|
@@ -65548,7 +65549,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
65548
65549
|
return ImageLayerOptions;
|
|
65549
65550
|
}(MediaLayerOptions));
|
|
65550
65551
|
|
|
65551
|
-
var __extends$
|
|
65552
|
+
var __extends$E = (window && window.__extends) || (function () {
|
|
65552
65553
|
var extendStatics = function (d, b) {
|
|
65553
65554
|
extendStatics = Object.setPrototypeOf ||
|
|
65554
65555
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -65568,7 +65569,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
65568
65569
|
* @internal
|
|
65569
65570
|
*/
|
|
65570
65571
|
var SourceBuildingLayer = /** @class */ (function (_super) {
|
|
65571
|
-
__extends$
|
|
65572
|
+
__extends$E(SourceBuildingLayer, _super);
|
|
65572
65573
|
function SourceBuildingLayer() {
|
|
65573
65574
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
65574
65575
|
}
|
|
@@ -65586,7 +65587,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
65586
65587
|
return SourceBuildingLayer;
|
|
65587
65588
|
}(Layer));
|
|
65588
65589
|
|
|
65589
|
-
var __extends$
|
|
65590
|
+
var __extends$D = (window && window.__extends) || (function () {
|
|
65590
65591
|
var extendStatics = function (d, b) {
|
|
65591
65592
|
extendStatics = Object.setPrototypeOf ||
|
|
65592
65593
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -65605,7 +65606,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
65605
65606
|
* Overlays an image on the map with each corner anchored to a coordinate on the map. Also known as a ground or image overlay.
|
|
65606
65607
|
*/
|
|
65607
65608
|
var ImageLayer = /** @class */ (function (_super) {
|
|
65608
|
-
__extends$
|
|
65609
|
+
__extends$D(ImageLayer, _super);
|
|
65609
65610
|
/**
|
|
65610
65611
|
* Constructs a new ImageLayer.
|
|
65611
65612
|
* @param id The id of the layer. If not specified a random one will be generated.
|
|
@@ -65813,7 +65814,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
65813
65814
|
return ImageLayer;
|
|
65814
65815
|
}(SourceBuildingLayer));
|
|
65815
65816
|
|
|
65816
|
-
var __extends$
|
|
65817
|
+
var __extends$C = (window && window.__extends) || (function () {
|
|
65817
65818
|
var extendStatics = function (d, b) {
|
|
65818
65819
|
extendStatics = Object.setPrototypeOf ||
|
|
65819
65820
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -65833,7 +65834,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
65833
65834
|
* LineString, MultiLineString, Polygon, and MultiPolygon objects in a line layer.
|
|
65834
65835
|
*/
|
|
65835
65836
|
var LineLayerOptions = /** @class */ (function (_super) {
|
|
65836
|
-
__extends$
|
|
65837
|
+
__extends$C(LineLayerOptions, _super);
|
|
65837
65838
|
function LineLayerOptions() {
|
|
65838
65839
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
65839
65840
|
/**
|
|
@@ -65933,7 +65934,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
65933
65934
|
return LineLayerOptions;
|
|
65934
65935
|
}(LayerOptions$1));
|
|
65935
65936
|
|
|
65936
|
-
var __extends$
|
|
65937
|
+
var __extends$B = (window && window.__extends) || (function () {
|
|
65937
65938
|
var extendStatics = function (d, b) {
|
|
65938
65939
|
extendStatics = Object.setPrototypeOf ||
|
|
65939
65940
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -65964,7 +65965,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
65964
65965
|
* CirclePolygon, LineString, MultiLineString, Polygon, and MultiPolygon objects.
|
|
65965
65966
|
*/
|
|
65966
65967
|
var LineLayer = /** @class */ (function (_super) {
|
|
65967
|
-
__extends$
|
|
65968
|
+
__extends$B(LineLayer, _super);
|
|
65968
65969
|
/**
|
|
65969
65970
|
* Constructs a new LineLayer.
|
|
65970
65971
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -66055,7 +66056,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
66055
66056
|
return LineLayer;
|
|
66056
66057
|
}(Layer));
|
|
66057
66058
|
|
|
66058
|
-
var __extends$
|
|
66059
|
+
var __extends$A = (window && window.__extends) || (function () {
|
|
66059
66060
|
var extendStatics = function (d, b) {
|
|
66060
66061
|
extendStatics = Object.setPrototypeOf ||
|
|
66061
66062
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -66074,7 +66075,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
66074
66075
|
* Options used when rendering `Polygon` and `MultiPolygon` objects in a `PolygonExtrusionLayer`.
|
|
66075
66076
|
*/
|
|
66076
66077
|
var PolygonExtrusionLayerOptions = /** @class */ (function (_super) {
|
|
66077
|
-
__extends$
|
|
66078
|
+
__extends$A(PolygonExtrusionLayerOptions, _super);
|
|
66078
66079
|
function PolygonExtrusionLayerOptions() {
|
|
66079
66080
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
66080
66081
|
/**
|
|
@@ -66147,7 +66148,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
66147
66148
|
return PolygonExtrusionLayerOptions;
|
|
66148
66149
|
}(LayerOptions$1));
|
|
66149
66150
|
|
|
66150
|
-
var __extends$
|
|
66151
|
+
var __extends$z = (window && window.__extends) || (function () {
|
|
66151
66152
|
var extendStatics = function (d, b) {
|
|
66152
66153
|
extendStatics = Object.setPrototypeOf ||
|
|
66153
66154
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -66177,7 +66178,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
66177
66178
|
* Renders extruded filled `Polygon` and `MultiPolygon` objects on the map.
|
|
66178
66179
|
*/
|
|
66179
66180
|
var PolygonExtrusionLayer = /** @class */ (function (_super) {
|
|
66180
|
-
__extends$
|
|
66181
|
+
__extends$z(PolygonExtrusionLayer, _super);
|
|
66181
66182
|
/**
|
|
66182
66183
|
* Constructs a new PolygonExtrusionLayer.
|
|
66183
66184
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -66265,7 +66266,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
66265
66266
|
return PolygonExtrusionLayer;
|
|
66266
66267
|
}(Layer));
|
|
66267
66268
|
|
|
66268
|
-
var __extends$
|
|
66269
|
+
var __extends$y = (window && window.__extends) || (function () {
|
|
66269
66270
|
var extendStatics = function (d, b) {
|
|
66270
66271
|
extendStatics = Object.setPrototypeOf ||
|
|
66271
66272
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -66284,7 +66285,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
66284
66285
|
* Options used when rendering Polygon and MultiPolygon objects in a PolygonLayer.
|
|
66285
66286
|
*/
|
|
66286
66287
|
var PolygonLayerOptions$1 = /** @class */ (function (_super) {
|
|
66287
|
-
__extends$
|
|
66288
|
+
__extends$y(PolygonLayerOptions, _super);
|
|
66288
66289
|
function PolygonLayerOptions() {
|
|
66289
66290
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
66290
66291
|
/**
|
|
@@ -66324,7 +66325,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
66324
66325
|
return PolygonLayerOptions;
|
|
66325
66326
|
}(LayerOptions$1));
|
|
66326
66327
|
|
|
66327
|
-
var __extends$
|
|
66328
|
+
var __extends$x = (window && window.__extends) || (function () {
|
|
66328
66329
|
var extendStatics = function (d, b) {
|
|
66329
66330
|
extendStatics = Object.setPrototypeOf ||
|
|
66330
66331
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -66343,7 +66344,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
66343
66344
|
* Renders filled Polygon and MultiPolygon objects on the map.
|
|
66344
66345
|
*/
|
|
66345
66346
|
var PolygonLayer = /** @class */ (function (_super) {
|
|
66346
|
-
__extends$
|
|
66347
|
+
__extends$x(PolygonLayer, _super);
|
|
66347
66348
|
/**
|
|
66348
66349
|
* Constructs a new PolygonLayer.
|
|
66349
66350
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -66453,7 +66454,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
66453
66454
|
return PolygonLayer;
|
|
66454
66455
|
}(Layer));
|
|
66455
66456
|
|
|
66456
|
-
var __extends$
|
|
66457
|
+
var __extends$w = (window && window.__extends) || (function () {
|
|
66457
66458
|
var extendStatics = function (d, b) {
|
|
66458
66459
|
extendStatics = Object.setPrototypeOf ||
|
|
66459
66460
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -66472,7 +66473,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
66472
66473
|
* Options used to customize the icons in a SymbolLayer
|
|
66473
66474
|
*/
|
|
66474
66475
|
var IconOptions = /** @class */ (function (_super) {
|
|
66475
|
-
__extends$
|
|
66476
|
+
__extends$w(IconOptions, _super);
|
|
66476
66477
|
function IconOptions() {
|
|
66477
66478
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
66478
66479
|
/**
|
|
@@ -66582,7 +66583,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
66582
66583
|
return IconOptions;
|
|
66583
66584
|
}(Options));
|
|
66584
66585
|
|
|
66585
|
-
var __extends$
|
|
66586
|
+
var __extends$v = (window && window.__extends) || (function () {
|
|
66586
66587
|
var extendStatics = function (d, b) {
|
|
66587
66588
|
extendStatics = Object.setPrototypeOf ||
|
|
66588
66589
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -66601,7 +66602,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
66601
66602
|
* Options used to customize the text in a SymbolLayer
|
|
66602
66603
|
*/
|
|
66603
66604
|
var TextOptions = /** @class */ (function (_super) {
|
|
66604
|
-
__extends$
|
|
66605
|
+
__extends$v(TextOptions, _super);
|
|
66605
66606
|
function TextOptions() {
|
|
66606
66607
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
66607
66608
|
/**
|
|
@@ -66781,7 +66782,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
66781
66782
|
return TextOptions;
|
|
66782
66783
|
}(Options));
|
|
66783
66784
|
|
|
66784
|
-
var __extends$
|
|
66785
|
+
var __extends$u = (window && window.__extends) || (function () {
|
|
66785
66786
|
var extendStatics = function (d, b) {
|
|
66786
66787
|
extendStatics = Object.setPrototypeOf ||
|
|
66787
66788
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -66800,7 +66801,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
66800
66801
|
* Options used when rendering geometries in a SymbolLayer.
|
|
66801
66802
|
*/
|
|
66802
66803
|
var SymbolLayerOptions = /** @class */ (function (_super) {
|
|
66803
|
-
__extends$
|
|
66804
|
+
__extends$u(SymbolLayerOptions, _super);
|
|
66804
66805
|
function SymbolLayerOptions() {
|
|
66805
66806
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
66806
66807
|
/**
|
|
@@ -66865,7 +66866,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
66865
66866
|
return SymbolLayerOptions;
|
|
66866
66867
|
}(LayerOptions$1));
|
|
66867
66868
|
|
|
66868
|
-
var __extends$
|
|
66869
|
+
var __extends$t = (window && window.__extends) || (function () {
|
|
66869
66870
|
var extendStatics = function (d, b) {
|
|
66870
66871
|
extendStatics = Object.setPrototypeOf ||
|
|
66871
66872
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -66896,7 +66897,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
66896
66897
|
* Symbols can also be created for line and polygon data as well.
|
|
66897
66898
|
*/
|
|
66898
66899
|
var SymbolLayer = /** @class */ (function (_super) {
|
|
66899
|
-
__extends$
|
|
66900
|
+
__extends$t(SymbolLayer, _super);
|
|
66900
66901
|
/**
|
|
66901
66902
|
* Constructs a new SymbolLayer.
|
|
66902
66903
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -67038,7 +67039,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
67038
67039
|
return SymbolLayer;
|
|
67039
67040
|
}(Layer));
|
|
67040
67041
|
|
|
67041
|
-
var __extends$
|
|
67042
|
+
var __extends$s = (window && window.__extends) || (function () {
|
|
67042
67043
|
var extendStatics = function (d, b) {
|
|
67043
67044
|
extendStatics = Object.setPrototypeOf ||
|
|
67044
67045
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -67069,7 +67070,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
67069
67070
|
* @private
|
|
67070
67071
|
*/
|
|
67071
67072
|
var FundamentalMapSource = /** @class */ (function (_super) {
|
|
67072
|
-
__extends$
|
|
67073
|
+
__extends$s(FundamentalMapSource, _super);
|
|
67073
67074
|
/**
|
|
67074
67075
|
* Constructs a source from the contents of a layer resource file.
|
|
67075
67076
|
* @param id The source's id.
|
|
@@ -67155,7 +67156,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
67155
67156
|
return FundamentalMapSource;
|
|
67156
67157
|
}(Source));
|
|
67157
67158
|
|
|
67158
|
-
var __extends$
|
|
67159
|
+
var __extends$r = (window && window.__extends) || (function () {
|
|
67159
67160
|
var extendStatics = function (d, b) {
|
|
67160
67161
|
extendStatics = Object.setPrototypeOf ||
|
|
67161
67162
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -67174,7 +67175,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
67174
67175
|
* Options used when rendering raster tiled images in a TileLayer.
|
|
67175
67176
|
*/
|
|
67176
67177
|
var TileLayerOptions = /** @class */ (function (_super) {
|
|
67177
|
-
__extends$
|
|
67178
|
+
__extends$r(TileLayerOptions, _super);
|
|
67178
67179
|
function TileLayerOptions() {
|
|
67179
67180
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
67180
67181
|
/**
|
|
@@ -67230,7 +67231,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
67230
67231
|
return TileLayerOptions;
|
|
67231
67232
|
}(MediaLayerOptions));
|
|
67232
67233
|
|
|
67233
|
-
var __extends$
|
|
67234
|
+
var __extends$q = (window && window.__extends) || (function () {
|
|
67234
67235
|
var extendStatics = function (d, b) {
|
|
67235
67236
|
extendStatics = Object.setPrototypeOf ||
|
|
67236
67237
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -67271,7 +67272,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
67271
67272
|
* Renders raster tiled images on top of the map tiles.
|
|
67272
67273
|
*/
|
|
67273
67274
|
var TileLayer = /** @class */ (function (_super) {
|
|
67274
|
-
__extends$
|
|
67275
|
+
__extends$q(TileLayer, _super);
|
|
67275
67276
|
/**
|
|
67276
67277
|
* Constructs a new TileLayer.
|
|
67277
67278
|
* @param options The options for the tile layer.
|
|
@@ -67424,7 +67425,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
67424
67425
|
return TileLayer;
|
|
67425
67426
|
}(SourceBuildingLayer));
|
|
67426
67427
|
|
|
67427
|
-
var __extends$
|
|
67428
|
+
var __extends$p = (window && window.__extends) || (function () {
|
|
67428
67429
|
var extendStatics = function (d, b) {
|
|
67429
67430
|
extendStatics = Object.setPrototypeOf ||
|
|
67430
67431
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -67443,7 +67444,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
67443
67444
|
* Options used to render graphics in a WebGLLayer.
|
|
67444
67445
|
*/
|
|
67445
67446
|
var WebGLLayerOptions = /** @class */ (function (_super) {
|
|
67446
|
-
__extends$
|
|
67447
|
+
__extends$p(WebGLLayerOptions, _super);
|
|
67447
67448
|
function WebGLLayerOptions() {
|
|
67448
67449
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
67449
67450
|
/**
|
|
@@ -67455,7 +67456,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
67455
67456
|
return WebGLLayerOptions;
|
|
67456
67457
|
}(LayerOptions$1));
|
|
67457
67458
|
|
|
67458
|
-
var __extends$
|
|
67459
|
+
var __extends$o = (window && window.__extends) || (function () {
|
|
67459
67460
|
var extendStatics = function (d, b) {
|
|
67460
67461
|
extendStatics = Object.setPrototypeOf ||
|
|
67461
67462
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -67474,7 +67475,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
67474
67475
|
* Enables custom rendering logic with access to the WebGL context of the map.
|
|
67475
67476
|
*/
|
|
67476
67477
|
var WebGLLayer = /** @class */ (function (_super) {
|
|
67477
|
-
__extends$
|
|
67478
|
+
__extends$o(WebGLLayer, _super);
|
|
67478
67479
|
/**
|
|
67479
67480
|
* Constructs a new WebGLLayer.
|
|
67480
67481
|
* @param id The id of the layer. If not specified a random one will be generated.
|
|
@@ -67707,7 +67708,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
67707
67708
|
|
|
67708
67709
|
var isElement$1 = /*@__PURE__*/getDefaultExportFromCjs(isElement_1);
|
|
67709
67710
|
|
|
67710
|
-
var __extends$
|
|
67711
|
+
var __extends$n = (window && window.__extends) || (function () {
|
|
67711
67712
|
var extendStatics = function (d, b) {
|
|
67712
67713
|
extendStatics = Object.setPrototypeOf ||
|
|
67713
67714
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -67726,7 +67727,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
67726
67727
|
* The options for a popup.
|
|
67727
67728
|
*/
|
|
67728
67729
|
var PopupOptions = /** @class */ (function (_super) {
|
|
67729
|
-
__extends$
|
|
67730
|
+
__extends$n(PopupOptions, _super);
|
|
67730
67731
|
function PopupOptions() {
|
|
67731
67732
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
67732
67733
|
/**
|
|
@@ -67795,7 +67796,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
67795
67796
|
return PopupOptions;
|
|
67796
67797
|
}(Options));
|
|
67797
67798
|
|
|
67798
|
-
var __extends$
|
|
67799
|
+
var __extends$m = (window && window.__extends) || (function () {
|
|
67799
67800
|
var extendStatics = function (d, b) {
|
|
67800
67801
|
extendStatics = Object.setPrototypeOf ||
|
|
67801
67802
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -67830,7 +67831,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
67830
67831
|
* An information window anchored at a specified position on a map.
|
|
67831
67832
|
*/
|
|
67832
67833
|
var Popup = /** @class */ (function (_super) {
|
|
67833
|
-
__extends$
|
|
67834
|
+
__extends$m(Popup, _super);
|
|
67834
67835
|
/**
|
|
67835
67836
|
* Constructs a Popup object and initializes it with the specified options.
|
|
67836
67837
|
* @param options The options for the popup.
|
|
@@ -68304,7 +68305,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68304
68305
|
return Popup;
|
|
68305
68306
|
}(EventEmitter));
|
|
68306
68307
|
|
|
68307
|
-
var __extends$
|
|
68308
|
+
var __extends$l = (window && window.__extends) || (function () {
|
|
68308
68309
|
var extendStatics = function (d, b) {
|
|
68309
68310
|
extendStatics = Object.setPrototypeOf ||
|
|
68310
68311
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -68323,7 +68324,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68323
68324
|
* Options for rendering an HtmlMarker object
|
|
68324
68325
|
*/
|
|
68325
68326
|
var HtmlMarkerOptions = /** @class */ (function (_super) {
|
|
68326
|
-
__extends$
|
|
68327
|
+
__extends$l(HtmlMarkerOptions, _super);
|
|
68327
68328
|
function HtmlMarkerOptions() {
|
|
68328
68329
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
68329
68330
|
/**
|
|
@@ -68401,7 +68402,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68401
68402
|
return HtmlMarkerOptions;
|
|
68402
68403
|
}(Options));
|
|
68403
68404
|
|
|
68404
|
-
var __extends$
|
|
68405
|
+
var __extends$k = (window && window.__extends) || (function () {
|
|
68405
68406
|
var extendStatics = function (d, b) {
|
|
68406
68407
|
extendStatics = Object.setPrototypeOf ||
|
|
68407
68408
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -68420,7 +68421,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68420
68421
|
* This class wraps an HTML element that can be displayed on the map.
|
|
68421
68422
|
*/
|
|
68422
68423
|
var HtmlMarker = /** @class */ (function (_super) {
|
|
68423
|
-
__extends$
|
|
68424
|
+
__extends$k(HtmlMarker, _super);
|
|
68424
68425
|
/**
|
|
68425
68426
|
* Constructs a new HtmlMarker.
|
|
68426
68427
|
* @param options The options for the HtmlMarker.
|
|
@@ -68719,7 +68720,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68719
68720
|
return Media;
|
|
68720
68721
|
}());
|
|
68721
68722
|
|
|
68722
|
-
var __extends$
|
|
68723
|
+
var __extends$j = (window && window.__extends) || (function () {
|
|
68723
68724
|
var extendStatics = function (d, b) {
|
|
68724
68725
|
extendStatics = Object.setPrototypeOf ||
|
|
68725
68726
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -68738,7 +68739,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68738
68739
|
* The options for a CopyrightControl object.
|
|
68739
68740
|
*/
|
|
68740
68741
|
var CopyrightControlOptions = /** @class */ (function (_super) {
|
|
68741
|
-
__extends$
|
|
68742
|
+
__extends$j(CopyrightControlOptions, _super);
|
|
68742
68743
|
function CopyrightControlOptions() {
|
|
68743
68744
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
68744
68745
|
/**
|
|
@@ -68767,7 +68768,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68767
68768
|
return CopyrightControlOptions;
|
|
68768
68769
|
}(Options));
|
|
68769
68770
|
|
|
68770
|
-
var __extends$
|
|
68771
|
+
var __extends$i = (window && window.__extends) || (function () {
|
|
68771
68772
|
var extendStatics = function (d, b) {
|
|
68772
68773
|
extendStatics = Object.setPrototypeOf ||
|
|
68773
68774
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -68786,7 +68787,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
68786
68787
|
* @private
|
|
68787
68788
|
*/
|
|
68788
68789
|
var CopyrightControl = /** @class */ (function (_super) {
|
|
68789
|
-
__extends$
|
|
68790
|
+
__extends$i(CopyrightControl, _super);
|
|
68790
68791
|
function CopyrightControl(options) {
|
|
68791
68792
|
var _this = _super.call(this) || this;
|
|
68792
68793
|
_this.textAttribution = function (options) {
|
|
@@ -68808,13 +68809,10 @@ uniform ${precision} ${type} u_${name};
|
|
|
68808
68809
|
CopyrightControl.prototype.onAdd = function (map) {
|
|
68809
68810
|
this.map = map;
|
|
68810
68811
|
this.container = this.buildContainer(map, exports.ControlStyle.auto);
|
|
68811
|
-
this.container.className = "map-copyright";
|
|
68812
|
+
this.container.className = "map-copyright without-bg";
|
|
68812
68813
|
this.copyrightDiv = this.buildCopyrightDiv();
|
|
68813
68814
|
this.copyrightDiv.className = "azure-map-copyright";
|
|
68814
68815
|
this.container.appendChild(this.copyrightDiv);
|
|
68815
|
-
if (this.options.showLogo) {
|
|
68816
|
-
this.addRemoveLogo(true);
|
|
68817
|
-
}
|
|
68818
68816
|
if (this.options.showFeedbackLink) {
|
|
68819
68817
|
this.addRemoveFeedbackDiv(true);
|
|
68820
68818
|
}
|
|
@@ -68844,12 +68842,6 @@ uniform ${precision} ${type} u_${name};
|
|
|
68844
68842
|
}
|
|
68845
68843
|
this.options.copyrightContent = newOptions.copyrightContent;
|
|
68846
68844
|
}
|
|
68847
|
-
if (!newOptions.showLogo && this.logoAnchor) {
|
|
68848
|
-
this.addRemoveLogo(false);
|
|
68849
|
-
}
|
|
68850
|
-
else if (newOptions.showLogo && !this.logoAnchor) {
|
|
68851
|
-
this.addRemoveLogo(true);
|
|
68852
|
-
}
|
|
68853
68845
|
if (!newOptions.showFeedbackLink && this.feedbackAnchor) {
|
|
68854
68846
|
this.addRemoveFeedbackDiv(false);
|
|
68855
68847
|
}
|
|
@@ -68875,31 +68867,138 @@ uniform ${precision} ${type} u_${name};
|
|
|
68875
68867
|
var link = document.createElement("a");
|
|
68876
68868
|
link.setAttribute("alt", "Provide Map Data Feedback");
|
|
68877
68869
|
link.setAttribute("aria-label", "Provide Map Data Feedback");
|
|
68870
|
+
link.innerText = "Feedback";
|
|
68878
68871
|
link.href = CopyrightControl.feedbackLink;
|
|
68879
68872
|
link.target = "_blank";
|
|
68880
68873
|
link.rel = "noopener";
|
|
68881
|
-
link.className = "azure-map-feedback";
|
|
68874
|
+
link.className = "azure-map-feedback-text";
|
|
68882
68875
|
return link;
|
|
68883
68876
|
};
|
|
68884
68877
|
CopyrightControl.prototype.addRemoveFeedbackDiv = function (add) {
|
|
68885
68878
|
var _a, _b, _c, _d;
|
|
68886
68879
|
if (add) {
|
|
68887
68880
|
this.feedbackAnchor = this.buildFeedbackLink();
|
|
68888
|
-
this.
|
|
68881
|
+
this.feedbackTooltip = buildAccessibleTooltip("Provide Map Data Feedback");
|
|
68889
68882
|
this.container.appendChild(this.feedbackAnchor);
|
|
68890
|
-
this.container.appendChild(this.
|
|
68891
|
-
positionTooltip(this.
|
|
68883
|
+
this.container.appendChild(this.feedbackTooltip);
|
|
68884
|
+
positionTooltip(this.feedbackTooltip, this.feedbackAnchor);
|
|
68892
68885
|
(_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a.events) === null || _b === void 0 ? void 0 : _b.add("moveend", this.updateFeedbackLink);
|
|
68893
68886
|
}
|
|
68894
68887
|
else {
|
|
68895
68888
|
this.feedbackAnchor.remove();
|
|
68896
|
-
this.
|
|
68897
|
-
delete this.
|
|
68889
|
+
this.feedbackTooltip.remove();
|
|
68890
|
+
delete this.feedbackTooltip;
|
|
68898
68891
|
delete this.feedbackAnchor;
|
|
68899
68892
|
(_d = (_c = this.map) === null || _c === void 0 ? void 0 : _c.events) === null || _d === void 0 ? void 0 : _d.remove("moveend", this.updateFeedbackLink);
|
|
68900
68893
|
}
|
|
68901
68894
|
};
|
|
68902
|
-
CopyrightControl.
|
|
68895
|
+
CopyrightControl.feedbackLink = "https://aka.ms/azuremaps-feedback?feedbackep=UrlAzureMapsWebSdk";
|
|
68896
|
+
return CopyrightControl;
|
|
68897
|
+
}(ControlBase));
|
|
68898
|
+
|
|
68899
|
+
var __extends$h = (window && window.__extends) || (function () {
|
|
68900
|
+
var extendStatics = function (d, b) {
|
|
68901
|
+
extendStatics = Object.setPrototypeOf ||
|
|
68902
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
68903
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
68904
|
+
return extendStatics(d, b);
|
|
68905
|
+
};
|
|
68906
|
+
return function (d, b) {
|
|
68907
|
+
if (typeof b !== "function" && b !== null)
|
|
68908
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
68909
|
+
extendStatics(d, b);
|
|
68910
|
+
function __() { this.constructor = d; }
|
|
68911
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
68912
|
+
};
|
|
68913
|
+
})();
|
|
68914
|
+
/**
|
|
68915
|
+
* The options for a LogoControl object.
|
|
68916
|
+
*/
|
|
68917
|
+
var LogoControlOptions = /** @class */ (function (_super) {
|
|
68918
|
+
__extends$h(LogoControlOptions, _super);
|
|
68919
|
+
function LogoControlOptions() {
|
|
68920
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
68921
|
+
/**
|
|
68922
|
+
* If true will show the Microsoft logo.
|
|
68923
|
+
*/
|
|
68924
|
+
_this.showLogo = true;
|
|
68925
|
+
return _this;
|
|
68926
|
+
}
|
|
68927
|
+
return LogoControlOptions;
|
|
68928
|
+
}(Options));
|
|
68929
|
+
|
|
68930
|
+
var __extends$g = (window && window.__extends) || (function () {
|
|
68931
|
+
var extendStatics = function (d, b) {
|
|
68932
|
+
extendStatics = Object.setPrototypeOf ||
|
|
68933
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
68934
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
68935
|
+
return extendStatics(d, b);
|
|
68936
|
+
};
|
|
68937
|
+
return function (d, b) {
|
|
68938
|
+
if (typeof b !== "function" && b !== null)
|
|
68939
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
68940
|
+
extendStatics(d, b);
|
|
68941
|
+
function __() { this.constructor = d; }
|
|
68942
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
68943
|
+
};
|
|
68944
|
+
})();
|
|
68945
|
+
/**
|
|
68946
|
+
* A control that displays the logo on the map.
|
|
68947
|
+
* @private
|
|
68948
|
+
*/
|
|
68949
|
+
var LogoControl = /** @class */ (function (_super) {
|
|
68950
|
+
__extends$g(LogoControl, _super);
|
|
68951
|
+
/**
|
|
68952
|
+
* Construct a control
|
|
68953
|
+
*/
|
|
68954
|
+
function LogoControl(options) {
|
|
68955
|
+
var _this = _super.call(this) || this;
|
|
68956
|
+
_this.map = null;
|
|
68957
|
+
/**
|
|
68958
|
+
* Set visibility of the control based on the container width.
|
|
68959
|
+
*/
|
|
68960
|
+
_this._onResize = function () {
|
|
68961
|
+
var _a, _b;
|
|
68962
|
+
var width = ((_b = (_a = _this.map) === null || _a === void 0 ? void 0 : _a.getMapContainer()) === null || _b === void 0 ? void 0 : _b.clientWidth) || 0;
|
|
68963
|
+
_this._setVisiblity(_this.options.showLogo && width >= LogoControl.CONTAINER_MIN_WIDTH);
|
|
68964
|
+
};
|
|
68965
|
+
_this.options = new LogoControlOptions().merge(options);
|
|
68966
|
+
return _this;
|
|
68967
|
+
}
|
|
68968
|
+
/**
|
|
68969
|
+
* Initialization method for the control which is called when added to the map.
|
|
68970
|
+
* @param map The map that the control will be added to.
|
|
68971
|
+
* @param options The ControlOptions for this control.
|
|
68972
|
+
* @return An HTMLElement to be placed on the map for the control.
|
|
68973
|
+
*/
|
|
68974
|
+
LogoControl.prototype.onAdd = function (map) {
|
|
68975
|
+
var _a;
|
|
68976
|
+
this.map = map;
|
|
68977
|
+
this.container = this.buildContainer(map, exports.ControlStyle.auto);
|
|
68978
|
+
this.container.className = "map-logo-control";
|
|
68979
|
+
(_a = this.map) === null || _a === void 0 ? void 0 : _a.events.add("resize", this._onResize);
|
|
68980
|
+
this._addRemoveLogo(this.options.showLogo);
|
|
68981
|
+
return this.container;
|
|
68982
|
+
};
|
|
68983
|
+
LogoControl.prototype.onRemove = function () {
|
|
68984
|
+
var _a;
|
|
68985
|
+
_super.prototype.onRemove.call(this);
|
|
68986
|
+
(_a = this.map) === null || _a === void 0 ? void 0 : _a.events.remove("resize", this._onResize);
|
|
68987
|
+
this.map = null;
|
|
68988
|
+
delete this.container;
|
|
68989
|
+
};
|
|
68990
|
+
LogoControl.prototype.setOptions = function (options) {
|
|
68991
|
+
var newOptions = new LogoControlOptions().merge(this.options, options);
|
|
68992
|
+
if (!newOptions.showLogo && this.logoAnchor) {
|
|
68993
|
+
this._addRemoveLogo(false);
|
|
68994
|
+
}
|
|
68995
|
+
else if (newOptions.showLogo && !this.logoAnchor) {
|
|
68996
|
+
this._addRemoveLogo(true);
|
|
68997
|
+
}
|
|
68998
|
+
this.options = newOptions;
|
|
68999
|
+
};
|
|
69000
|
+
LogoControl.prototype._addRemoveLogo = function (add) {
|
|
69001
|
+
var _a, _b;
|
|
68903
69002
|
if (add) {
|
|
68904
69003
|
this.logoAnchor = document.createElement("a");
|
|
68905
69004
|
this.logoAnchor.className = "azure-map-logo";
|
|
@@ -68910,15 +69009,25 @@ uniform ${precision} ${type} u_${name};
|
|
|
68910
69009
|
this.logoTooltip = buildAccessibleTooltip("Visit azure.microsoft.com");
|
|
68911
69010
|
this.container.appendChild(this.logoTooltip);
|
|
68912
69011
|
positionTooltip(this.logoTooltip, this.logoAnchor);
|
|
69012
|
+
this._setVisiblity(true);
|
|
68913
69013
|
}
|
|
68914
69014
|
else {
|
|
68915
|
-
this.logoAnchor.remove();
|
|
68916
|
-
this.logoTooltip.remove();
|
|
69015
|
+
(_a = this.logoAnchor) === null || _a === void 0 ? void 0 : _a.remove();
|
|
69016
|
+
(_b = this.logoTooltip) === null || _b === void 0 ? void 0 : _b.remove();
|
|
68917
69017
|
delete this.logoAnchor;
|
|
69018
|
+
this._setVisiblity(false);
|
|
68918
69019
|
}
|
|
68919
69020
|
};
|
|
68920
|
-
|
|
68921
|
-
|
|
69021
|
+
/**
|
|
69022
|
+
* Set visibility of the control.
|
|
69023
|
+
*/
|
|
69024
|
+
LogoControl.prototype._setVisiblity = function (visible) {
|
|
69025
|
+
if (this.container) {
|
|
69026
|
+
this.container.style.display = visible ? "flex" : "none";
|
|
69027
|
+
}
|
|
69028
|
+
};
|
|
69029
|
+
LogoControl.CONTAINER_MIN_WIDTH = 480; // The minimum width of the container to show the logo, 5 copyright texts, and the feedback link.
|
|
69030
|
+
return LogoControl;
|
|
68922
69031
|
}(ControlBase));
|
|
68923
69032
|
|
|
68924
69033
|
var __assign$4 = (window && window.__assign) || function () {
|
|
@@ -70552,6 +70661,17 @@ uniform ${precision} ${type} u_${name};
|
|
|
70552
70661
|
_this.layers = mbLayers;
|
|
70553
70662
|
return _this;
|
|
70554
70663
|
}
|
|
70664
|
+
/**
|
|
70665
|
+
* Gets the options of the layer.
|
|
70666
|
+
*/
|
|
70667
|
+
FundamentalMapLayer.prototype.getOptions = function () {
|
|
70668
|
+
return {};
|
|
70669
|
+
};
|
|
70670
|
+
/**
|
|
70671
|
+
* Sets the options of the layer.
|
|
70672
|
+
* @param options The new options of the layer.
|
|
70673
|
+
*/
|
|
70674
|
+
FundamentalMapLayer.prototype.setOptions = function (options) { return; };
|
|
70555
70675
|
/**
|
|
70556
70676
|
* @internal
|
|
70557
70677
|
*/
|
|
@@ -73413,7 +73533,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
73413
73533
|
if (!_this.indoorState) {
|
|
73414
73534
|
return !style.name.includes('indoor');
|
|
73415
73535
|
// NOTE: azure-maps-indoor prior to 2.0.7 will not pass theme auto
|
|
73416
|
-
// the IndoorModule will request getTheme() from StyleManager and will call StyleManager.setStyleSet(theme == 'dark ? 'indoor_dark' : 'indoor') as approperaite
|
|
73536
|
+
// the IndoorModule will request getTheme() from StyleManager and will call StyleManager.setStyleSet(theme == 'dark ? 'indoor_dark' : 'indoor') as approperaite
|
|
73417
73537
|
}
|
|
73418
73538
|
else if (_this.indoorState.theme === 'auto') {
|
|
73419
73539
|
return style.name.endsWith(style.theme === 'dark' ? '_indoor_dark' : '_indoor');
|
|
@@ -73438,7 +73558,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
73438
73558
|
styleVersion: definitions.version !== undefined && definitions.version !== null
|
|
73439
73559
|
? definitions.version
|
|
73440
73560
|
: _this.serviceOptions.styleDefinitionsVersion,
|
|
73441
|
-
// thus far we don't need to differentiate based on parameter here, as stylePatch will be called on cached styles as well
|
|
73561
|
+
// thus far we don't need to differentiate based on parameter here, as stylePatch will be called on cached styles as well
|
|
73442
73562
|
//language: styleOptions.language
|
|
73443
73563
|
// add MapControlVersion to make sure we have different local cache between map control versions
|
|
73444
73564
|
mcv: version.replace(/\./g, '')
|
|
@@ -73555,7 +73675,14 @@ uniform ${precision} ${type} u_${name};
|
|
|
73555
73675
|
}
|
|
73556
73676
|
if (layer) {
|
|
73557
73677
|
var sourcesToCopy = new Set(Array.from(userLayer.layer._getSourceIds())
|
|
73558
|
-
.map(function (sourceId) {
|
|
73678
|
+
.map(function (sourceId) {
|
|
73679
|
+
// If source is already present in the target style, skip copy
|
|
73680
|
+
if (style.sources[sourceId]) {
|
|
73681
|
+
return undefined;
|
|
73682
|
+
}
|
|
73683
|
+
var source = previousStyle.sources[sourceId];
|
|
73684
|
+
return source ? { source: source, id: sourceId } : undefined;
|
|
73685
|
+
})
|
|
73559
73686
|
.filter(function (source) { return source !== undefined; }));
|
|
73560
73687
|
var insertIdx = beforeLayerId ? style.layers.findIndex(function (layer) { return layer.id === beforeLayerId; }) : -1;
|
|
73561
73688
|
if (insertIdx > -1) {
|
|
@@ -73591,7 +73718,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
73591
73718
|
// FIXME: below diffing will be soon fixed on the maplibre side
|
|
73592
73719
|
// If there was a previous styledata change event attached, remove it.
|
|
73593
73720
|
// When the sprite url changes between style changes then maplibre can't perform the diff
|
|
73594
|
-
// In such cases it recalculate the style again. Removing previous attached
|
|
73721
|
+
// In such cases it recalculate the style again. Removing previous attached
|
|
73595
73722
|
// event listener makes sure that style changed event is not fired twice in these cases.
|
|
73596
73723
|
_this.map.events.remove("styledata", styleDataCallback);
|
|
73597
73724
|
_this.map.events.addOnce("styledata", styleDataCallback);
|
|
@@ -74158,6 +74285,13 @@ uniform ${precision} ${type} u_${name};
|
|
|
74158
74285
|
_this.controls.add(_this.copyrightControl, {
|
|
74159
74286
|
position: exports.ControlPosition.NonFixed
|
|
74160
74287
|
});
|
|
74288
|
+
// Add logo control to occupy the bottom left corner of the map.
|
|
74289
|
+
_this.logoControl = new LogoControl({
|
|
74290
|
+
showLogo: _this.styleOptions.showLogo
|
|
74291
|
+
});
|
|
74292
|
+
_this.controls.add(_this.logoControl, {
|
|
74293
|
+
position: exports.ControlPosition.BottomLeft
|
|
74294
|
+
});
|
|
74161
74295
|
// Initialize state of map
|
|
74162
74296
|
// --> Initialize the authentication manager
|
|
74163
74297
|
var authManInit = _this.authentication ?
|
|
@@ -74465,6 +74599,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
74465
74599
|
// Add or remove the logo if needed.
|
|
74466
74600
|
if (newOptions.showLogo !== this.styleOptions.showLogo) {
|
|
74467
74601
|
this.copyrightControl.setOptions({ showLogo: newOptions.showLogo });
|
|
74602
|
+
this.logoControl.setOptions({ showLogo: newOptions.showLogo });
|
|
74468
74603
|
}
|
|
74469
74604
|
// Update showing tile boundaries if needed.
|
|
74470
74605
|
if (newOptions.showTileBoundaries !== this.styleOptions.showTileBoundaries) {
|