azure-maps-control 2.3.5 → 2.3.7
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.js +285 -197
- package/dist/atlas-core-bare.js +287 -199
- package/dist/atlas-core-bare.min.js +1 -1
- package/dist/atlas-core-snr.js +285 -197
- package/dist/atlas-core.js +287 -199
- package/dist/atlas-core.min.js +1 -1
- package/dist/atlas.css +3 -2
- package/dist/atlas.js +287 -199
- package/dist/atlas.min.css +1 -1
- package/dist/atlas.min.js +1 -1
- package/package.json +1 -1
- package/typings/index.d.ts +81 -3
package/dist/atlas-core.js
CHANGED
|
@@ -43477,7 +43477,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
43477
43477
|
return Url;
|
|
43478
43478
|
}());
|
|
43479
43479
|
|
|
43480
|
-
var version = "2.3.
|
|
43480
|
+
var version = "2.3.7";
|
|
43481
43481
|
|
|
43482
43482
|
/**
|
|
43483
43483
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -44396,6 +44396,74 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
44396
44396
|
return PitchControl;
|
|
44397
44397
|
}(ControlBase));
|
|
44398
44398
|
|
|
44399
|
+
var __extends$7 = (window && window.__extends) || (function () {
|
|
44400
|
+
var extendStatics = function (d, b) {
|
|
44401
|
+
extendStatics = Object.setPrototypeOf ||
|
|
44402
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
44403
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
44404
|
+
return extendStatics(d, b);
|
|
44405
|
+
};
|
|
44406
|
+
return function (d, b) {
|
|
44407
|
+
if (typeof b !== "function" && b !== null)
|
|
44408
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
44409
|
+
extendStatics(d, b);
|
|
44410
|
+
function __() { this.constructor = d; }
|
|
44411
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
44412
|
+
};
|
|
44413
|
+
})();
|
|
44414
|
+
/**
|
|
44415
|
+
* A control to display a scale bar on the map.
|
|
44416
|
+
*/
|
|
44417
|
+
var ScaleControl = /** @class */ (function (_super) {
|
|
44418
|
+
__extends$7(ScaleControl, _super);
|
|
44419
|
+
/**
|
|
44420
|
+
* A control to displays a scale bar relative to the pixel resolution at the center of the map.
|
|
44421
|
+
* @param options Options for defining how the control is rendered and functions.
|
|
44422
|
+
*/
|
|
44423
|
+
function ScaleControl(options) {
|
|
44424
|
+
var _this = _super.call(this) || this;
|
|
44425
|
+
_this.map = null;
|
|
44426
|
+
_this.control = new azuremapsMaplibreGlUnminified.ScaleControl({
|
|
44427
|
+
maxWidth: options === null || options === void 0 ? void 0 : options.maxWidth,
|
|
44428
|
+
unit: options === null || options === void 0 ? void 0 : options.unit
|
|
44429
|
+
});
|
|
44430
|
+
return _this;
|
|
44431
|
+
}
|
|
44432
|
+
/**
|
|
44433
|
+
* Initialization method for the control which is called when added to the map.
|
|
44434
|
+
* @param map The map that the control will be added to.
|
|
44435
|
+
* @param options The ControlOptions for this control.
|
|
44436
|
+
* @return An HTMLElement to be placed on the map for the control.
|
|
44437
|
+
*/
|
|
44438
|
+
ScaleControl.prototype.onAdd = function (map, options) {
|
|
44439
|
+
var _a, _b, _c;
|
|
44440
|
+
this.map = map;
|
|
44441
|
+
(_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a._getMap()) === null || _b === void 0 ? void 0 : _b.addControl(this.control);
|
|
44442
|
+
var container = this.buildContainer(map, exports.ControlStyle.auto, "Scale Bar");
|
|
44443
|
+
container.appendChild((_c = this.control) === null || _c === void 0 ? void 0 : _c._container);
|
|
44444
|
+
return container;
|
|
44445
|
+
};
|
|
44446
|
+
/**
|
|
44447
|
+
* Method that is called when the control is removed from the map. Should perform any necessary cleanup for the
|
|
44448
|
+
* control.
|
|
44449
|
+
*/
|
|
44450
|
+
ScaleControl.prototype.onRemove = function () {
|
|
44451
|
+
var _a, _b;
|
|
44452
|
+
_super.prototype.onRemove.call(this);
|
|
44453
|
+
(_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a._getMap()) === null || _b === void 0 ? void 0 : _b.removeControl(this.control);
|
|
44454
|
+
this.map = null;
|
|
44455
|
+
};
|
|
44456
|
+
/**
|
|
44457
|
+
* Set the scale's unit of the distance
|
|
44458
|
+
* @param unit - Unit of the distance (`"imperial"`, `"metric"` or `"nautical"`).
|
|
44459
|
+
*/
|
|
44460
|
+
ScaleControl.prototype.setUnit = function (unit) {
|
|
44461
|
+
var _a;
|
|
44462
|
+
(_a = this.control) === null || _a === void 0 ? void 0 : _a.setUnit(unit);
|
|
44463
|
+
};
|
|
44464
|
+
return ScaleControl;
|
|
44465
|
+
}(ControlBase));
|
|
44466
|
+
|
|
44399
44467
|
/**
|
|
44400
44468
|
* Removes all key-value entries from the list cache.
|
|
44401
44469
|
*
|
|
@@ -47480,7 +47548,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
47480
47548
|
|
|
47481
47549
|
var merge_1 = merge;
|
|
47482
47550
|
|
|
47483
|
-
var __extends$
|
|
47551
|
+
var __extends$8 = (window && window.__extends) || (function () {
|
|
47484
47552
|
var extendStatics = function (d, b) {
|
|
47485
47553
|
extendStatics = Object.setPrototypeOf ||
|
|
47486
47554
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -47499,7 +47567,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
47499
47567
|
* The options for a StyleControl object.
|
|
47500
47568
|
*/
|
|
47501
47569
|
var StyleControlOptions = /** @class */ (function (_super) {
|
|
47502
|
-
__extends$
|
|
47570
|
+
__extends$8(StyleControlOptions, _super);
|
|
47503
47571
|
function StyleControlOptions() {
|
|
47504
47572
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
47505
47573
|
/**
|
|
@@ -47544,7 +47612,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
47544
47612
|
return StyleControlOptions;
|
|
47545
47613
|
}(Options));
|
|
47546
47614
|
|
|
47547
|
-
var __extends$
|
|
47615
|
+
var __extends$9 = (window && window.__extends) || (function () {
|
|
47548
47616
|
var extendStatics = function (d, b) {
|
|
47549
47617
|
extendStatics = Object.setPrototypeOf ||
|
|
47550
47618
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -47615,7 +47683,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
47615
47683
|
* A control for changing the style of the map.
|
|
47616
47684
|
*/
|
|
47617
47685
|
var StyleControl = /** @class */ (function (_super) {
|
|
47618
|
-
__extends$
|
|
47686
|
+
__extends$9(StyleControl, _super);
|
|
47619
47687
|
/**
|
|
47620
47688
|
* Constructs a StyleControl.
|
|
47621
47689
|
* @param options The options for the control.
|
|
@@ -47974,7 +48042,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
47974
48042
|
return StyleControl;
|
|
47975
48043
|
}(ControlBase));
|
|
47976
48044
|
|
|
47977
|
-
var __extends$
|
|
48045
|
+
var __extends$a = (window && window.__extends) || (function () {
|
|
47978
48046
|
var extendStatics = function (d, b) {
|
|
47979
48047
|
extendStatics = Object.setPrototypeOf ||
|
|
47980
48048
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -47993,7 +48061,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
47993
48061
|
* The options for setting traffic on the map.
|
|
47994
48062
|
*/
|
|
47995
48063
|
var TrafficOptions = /** @class */ (function (_super) {
|
|
47996
|
-
__extends$
|
|
48064
|
+
__extends$a(TrafficOptions, _super);
|
|
47997
48065
|
function TrafficOptions() {
|
|
47998
48066
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
47999
48067
|
/**
|
|
@@ -48018,7 +48086,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
48018
48086
|
return TrafficOptions;
|
|
48019
48087
|
}(Options));
|
|
48020
48088
|
|
|
48021
|
-
var __extends$
|
|
48089
|
+
var __extends$b = (window && window.__extends) || (function () {
|
|
48022
48090
|
var extendStatics = function (d, b) {
|
|
48023
48091
|
extendStatics = Object.setPrototypeOf ||
|
|
48024
48092
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -48037,7 +48105,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
48037
48105
|
* The options for a TrafficControl object.
|
|
48038
48106
|
*/
|
|
48039
48107
|
var TrafficControlOptions = /** @class */ (function (_super) {
|
|
48040
|
-
__extends$
|
|
48108
|
+
__extends$b(TrafficControlOptions, _super);
|
|
48041
48109
|
function TrafficControlOptions() {
|
|
48042
48110
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
48043
48111
|
/**
|
|
@@ -48057,7 +48125,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
48057
48125
|
return TrafficControlOptions;
|
|
48058
48126
|
}(TrafficOptions));
|
|
48059
48127
|
|
|
48060
|
-
var __extends$
|
|
48128
|
+
var __extends$c = (window && window.__extends) || (function () {
|
|
48061
48129
|
var extendStatics = function (d, b) {
|
|
48062
48130
|
extendStatics = Object.setPrototypeOf ||
|
|
48063
48131
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -48076,7 +48144,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
48076
48144
|
* A control that toggles traffic data on the map.
|
|
48077
48145
|
*/
|
|
48078
48146
|
var TrafficControl = /** @class */ (function (_super) {
|
|
48079
|
-
__extends$
|
|
48147
|
+
__extends$c(TrafficControl, _super);
|
|
48080
48148
|
/**
|
|
48081
48149
|
* Constructs a TrafficControl
|
|
48082
48150
|
* @param options The options for the control.
|
|
@@ -48200,7 +48268,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
48200
48268
|
return TrafficControl;
|
|
48201
48269
|
}(ControlBase));
|
|
48202
48270
|
|
|
48203
|
-
var __extends$
|
|
48271
|
+
var __extends$d = (window && window.__extends) || (function () {
|
|
48204
48272
|
var extendStatics = function (d, b) {
|
|
48205
48273
|
extendStatics = Object.setPrototypeOf ||
|
|
48206
48274
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -48230,7 +48298,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
48230
48298
|
* A control that display traffic legend on the map.
|
|
48231
48299
|
*/
|
|
48232
48300
|
var TrafficLegendControl = /** @class */ (function (_super) {
|
|
48233
|
-
__extends$
|
|
48301
|
+
__extends$d(TrafficLegendControl, _super);
|
|
48234
48302
|
/**
|
|
48235
48303
|
* Construct a traffic legend control
|
|
48236
48304
|
*/
|
|
@@ -49050,7 +49118,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
49050
49118
|
return Feature;
|
|
49051
49119
|
}());
|
|
49052
49120
|
|
|
49053
|
-
var __extends$
|
|
49121
|
+
var __extends$e = (window && window.__extends) || (function () {
|
|
49054
49122
|
var extendStatics = function (d, b) {
|
|
49055
49123
|
extendStatics = Object.setPrototypeOf ||
|
|
49056
49124
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -49069,7 +49137,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
49069
49137
|
* Represent a pixel coordinate or offset. Extends an array of [x, y].
|
|
49070
49138
|
*/
|
|
49071
49139
|
var Pixel = /** @class */ (function (_super) {
|
|
49072
|
-
__extends$
|
|
49140
|
+
__extends$e(Pixel, _super);
|
|
49073
49141
|
/**
|
|
49074
49142
|
* Constructs a Pixel object and initializes it with the specified x and y coordinates.
|
|
49075
49143
|
* @param x The horizontal pixel offset.
|
|
@@ -51289,7 +51357,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
51289
51357
|
return result;
|
|
51290
51358
|
}
|
|
51291
51359
|
|
|
51292
|
-
var __extends$
|
|
51360
|
+
var __extends$f = (window && window.__extends) || (function () {
|
|
51293
51361
|
var extendStatics = function (d, b) {
|
|
51294
51362
|
extendStatics = Object.setPrototypeOf ||
|
|
51295
51363
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -51309,7 +51377,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
51309
51377
|
* full description is detailed in [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-3.1.1}.
|
|
51310
51378
|
*/
|
|
51311
51379
|
var Position = /** @class */ (function (_super) {
|
|
51312
|
-
__extends$
|
|
51380
|
+
__extends$f(Position, _super);
|
|
51313
51381
|
/**
|
|
51314
51382
|
* Constructs a Position.
|
|
51315
51383
|
* @param longitude The position's longitude.
|
|
@@ -51501,7 +51569,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
51501
51569
|
return Polygon;
|
|
51502
51570
|
}());
|
|
51503
51571
|
|
|
51504
|
-
var __extends$
|
|
51572
|
+
var __extends$g = (window && window.__extends) || (function () {
|
|
51505
51573
|
var extendStatics = function (d, b) {
|
|
51506
51574
|
extendStatics = Object.setPrototypeOf ||
|
|
51507
51575
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -51531,7 +51599,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
51531
51599
|
* A helper class that wraps a Geometry or Feature and makes it easy to update and maintain.
|
|
51532
51600
|
*/
|
|
51533
51601
|
var Shape = /** @class */ (function (_super) {
|
|
51534
|
-
__extends$
|
|
51602
|
+
__extends$g(Shape, _super);
|
|
51535
51603
|
function Shape(data, id, properties) {
|
|
51536
51604
|
var _this = _super.call(this) || this;
|
|
51537
51605
|
var geometry;
|
|
@@ -51827,7 +51895,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
51827
51895
|
return Shape;
|
|
51828
51896
|
}(EventEmitter));
|
|
51829
51897
|
|
|
51830
|
-
var __extends$
|
|
51898
|
+
var __extends$h = (window && window.__extends) || (function () {
|
|
51831
51899
|
var extendStatics = function (d, b) {
|
|
51832
51900
|
extendStatics = Object.setPrototypeOf ||
|
|
51833
51901
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -51860,7 +51928,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
51860
51928
|
* [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-5}.
|
|
51861
51929
|
*/
|
|
51862
51930
|
var BoundingBox = /** @class */ (function (_super) {
|
|
51863
|
-
__extends$
|
|
51931
|
+
__extends$h(BoundingBox, _super);
|
|
51864
51932
|
function BoundingBox(southwestPositionOrPositions, northeastPosition) {
|
|
51865
51933
|
var _this = this;
|
|
51866
51934
|
if (southwestPositionOrPositions && northeastPosition) {
|
|
@@ -52577,7 +52645,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
52577
52645
|
return MultiPolygon;
|
|
52578
52646
|
}());
|
|
52579
52647
|
|
|
52580
|
-
var __extends$
|
|
52648
|
+
var __extends$i = (window && window.__extends) || (function () {
|
|
52581
52649
|
var extendStatics = function (d, b) {
|
|
52582
52650
|
extendStatics = Object.setPrototypeOf ||
|
|
52583
52651
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -52608,7 +52676,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
52608
52676
|
* The `z` dimension of `MercatorPoint` is conformal. A cube in the mercator coordinate space would be rendered as a cube.
|
|
52609
52677
|
*/
|
|
52610
52678
|
var MercatorPoint = /** @class */ (function (_super) {
|
|
52611
|
-
__extends$
|
|
52679
|
+
__extends$i(MercatorPoint, _super);
|
|
52612
52680
|
/**
|
|
52613
52681
|
* Constructs a MercatorPoint.
|
|
52614
52682
|
* @param x A points x position in mercator units.
|
|
@@ -53107,7 +53175,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
53107
53175
|
simplify: simplify
|
|
53108
53176
|
});
|
|
53109
53177
|
|
|
53110
|
-
var __extends$
|
|
53178
|
+
var __extends$j = (window && window.__extends) || (function () {
|
|
53111
53179
|
var extendStatics = function (d, b) {
|
|
53112
53180
|
extendStatics = Object.setPrototypeOf ||
|
|
53113
53181
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -53126,7 +53194,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
53126
53194
|
* The options for a ZoomControl object.
|
|
53127
53195
|
*/
|
|
53128
53196
|
var ZoomControlOptions = /** @class */ (function (_super) {
|
|
53129
|
-
__extends$
|
|
53197
|
+
__extends$j(ZoomControlOptions, _super);
|
|
53130
53198
|
function ZoomControlOptions() {
|
|
53131
53199
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
53132
53200
|
/**
|
|
@@ -53146,7 +53214,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
53146
53214
|
return ZoomControlOptions;
|
|
53147
53215
|
}(Options));
|
|
53148
53216
|
|
|
53149
|
-
var __extends$
|
|
53217
|
+
var __extends$k = (window && window.__extends) || (function () {
|
|
53150
53218
|
var extendStatics = function (d, b) {
|
|
53151
53219
|
extendStatics = Object.setPrototypeOf ||
|
|
53152
53220
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -53165,7 +53233,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
53165
53233
|
* A control for changing the zoom of the map.
|
|
53166
53234
|
*/
|
|
53167
53235
|
var ZoomControl = /** @class */ (function (_super) {
|
|
53168
|
-
__extends$
|
|
53236
|
+
__extends$k(ZoomControl, _super);
|
|
53169
53237
|
/**
|
|
53170
53238
|
* Constructs a ZoomControl.
|
|
53171
53239
|
* @param options The options for the control.
|
|
@@ -53287,6 +53355,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
53287
53355
|
PitchControl: PitchControl,
|
|
53288
53356
|
CompassControl: CompassControl,
|
|
53289
53357
|
ZoomControl: ZoomControl,
|
|
53358
|
+
ScaleControl: ScaleControl,
|
|
53290
53359
|
StyleControl: StyleControl,
|
|
53291
53360
|
TrafficControl: TrafficControl,
|
|
53292
53361
|
TrafficLegendControl: TrafficLegendControl
|
|
@@ -53397,7 +53466,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
53397
53466
|
return AccessibleIndicator;
|
|
53398
53467
|
}());
|
|
53399
53468
|
|
|
53400
|
-
var __extends$
|
|
53469
|
+
var __extends$l = (window && window.__extends) || (function () {
|
|
53401
53470
|
var extendStatics = function (d, b) {
|
|
53402
53471
|
extendStatics = Object.setPrototypeOf ||
|
|
53403
53472
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -53419,7 +53488,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
53419
53488
|
* @module Object Definitions
|
|
53420
53489
|
*/
|
|
53421
53490
|
var DataSourceOptions = /** @class */ (function (_super) {
|
|
53422
|
-
__extends$
|
|
53491
|
+
__extends$l(DataSourceOptions, _super);
|
|
53423
53492
|
function DataSourceOptions() {
|
|
53424
53493
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
53425
53494
|
/*
|
|
@@ -53474,7 +53543,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
53474
53543
|
return DataSourceOptions;
|
|
53475
53544
|
}(Options));
|
|
53476
53545
|
|
|
53477
|
-
var __extends$
|
|
53546
|
+
var __extends$m = (window && window.__extends) || (function () {
|
|
53478
53547
|
var extendStatics = function (d, b) {
|
|
53479
53548
|
extendStatics = Object.setPrototypeOf ||
|
|
53480
53549
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -53494,7 +53563,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
53494
53563
|
* A source must be added to a layer before it is visible on the map.
|
|
53495
53564
|
*/
|
|
53496
53565
|
var Source = /** @class */ (function (_super) {
|
|
53497
|
-
__extends$
|
|
53566
|
+
__extends$m(Source, _super);
|
|
53498
53567
|
function Source(id) {
|
|
53499
53568
|
var _this = _super.call(this) || this;
|
|
53500
53569
|
_this.id = id || uuidRandom();
|
|
@@ -53533,7 +53602,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
53533
53602
|
return Source;
|
|
53534
53603
|
}(EventEmitter));
|
|
53535
53604
|
|
|
53536
|
-
var __extends$
|
|
53605
|
+
var __extends$n = (window && window.__extends) || (function () {
|
|
53537
53606
|
var extendStatics = function (d, b) {
|
|
53538
53607
|
extendStatics = Object.setPrototypeOf ||
|
|
53539
53608
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -53565,7 +53634,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
53565
53634
|
* The DataSource class may be used with the SymbolLayer, LineLayer, PolygonLayer, BubbleLayer, and HeatMapLayer.
|
|
53566
53635
|
*/
|
|
53567
53636
|
var DataSource = /** @class */ (function (_super) {
|
|
53568
|
-
__extends$
|
|
53637
|
+
__extends$n(DataSource, _super);
|
|
53569
53638
|
/**
|
|
53570
53639
|
* A data source class that makes it easy to manage shapes data that will be displayed on the map.
|
|
53571
53640
|
* A data source must be added to a layer before it is visible on the map.
|
|
@@ -54012,7 +54081,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
54012
54081
|
return DataSource;
|
|
54013
54082
|
}(Source));
|
|
54014
54083
|
|
|
54015
|
-
var __extends$
|
|
54084
|
+
var __extends$o = (window && window.__extends) || (function () {
|
|
54016
54085
|
var extendStatics = function (d, b) {
|
|
54017
54086
|
extendStatics = Object.setPrototypeOf ||
|
|
54018
54087
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -54034,7 +54103,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
54034
54103
|
* @module Object Definitions
|
|
54035
54104
|
*/
|
|
54036
54105
|
var VectorTileSourceOptions = /** @class */ (function (_super) {
|
|
54037
|
-
__extends$
|
|
54106
|
+
__extends$o(VectorTileSourceOptions, _super);
|
|
54038
54107
|
function VectorTileSourceOptions() {
|
|
54039
54108
|
/*
|
|
54040
54109
|
* TODO:
|
|
@@ -54087,7 +54156,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
54087
54156
|
return VectorTileSourceOptions;
|
|
54088
54157
|
}(Options));
|
|
54089
54158
|
|
|
54090
|
-
var __extends$
|
|
54159
|
+
var __extends$p = (window && window.__extends) || (function () {
|
|
54091
54160
|
var extendStatics = function (d, b) {
|
|
54092
54161
|
extendStatics = Object.setPrototypeOf ||
|
|
54093
54162
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -54107,7 +54176,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
54107
54176
|
* Vector tile sources can be used with; SymbolLayer, LineLayer, PolygonLayer, BubbleLayer, HeatmapLayer and VectorTileLayer.
|
|
54108
54177
|
*/
|
|
54109
54178
|
var VectorTileSource = /** @class */ (function (_super) {
|
|
54110
|
-
__extends$
|
|
54179
|
+
__extends$p(VectorTileSource, _super);
|
|
54111
54180
|
function VectorTileSource(id, options) {
|
|
54112
54181
|
var _this = _super.call(this, id) || this;
|
|
54113
54182
|
_this.options = new VectorTileSourceOptions().merge(cloneDeep_1(options));
|
|
@@ -54182,7 +54251,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
54182
54251
|
VectorTileSource: VectorTileSource
|
|
54183
54252
|
});
|
|
54184
54253
|
|
|
54185
|
-
var __extends$
|
|
54254
|
+
var __extends$q = (window && window.__extends) || (function () {
|
|
54186
54255
|
var extendStatics = function (d, b) {
|
|
54187
54256
|
extendStatics = Object.setPrototypeOf ||
|
|
54188
54257
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -54201,7 +54270,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
54201
54270
|
* Abstract class for other layer classes to extend.
|
|
54202
54271
|
*/
|
|
54203
54272
|
var Layer = /** @class */ (function (_super) {
|
|
54204
|
-
__extends$
|
|
54273
|
+
__extends$q(Layer, _super);
|
|
54205
54274
|
function Layer(id) {
|
|
54206
54275
|
var _this =
|
|
54207
54276
|
// Assign an random id using a UUID if none was specified.
|
|
@@ -54308,7 +54377,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
54308
54377
|
return Layer;
|
|
54309
54378
|
}(EventEmitter));
|
|
54310
54379
|
|
|
54311
|
-
var __extends$
|
|
54380
|
+
var __extends$r = (window && window.__extends) || (function () {
|
|
54312
54381
|
var extendStatics = function (d, b) {
|
|
54313
54382
|
extendStatics = Object.setPrototypeOf ||
|
|
54314
54383
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -54327,7 +54396,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
54327
54396
|
* A base class which all other layer options inherit from.
|
|
54328
54397
|
*/
|
|
54329
54398
|
var LayerOptions = /** @class */ (function (_super) {
|
|
54330
|
-
__extends$
|
|
54399
|
+
__extends$r(LayerOptions, _super);
|
|
54331
54400
|
function LayerOptions() {
|
|
54332
54401
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
54333
54402
|
/**
|
|
@@ -54374,7 +54443,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
54374
54443
|
return LayerOptions;
|
|
54375
54444
|
}(Options));
|
|
54376
54445
|
|
|
54377
|
-
var __extends$
|
|
54446
|
+
var __extends$s = (window && window.__extends) || (function () {
|
|
54378
54447
|
var extendStatics = function (d, b) {
|
|
54379
54448
|
extendStatics = Object.setPrototypeOf ||
|
|
54380
54449
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -54393,7 +54462,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
54393
54462
|
* Options used when rendering Point objects in a BubbleLayer.
|
|
54394
54463
|
*/
|
|
54395
54464
|
var BubbleLayerOptions = /** @class */ (function (_super) {
|
|
54396
|
-
__extends$
|
|
54465
|
+
__extends$s(BubbleLayerOptions, _super);
|
|
54397
54466
|
function BubbleLayerOptions() {
|
|
54398
54467
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
54399
54468
|
/**
|
|
@@ -54501,7 +54570,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
54501
54570
|
return BubbleLayerOptions;
|
|
54502
54571
|
}(LayerOptions));
|
|
54503
54572
|
|
|
54504
|
-
var __extends$
|
|
54573
|
+
var __extends$t = (window && window.__extends) || (function () {
|
|
54505
54574
|
var extendStatics = function (d, b) {
|
|
54506
54575
|
extendStatics = Object.setPrototypeOf ||
|
|
54507
54576
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -54577,7 +54646,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
54577
54646
|
* Renders Point objects as scalable circles (bubbles).
|
|
54578
54647
|
*/
|
|
54579
54648
|
var BubbleLayer = /** @class */ (function (_super) {
|
|
54580
|
-
__extends$
|
|
54649
|
+
__extends$t(BubbleLayer, _super);
|
|
54581
54650
|
/**
|
|
54582
54651
|
* Constructs a new BubbleLayer.
|
|
54583
54652
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -54852,7 +54921,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
54852
54921
|
return BubbleLayer;
|
|
54853
54922
|
}(Layer));
|
|
54854
54923
|
|
|
54855
|
-
var __extends$
|
|
54924
|
+
var __extends$u = (window && window.__extends) || (function () {
|
|
54856
54925
|
var extendStatics = function (d, b) {
|
|
54857
54926
|
extendStatics = Object.setPrototypeOf ||
|
|
54858
54927
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -54871,7 +54940,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
54871
54940
|
* Options used when rendering Point objects in a HeatMapLayer.
|
|
54872
54941
|
*/
|
|
54873
54942
|
var HeatMapLayerOptions = /** @class */ (function (_super) {
|
|
54874
|
-
__extends$
|
|
54943
|
+
__extends$u(HeatMapLayerOptions, _super);
|
|
54875
54944
|
function HeatMapLayerOptions() {
|
|
54876
54945
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
54877
54946
|
/**
|
|
@@ -54938,7 +55007,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
54938
55007
|
return HeatMapLayerOptions;
|
|
54939
55008
|
}(LayerOptions));
|
|
54940
55009
|
|
|
54941
|
-
var __extends$
|
|
55010
|
+
var __extends$v = (window && window.__extends) || (function () {
|
|
54942
55011
|
var extendStatics = function (d, b) {
|
|
54943
55012
|
extendStatics = Object.setPrototypeOf ||
|
|
54944
55013
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -54957,7 +55026,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
54957
55026
|
* Represent the density of data using different colors (HeatMap).
|
|
54958
55027
|
*/
|
|
54959
55028
|
var HeatMapLayer = /** @class */ (function (_super) {
|
|
54960
|
-
__extends$
|
|
55029
|
+
__extends$v(HeatMapLayer, _super);
|
|
54961
55030
|
/**
|
|
54962
55031
|
* Constructs a new HeatMapLayer.
|
|
54963
55032
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -55061,7 +55130,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
55061
55130
|
return HeatMapLayer;
|
|
55062
55131
|
}(Layer));
|
|
55063
55132
|
|
|
55064
|
-
var __extends$
|
|
55133
|
+
var __extends$w = (window && window.__extends) || (function () {
|
|
55065
55134
|
var extendStatics = function (d, b) {
|
|
55066
55135
|
extendStatics = Object.setPrototypeOf ||
|
|
55067
55136
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -55080,7 +55149,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
55080
55149
|
* Options used when rendering canvas, image, raster tile, and video layers
|
|
55081
55150
|
*/
|
|
55082
55151
|
var MediaLayerOptions = /** @class */ (function (_super) {
|
|
55083
|
-
__extends$
|
|
55152
|
+
__extends$w(MediaLayerOptions, _super);
|
|
55084
55153
|
function MediaLayerOptions() {
|
|
55085
55154
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
55086
55155
|
/**
|
|
@@ -55132,7 +55201,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
55132
55201
|
return MediaLayerOptions;
|
|
55133
55202
|
}(LayerOptions));
|
|
55134
55203
|
|
|
55135
|
-
var __extends$
|
|
55204
|
+
var __extends$x = (window && window.__extends) || (function () {
|
|
55136
55205
|
var extendStatics = function (d, b) {
|
|
55137
55206
|
extendStatics = Object.setPrototypeOf ||
|
|
55138
55207
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -55151,7 +55220,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
55151
55220
|
* Options used when rendering Point objects in a ImageLayer.
|
|
55152
55221
|
*/
|
|
55153
55222
|
var ImageLayerOptions = /** @class */ (function (_super) {
|
|
55154
|
-
__extends$
|
|
55223
|
+
__extends$x(ImageLayerOptions, _super);
|
|
55155
55224
|
function ImageLayerOptions() {
|
|
55156
55225
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
55157
55226
|
/**
|
|
@@ -55181,7 +55250,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
55181
55250
|
return ImageLayerOptions;
|
|
55182
55251
|
}(MediaLayerOptions));
|
|
55183
55252
|
|
|
55184
|
-
var __extends$
|
|
55253
|
+
var __extends$y = (window && window.__extends) || (function () {
|
|
55185
55254
|
var extendStatics = function (d, b) {
|
|
55186
55255
|
extendStatics = Object.setPrototypeOf ||
|
|
55187
55256
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -55201,7 +55270,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
55201
55270
|
* @internal
|
|
55202
55271
|
*/
|
|
55203
55272
|
var SourceBuildingLayer = /** @class */ (function (_super) {
|
|
55204
|
-
__extends$
|
|
55273
|
+
__extends$y(SourceBuildingLayer, _super);
|
|
55205
55274
|
function SourceBuildingLayer() {
|
|
55206
55275
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
55207
55276
|
}
|
|
@@ -55216,7 +55285,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
55216
55285
|
return SourceBuildingLayer;
|
|
55217
55286
|
}(Layer));
|
|
55218
55287
|
|
|
55219
|
-
var __extends$
|
|
55288
|
+
var __extends$z = (window && window.__extends) || (function () {
|
|
55220
55289
|
var extendStatics = function (d, b) {
|
|
55221
55290
|
extendStatics = Object.setPrototypeOf ||
|
|
55222
55291
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -55235,7 +55304,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
55235
55304
|
* Overlays an image on the map with each corner anchored to a coordinate on the map. Also known as a ground or image overlay.
|
|
55236
55305
|
*/
|
|
55237
55306
|
var ImageLayer = /** @class */ (function (_super) {
|
|
55238
|
-
__extends$
|
|
55307
|
+
__extends$z(ImageLayer, _super);
|
|
55239
55308
|
/**
|
|
55240
55309
|
* Constructs a new ImageLayer.
|
|
55241
55310
|
* @param id The id of the layer. If not specified a random one will be generated.
|
|
@@ -55438,7 +55507,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
55438
55507
|
return ImageLayer;
|
|
55439
55508
|
}(SourceBuildingLayer));
|
|
55440
55509
|
|
|
55441
|
-
var __extends$
|
|
55510
|
+
var __extends$A = (window && window.__extends) || (function () {
|
|
55442
55511
|
var extendStatics = function (d, b) {
|
|
55443
55512
|
extendStatics = Object.setPrototypeOf ||
|
|
55444
55513
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -55458,7 +55527,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
55458
55527
|
* LineString, MultiLineString, Polygon, and MultiPolygon objects in a line layer.
|
|
55459
55528
|
*/
|
|
55460
55529
|
var LineLayerOptions = /** @class */ (function (_super) {
|
|
55461
|
-
__extends$
|
|
55530
|
+
__extends$A(LineLayerOptions, _super);
|
|
55462
55531
|
function LineLayerOptions() {
|
|
55463
55532
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
55464
55533
|
/**
|
|
@@ -55558,7 +55627,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
55558
55627
|
return LineLayerOptions;
|
|
55559
55628
|
}(LayerOptions));
|
|
55560
55629
|
|
|
55561
|
-
var __extends$
|
|
55630
|
+
var __extends$B = (window && window.__extends) || (function () {
|
|
55562
55631
|
var extendStatics = function (d, b) {
|
|
55563
55632
|
extendStatics = Object.setPrototypeOf ||
|
|
55564
55633
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -55589,7 +55658,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
55589
55658
|
* CirclePolygon, LineString, MultiLineString, Polygon, and MultiPolygon objects.
|
|
55590
55659
|
*/
|
|
55591
55660
|
var LineLayer = /** @class */ (function (_super) {
|
|
55592
|
-
__extends$
|
|
55661
|
+
__extends$B(LineLayer, _super);
|
|
55593
55662
|
/**
|
|
55594
55663
|
* Constructs a new LineLayer.
|
|
55595
55664
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -55680,7 +55749,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
55680
55749
|
return LineLayer;
|
|
55681
55750
|
}(Layer));
|
|
55682
55751
|
|
|
55683
|
-
var __extends$
|
|
55752
|
+
var __extends$C = (window && window.__extends) || (function () {
|
|
55684
55753
|
var extendStatics = function (d, b) {
|
|
55685
55754
|
extendStatics = Object.setPrototypeOf ||
|
|
55686
55755
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -55699,7 +55768,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
55699
55768
|
* Options used when rendering `Polygon` and `MultiPolygon` objects in a `PolygonExtrusionLayer`.
|
|
55700
55769
|
*/
|
|
55701
55770
|
var PolygonExtrusionLayerOptions = /** @class */ (function (_super) {
|
|
55702
|
-
__extends$
|
|
55771
|
+
__extends$C(PolygonExtrusionLayerOptions, _super);
|
|
55703
55772
|
function PolygonExtrusionLayerOptions() {
|
|
55704
55773
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
55705
55774
|
/**
|
|
@@ -55772,7 +55841,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
55772
55841
|
return PolygonExtrusionLayerOptions;
|
|
55773
55842
|
}(LayerOptions));
|
|
55774
55843
|
|
|
55775
|
-
var __extends$
|
|
55844
|
+
var __extends$D = (window && window.__extends) || (function () {
|
|
55776
55845
|
var extendStatics = function (d, b) {
|
|
55777
55846
|
extendStatics = Object.setPrototypeOf ||
|
|
55778
55847
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -55802,7 +55871,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
55802
55871
|
* Renders extruded filled `Polygon` and `MultiPolygon` objects on the map.
|
|
55803
55872
|
*/
|
|
55804
55873
|
var PolygonExtrusionLayer = /** @class */ (function (_super) {
|
|
55805
|
-
__extends$
|
|
55874
|
+
__extends$D(PolygonExtrusionLayer, _super);
|
|
55806
55875
|
/**
|
|
55807
55876
|
* Constructs a new PolygonExtrusionLayer.
|
|
55808
55877
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -55890,7 +55959,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
55890
55959
|
return PolygonExtrusionLayer;
|
|
55891
55960
|
}(Layer));
|
|
55892
55961
|
|
|
55893
|
-
var __extends$
|
|
55962
|
+
var __extends$E = (window && window.__extends) || (function () {
|
|
55894
55963
|
var extendStatics = function (d, b) {
|
|
55895
55964
|
extendStatics = Object.setPrototypeOf ||
|
|
55896
55965
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -55941,7 +56010,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
55941
56010
|
* Options used when rendering Polygon and MultiPolygon objects in a PolygonLayer.
|
|
55942
56011
|
*/
|
|
55943
56012
|
var PolygonLayerOptions = /** @class */ (function (_super) {
|
|
55944
|
-
__extends$
|
|
56013
|
+
__extends$E(PolygonLayerOptions, _super);
|
|
55945
56014
|
function PolygonLayerOptions() {
|
|
55946
56015
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
55947
56016
|
/**
|
|
@@ -55970,6 +56039,12 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
55970
56039
|
* Name of image in sprite to use for drawing image fills. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512).
|
|
55971
56040
|
*/
|
|
55972
56041
|
_this.fillPattern = undefined;
|
|
56042
|
+
/**
|
|
56043
|
+
* Whether or not the fill should be antialiased.
|
|
56044
|
+
* Default `true`.
|
|
56045
|
+
* @default true
|
|
56046
|
+
*/
|
|
56047
|
+
_this.fillAntialias = true;
|
|
55973
56048
|
return _this;
|
|
55974
56049
|
}
|
|
55975
56050
|
/**
|
|
@@ -56019,7 +56094,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
56019
56094
|
return PolygonLayerOptions;
|
|
56020
56095
|
}(LayerOptions));
|
|
56021
56096
|
|
|
56022
|
-
var __extends$
|
|
56097
|
+
var __extends$F = (window && window.__extends) || (function () {
|
|
56023
56098
|
var extendStatics = function (d, b) {
|
|
56024
56099
|
extendStatics = Object.setPrototypeOf ||
|
|
56025
56100
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -56038,7 +56113,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
56038
56113
|
* Renders filled Polygon and MultiPolygon objects on the map.
|
|
56039
56114
|
*/
|
|
56040
56115
|
var PolygonLayer = /** @class */ (function (_super) {
|
|
56041
|
-
__extends$
|
|
56116
|
+
__extends$F(PolygonLayer, _super);
|
|
56042
56117
|
/**
|
|
56043
56118
|
* Constructs a new PolygonLayer.
|
|
56044
56119
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -56086,6 +56161,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
56086
56161
|
this._updatePaintProperty("fill-color", newOptions.fillColor, this.options.fillColor);
|
|
56087
56162
|
this._updatePaintProperty("fill-opacity", newOptions.fillOpacity, this.options.fillOpacity);
|
|
56088
56163
|
this._updatePaintProperty("fill-pattern", newOptions.fillPattern, this.options.fillPattern);
|
|
56164
|
+
this._updatePaintProperty("fill-antialias", newOptions.fillAntialias, this.options.fillAntialias);
|
|
56089
56165
|
}
|
|
56090
56166
|
this.options = newOptions;
|
|
56091
56167
|
};
|
|
@@ -56103,7 +56179,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
56103
56179
|
visibility: this.options.visible ? "visible" : "none"
|
|
56104
56180
|
},
|
|
56105
56181
|
paint: {
|
|
56106
|
-
"fill-opacity": this.options.fillOpacity
|
|
56182
|
+
"fill-opacity": this.options.fillOpacity,
|
|
56183
|
+
"fill-antialias": this.options.fillAntialias,
|
|
56107
56184
|
},
|
|
56108
56185
|
minzoom: this.options.minZoom,
|
|
56109
56186
|
maxzoom: this.options.maxZoom
|
|
@@ -56144,7 +56221,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
56144
56221
|
return PolygonLayer;
|
|
56145
56222
|
}(Layer));
|
|
56146
56223
|
|
|
56147
|
-
var __extends$
|
|
56224
|
+
var __extends$G = (window && window.__extends) || (function () {
|
|
56148
56225
|
var extendStatics = function (d, b) {
|
|
56149
56226
|
extendStatics = Object.setPrototypeOf ||
|
|
56150
56227
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -56163,7 +56240,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
56163
56240
|
* Options used to customize the icons in a SymbolLayer
|
|
56164
56241
|
*/
|
|
56165
56242
|
var IconOptions = /** @class */ (function (_super) {
|
|
56166
|
-
__extends$
|
|
56243
|
+
__extends$G(IconOptions, _super);
|
|
56167
56244
|
function IconOptions() {
|
|
56168
56245
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
56169
56246
|
/**
|
|
@@ -56273,7 +56350,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
56273
56350
|
return IconOptions;
|
|
56274
56351
|
}(Options));
|
|
56275
56352
|
|
|
56276
|
-
var __extends$
|
|
56353
|
+
var __extends$H = (window && window.__extends) || (function () {
|
|
56277
56354
|
var extendStatics = function (d, b) {
|
|
56278
56355
|
extendStatics = Object.setPrototypeOf ||
|
|
56279
56356
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -56292,7 +56369,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
56292
56369
|
* Options used to customize the text in a SymbolLayer
|
|
56293
56370
|
*/
|
|
56294
56371
|
var TextOptions = /** @class */ (function (_super) {
|
|
56295
|
-
__extends$
|
|
56372
|
+
__extends$H(TextOptions, _super);
|
|
56296
56373
|
function TextOptions() {
|
|
56297
56374
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
56298
56375
|
/**
|
|
@@ -56472,7 +56549,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
56472
56549
|
return TextOptions;
|
|
56473
56550
|
}(Options));
|
|
56474
56551
|
|
|
56475
|
-
var __extends$
|
|
56552
|
+
var __extends$I = (window && window.__extends) || (function () {
|
|
56476
56553
|
var extendStatics = function (d, b) {
|
|
56477
56554
|
extendStatics = Object.setPrototypeOf ||
|
|
56478
56555
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -56491,7 +56568,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
56491
56568
|
* Options used when rendering geometries in a SymbolLayer.
|
|
56492
56569
|
*/
|
|
56493
56570
|
var SymbolLayerOptions = /** @class */ (function (_super) {
|
|
56494
|
-
__extends$
|
|
56571
|
+
__extends$I(SymbolLayerOptions, _super);
|
|
56495
56572
|
function SymbolLayerOptions() {
|
|
56496
56573
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
56497
56574
|
/**
|
|
@@ -56556,7 +56633,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
56556
56633
|
return SymbolLayerOptions;
|
|
56557
56634
|
}(LayerOptions));
|
|
56558
56635
|
|
|
56559
|
-
var __extends$
|
|
56636
|
+
var __extends$J = (window && window.__extends) || (function () {
|
|
56560
56637
|
var extendStatics = function (d, b) {
|
|
56561
56638
|
extendStatics = Object.setPrototypeOf ||
|
|
56562
56639
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -56587,7 +56664,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
56587
56664
|
* Symbols can also be created for line and polygon data as well.
|
|
56588
56665
|
*/
|
|
56589
56666
|
var SymbolLayer = /** @class */ (function (_super) {
|
|
56590
|
-
__extends$
|
|
56667
|
+
__extends$J(SymbolLayer, _super);
|
|
56591
56668
|
/**
|
|
56592
56669
|
* Constructs a new SymbolLayer.
|
|
56593
56670
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -56729,7 +56806,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
56729
56806
|
return SymbolLayer;
|
|
56730
56807
|
}(Layer));
|
|
56731
56808
|
|
|
56732
|
-
var __extends$
|
|
56809
|
+
var __extends$K = (window && window.__extends) || (function () {
|
|
56733
56810
|
var extendStatics = function (d, b) {
|
|
56734
56811
|
extendStatics = Object.setPrototypeOf ||
|
|
56735
56812
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -56748,7 +56825,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
56748
56825
|
* Options used when rendering raster tiled images in a TileLayer.
|
|
56749
56826
|
*/
|
|
56750
56827
|
var TileLayerOptions = /** @class */ (function (_super) {
|
|
56751
|
-
__extends$
|
|
56828
|
+
__extends$K(TileLayerOptions, _super);
|
|
56752
56829
|
function TileLayerOptions() {
|
|
56753
56830
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
56754
56831
|
/**
|
|
@@ -56804,7 +56881,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
56804
56881
|
return TileLayerOptions;
|
|
56805
56882
|
}(MediaLayerOptions));
|
|
56806
56883
|
|
|
56807
|
-
var __extends$
|
|
56884
|
+
var __extends$L = (window && window.__extends) || (function () {
|
|
56808
56885
|
var extendStatics = function (d, b) {
|
|
56809
56886
|
extendStatics = Object.setPrototypeOf ||
|
|
56810
56887
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -56845,7 +56922,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
56845
56922
|
* Renders raster tiled images on top of the map tiles.
|
|
56846
56923
|
*/
|
|
56847
56924
|
var TileLayer = /** @class */ (function (_super) {
|
|
56848
|
-
__extends$
|
|
56925
|
+
__extends$L(TileLayer, _super);
|
|
56849
56926
|
/**
|
|
56850
56927
|
* Constructs a new TileLayer.
|
|
56851
56928
|
* @param options The options for the tile layer.
|
|
@@ -56988,7 +57065,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
56988
57065
|
return TileLayer;
|
|
56989
57066
|
}(SourceBuildingLayer));
|
|
56990
57067
|
|
|
56991
|
-
var __extends$
|
|
57068
|
+
var __extends$M = (window && window.__extends) || (function () {
|
|
56992
57069
|
var extendStatics = function (d, b) {
|
|
56993
57070
|
extendStatics = Object.setPrototypeOf ||
|
|
56994
57071
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -57007,7 +57084,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
57007
57084
|
* Options used to render graphics in a WebGLLayer.
|
|
57008
57085
|
*/
|
|
57009
57086
|
var WebGLLayerOptions = /** @class */ (function (_super) {
|
|
57010
|
-
__extends$
|
|
57087
|
+
__extends$M(WebGLLayerOptions, _super);
|
|
57011
57088
|
function WebGLLayerOptions() {
|
|
57012
57089
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
57013
57090
|
/**
|
|
@@ -57019,7 +57096,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
57019
57096
|
return WebGLLayerOptions;
|
|
57020
57097
|
}(LayerOptions));
|
|
57021
57098
|
|
|
57022
|
-
var __extends$
|
|
57099
|
+
var __extends$N = (window && window.__extends) || (function () {
|
|
57023
57100
|
var extendStatics = function (d, b) {
|
|
57024
57101
|
extendStatics = Object.setPrototypeOf ||
|
|
57025
57102
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -57038,7 +57115,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
57038
57115
|
* Enables custom rendering logic with access to the WebGL context of the map.
|
|
57039
57116
|
*/
|
|
57040
57117
|
var WebGLLayer = /** @class */ (function (_super) {
|
|
57041
|
-
__extends$
|
|
57118
|
+
__extends$N(WebGLLayer, _super);
|
|
57042
57119
|
/**
|
|
57043
57120
|
* Constructs a new WebGLLayer.
|
|
57044
57121
|
* @param id The id of the layer. If not specified a random one will be generated.
|
|
@@ -57268,7 +57345,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
57268
57345
|
|
|
57269
57346
|
var isElement_1 = isElement;
|
|
57270
57347
|
|
|
57271
|
-
var __extends$
|
|
57348
|
+
var __extends$O = (window && window.__extends) || (function () {
|
|
57272
57349
|
var extendStatics = function (d, b) {
|
|
57273
57350
|
extendStatics = Object.setPrototypeOf ||
|
|
57274
57351
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -57287,7 +57364,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
57287
57364
|
* The options for a popup.
|
|
57288
57365
|
*/
|
|
57289
57366
|
var PopupOptions = /** @class */ (function (_super) {
|
|
57290
|
-
__extends$
|
|
57367
|
+
__extends$O(PopupOptions, _super);
|
|
57291
57368
|
function PopupOptions() {
|
|
57292
57369
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
57293
57370
|
/**
|
|
@@ -57356,7 +57433,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
57356
57433
|
return PopupOptions;
|
|
57357
57434
|
}(Options));
|
|
57358
57435
|
|
|
57359
|
-
var __extends$
|
|
57436
|
+
var __extends$P = (window && window.__extends) || (function () {
|
|
57360
57437
|
var extendStatics = function (d, b) {
|
|
57361
57438
|
extendStatics = Object.setPrototypeOf ||
|
|
57362
57439
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -57391,7 +57468,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
57391
57468
|
* An information window anchored at a specified position on a map.
|
|
57392
57469
|
*/
|
|
57393
57470
|
var Popup = /** @class */ (function (_super) {
|
|
57394
|
-
__extends$
|
|
57471
|
+
__extends$P(Popup, _super);
|
|
57395
57472
|
/**
|
|
57396
57473
|
* Constructs a Popup object and initializes it with the specified options.
|
|
57397
57474
|
* @param options The options for the popup.
|
|
@@ -57862,7 +57939,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
57862
57939
|
return Popup;
|
|
57863
57940
|
}(EventEmitter));
|
|
57864
57941
|
|
|
57865
|
-
var __extends$
|
|
57942
|
+
var __extends$Q = (window && window.__extends) || (function () {
|
|
57866
57943
|
var extendStatics = function (d, b) {
|
|
57867
57944
|
extendStatics = Object.setPrototypeOf ||
|
|
57868
57945
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -57881,7 +57958,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
57881
57958
|
* Options for rendering an HtmlMarker object
|
|
57882
57959
|
*/
|
|
57883
57960
|
var HtmlMarkerOptions = /** @class */ (function (_super) {
|
|
57884
|
-
__extends$
|
|
57961
|
+
__extends$Q(HtmlMarkerOptions, _super);
|
|
57885
57962
|
function HtmlMarkerOptions() {
|
|
57886
57963
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
57887
57964
|
/**
|
|
@@ -57959,7 +58036,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
57959
58036
|
return HtmlMarkerOptions;
|
|
57960
58037
|
}(Options));
|
|
57961
58038
|
|
|
57962
|
-
var __extends$
|
|
58039
|
+
var __extends$R = (window && window.__extends) || (function () {
|
|
57963
58040
|
var extendStatics = function (d, b) {
|
|
57964
58041
|
extendStatics = Object.setPrototypeOf ||
|
|
57965
58042
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -57978,7 +58055,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
57978
58055
|
* This class wraps an HTML element that can be displayed on the map.
|
|
57979
58056
|
*/
|
|
57980
58057
|
var HtmlMarker = /** @class */ (function (_super) {
|
|
57981
|
-
__extends$
|
|
58058
|
+
__extends$R(HtmlMarker, _super);
|
|
57982
58059
|
/**
|
|
57983
58060
|
* Constructs a new HtmlMarker.
|
|
57984
58061
|
* @param options The options for the HtmlMarker.
|
|
@@ -58703,7 +58780,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
58703
58780
|
return UserAgent;
|
|
58704
58781
|
}());
|
|
58705
58782
|
|
|
58706
|
-
var __extends$
|
|
58783
|
+
var __extends$S = (window && window.__extends) || (function () {
|
|
58707
58784
|
var extendStatics = function (d, b) {
|
|
58708
58785
|
extendStatics = Object.setPrototypeOf ||
|
|
58709
58786
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -58769,7 +58846,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
58769
58846
|
* Options for specifying how the map control should authenticate with the Azure Maps services.
|
|
58770
58847
|
*/
|
|
58771
58848
|
var AuthenticationOptions = /** @class */ (function (_super) {
|
|
58772
|
-
__extends$
|
|
58849
|
+
__extends$S(AuthenticationOptions, _super);
|
|
58773
58850
|
function AuthenticationOptions() {
|
|
58774
58851
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
58775
58852
|
/**
|
|
@@ -59370,7 +59447,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
59370
59447
|
return Media;
|
|
59371
59448
|
}());
|
|
59372
59449
|
|
|
59373
|
-
var __extends$
|
|
59450
|
+
var __extends$T = (window && window.__extends) || (function () {
|
|
59374
59451
|
var extendStatics = function (d, b) {
|
|
59375
59452
|
extendStatics = Object.setPrototypeOf ||
|
|
59376
59453
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -59389,7 +59466,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
59389
59466
|
* The options for a CopyrightControl object.
|
|
59390
59467
|
*/
|
|
59391
59468
|
var CopyrightControlOptions = /** @class */ (function (_super) {
|
|
59392
|
-
__extends$
|
|
59469
|
+
__extends$T(CopyrightControlOptions, _super);
|
|
59393
59470
|
function CopyrightControlOptions() {
|
|
59394
59471
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
59395
59472
|
/**
|
|
@@ -59418,7 +59495,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
59418
59495
|
return CopyrightControlOptions;
|
|
59419
59496
|
}(Options));
|
|
59420
59497
|
|
|
59421
|
-
var __extends$
|
|
59498
|
+
var __extends$U = (window && window.__extends) || (function () {
|
|
59422
59499
|
var extendStatics = function (d, b) {
|
|
59423
59500
|
extendStatics = Object.setPrototypeOf ||
|
|
59424
59501
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -59437,7 +59514,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
59437
59514
|
* @private
|
|
59438
59515
|
*/
|
|
59439
59516
|
var CopyrightControl = /** @class */ (function (_super) {
|
|
59440
|
-
__extends$
|
|
59517
|
+
__extends$U(CopyrightControl, _super);
|
|
59441
59518
|
function CopyrightControl(options) {
|
|
59442
59519
|
var _this = _super.call(this) || this;
|
|
59443
59520
|
_this.textAttribution = function (options) {
|
|
@@ -59445,10 +59522,18 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
59445
59522
|
.filter(function (message) { return message; })
|
|
59446
59523
|
.join("");
|
|
59447
59524
|
};
|
|
59525
|
+
// Append latitude, longitude and zoom level to feedback link.
|
|
59526
|
+
_this.updateFeedbackLink = function () {
|
|
59527
|
+
if (_this.feedbackAnchor && _this.map) {
|
|
59528
|
+
var _a = _this.map.getCamera(), center = _a.center, zoom = _a.zoom;
|
|
59529
|
+
_this.feedbackAnchor.href = CopyrightControl.feedbackLink + "&cp=" + center[1] + "~" + center[0] + "&lvl=" + (zoom + 1);
|
|
59530
|
+
}
|
|
59531
|
+
};
|
|
59448
59532
|
_this.options = new CopyrightControlOptions().merge(options);
|
|
59449
59533
|
return _this;
|
|
59450
59534
|
}
|
|
59451
59535
|
CopyrightControl.prototype.onAdd = function (map) {
|
|
59536
|
+
this.map = map;
|
|
59452
59537
|
this.container = this.buildContainer(map, exports.ControlStyle.auto);
|
|
59453
59538
|
this.container.className = "map-copyright";
|
|
59454
59539
|
this.copyrightDiv = this.buildCopyrightDiv();
|
|
@@ -59515,27 +59600,30 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
59515
59600
|
};
|
|
59516
59601
|
CopyrightControl.prototype.buildFeedbackLink = function () {
|
|
59517
59602
|
var link = document.createElement("a");
|
|
59518
|
-
link.setAttribute("alt", "
|
|
59519
|
-
link.setAttribute("aria-label", "
|
|
59520
|
-
link.href =
|
|
59603
|
+
link.setAttribute("alt", "Provide Map Data Feedback");
|
|
59604
|
+
link.setAttribute("aria-label", "Provide Map Data Feedback");
|
|
59605
|
+
link.href = CopyrightControl.feedbackLink;
|
|
59521
59606
|
link.target = "_blank";
|
|
59522
59607
|
link.rel = "noopener";
|
|
59523
59608
|
link.className = "azure-map-feedback";
|
|
59524
59609
|
return link;
|
|
59525
59610
|
};
|
|
59526
59611
|
CopyrightControl.prototype.addRemoveFeedbackDiv = function (add) {
|
|
59612
|
+
var _a, _b, _c, _d;
|
|
59527
59613
|
if (add) {
|
|
59528
59614
|
this.feedbackAnchor = this.buildFeedbackLink();
|
|
59529
|
-
this.tooltip = buildAccessibleTooltip("
|
|
59615
|
+
this.tooltip = buildAccessibleTooltip("Provide Map Data Feedback");
|
|
59530
59616
|
this.container.appendChild(this.feedbackAnchor);
|
|
59531
59617
|
this.container.appendChild(this.tooltip);
|
|
59532
59618
|
positionTooltip(this.tooltip, this.feedbackAnchor);
|
|
59619
|
+
(_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a.events) === null || _b === void 0 ? void 0 : _b.add("moveend", this.updateFeedbackLink);
|
|
59533
59620
|
}
|
|
59534
59621
|
else {
|
|
59535
59622
|
this.feedbackAnchor.remove();
|
|
59536
59623
|
this.tooltip.remove();
|
|
59537
59624
|
delete this.tooltip;
|
|
59538
59625
|
delete this.feedbackAnchor;
|
|
59626
|
+
(_d = (_c = this.map) === null || _c === void 0 ? void 0 : _c.events) === null || _d === void 0 ? void 0 : _d.remove("moveend", this.updateFeedbackLink);
|
|
59539
59627
|
}
|
|
59540
59628
|
};
|
|
59541
59629
|
CopyrightControl.prototype.addRemoveLogo = function (add) {
|
|
@@ -59556,6 +59644,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
59556
59644
|
delete this.logoAnchor;
|
|
59557
59645
|
}
|
|
59558
59646
|
};
|
|
59647
|
+
CopyrightControl.feedbackLink = "https://aka.ms/azuremapsdatafeedback?feedbackep=UrlAzureMapsWebSdk";
|
|
59559
59648
|
return CopyrightControl;
|
|
59560
59649
|
}(ControlBase));
|
|
59561
59650
|
|
|
@@ -61202,7 +61291,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
61202
61291
|
return FlowServiceDelegate;
|
|
61203
61292
|
}());
|
|
61204
61293
|
|
|
61205
|
-
var __extends$
|
|
61294
|
+
var __extends$V = (window && window.__extends) || (function () {
|
|
61206
61295
|
var extendStatics = function (d, b) {
|
|
61207
61296
|
extendStatics = Object.setPrototypeOf ||
|
|
61208
61297
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -61221,7 +61310,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
61221
61310
|
* @private
|
|
61222
61311
|
*/
|
|
61223
61312
|
var Incident = /** @class */ (function (_super) {
|
|
61224
|
-
__extends$
|
|
61313
|
+
__extends$V(Incident, _super);
|
|
61225
61314
|
function Incident(data, point, localizedStrings) {
|
|
61226
61315
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1;
|
|
61227
61316
|
var _this = this;
|
|
@@ -61716,7 +61805,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
61716
61805
|
return IncidentServiceDelegate;
|
|
61717
61806
|
}());
|
|
61718
61807
|
|
|
61719
|
-
var __extends$
|
|
61808
|
+
var __extends$W = (window && window.__extends) || (function () {
|
|
61720
61809
|
var extendStatics = function (d, b) {
|
|
61721
61810
|
extendStatics = Object.setPrototypeOf ||
|
|
61722
61811
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -61735,7 +61824,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
61735
61824
|
* The options for enabling/disabling user interaction with the map.
|
|
61736
61825
|
*/
|
|
61737
61826
|
var UserInteractionOptions = /** @class */ (function (_super) {
|
|
61738
|
-
__extends$
|
|
61827
|
+
__extends$W(UserInteractionOptions, _super);
|
|
61739
61828
|
function UserInteractionOptions() {
|
|
61740
61829
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
61741
61830
|
/**
|
|
@@ -68868,7 +68957,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
68868
68957
|
return ImageSpriteManager;
|
|
68869
68958
|
}());
|
|
68870
68959
|
|
|
68871
|
-
var __extends$
|
|
68960
|
+
var __extends$X = (window && window.__extends) || (function () {
|
|
68872
68961
|
var extendStatics = function (d, b) {
|
|
68873
68962
|
extendStatics = Object.setPrototypeOf ||
|
|
68874
68963
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -68900,7 +68989,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
68900
68989
|
* @private
|
|
68901
68990
|
*/
|
|
68902
68991
|
var FundamentalMapLayer = /** @class */ (function (_super) {
|
|
68903
|
-
__extends$
|
|
68992
|
+
__extends$X(FundamentalMapLayer, _super);
|
|
68904
68993
|
/**
|
|
68905
68994
|
* Constructs a base layer used to represent the base, transit, and labels layers.
|
|
68906
68995
|
* @param mbLayers The stylesheet used to define the style sources and style layers.
|
|
@@ -69676,7 +69765,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
69676
69765
|
return PopupManager;
|
|
69677
69766
|
}());
|
|
69678
69767
|
|
|
69679
|
-
var __extends$
|
|
69768
|
+
var __extends$Y = (window && window.__extends) || (function () {
|
|
69680
69769
|
var extendStatics = function (d, b) {
|
|
69681
69770
|
extendStatics = Object.setPrototypeOf ||
|
|
69682
69771
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -69707,7 +69796,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
69707
69796
|
* @private
|
|
69708
69797
|
*/
|
|
69709
69798
|
var FundamentalMapSource = /** @class */ (function (_super) {
|
|
69710
|
-
__extends$
|
|
69799
|
+
__extends$Y(FundamentalMapSource, _super);
|
|
69711
69800
|
/**
|
|
69712
69801
|
* Constructs a source from the contents of a layer resource file.
|
|
69713
69802
|
* @param id The source's id.
|
|
@@ -69850,59 +69939,59 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
69850
69939
|
var features = this.map._getMap().querySourceFeatures(sourceID, { sourceLayer: sourceLayer, filter: filter });
|
|
69851
69940
|
return this.map.sources._mapFeaturesToShapes(features, true, this.sources.get(sourceID));
|
|
69852
69941
|
};
|
|
69853
|
-
|
|
69854
|
-
|
|
69855
|
-
|
|
69856
|
-
|
|
69857
|
-
|
|
69858
|
-
|
|
69859
|
-
|
|
69860
|
-
|
|
69861
|
-
|
|
69862
|
-
|
|
69863
|
-
|
|
69864
|
-
|
|
69865
|
-
|
|
69866
|
-
|
|
69867
|
-
|
|
69868
|
-
|
|
69869
|
-
|
|
69870
|
-
|
|
69871
|
-
|
|
69872
|
-
|
|
69873
|
-
|
|
69874
|
-
|
|
69875
|
-
|
|
69876
|
-
|
|
69877
|
-
|
|
69878
|
-
|
|
69879
|
-
|
|
69880
|
-
|
|
69881
|
-
|
|
69882
|
-
|
|
69883
|
-
|
|
69884
|
-
|
|
69885
|
-
|
|
69886
|
-
|
|
69887
|
-
|
|
69888
|
-
|
|
69889
|
-
|
|
69890
|
-
|
|
69891
|
-
|
|
69892
|
-
|
|
69893
|
-
|
|
69894
|
-
|
|
69895
|
-
|
|
69896
|
-
|
|
69897
|
-
|
|
69898
|
-
|
|
69899
|
-
|
|
69900
|
-
|
|
69901
|
-
|
|
69902
|
-
|
|
69903
|
-
|
|
69904
|
-
|
|
69905
|
-
|
|
69942
|
+
/**
|
|
69943
|
+
* Gets the state of a feature
|
|
69944
|
+
* @param feature the ID of the feature
|
|
69945
|
+
* @param source the ID of the source
|
|
69946
|
+
* @param sourceLayer the ID of the layer
|
|
69947
|
+
*/
|
|
69948
|
+
SourceManager.prototype.getFeatureState = function (feature, source, sourceLayer) {
|
|
69949
|
+
var featureId;
|
|
69950
|
+
if (typeof feature === "string") {
|
|
69951
|
+
featureId = feature;
|
|
69952
|
+
}
|
|
69953
|
+
else {
|
|
69954
|
+
featureId = feature instanceof Shape ? feature.getId() : feature.id;
|
|
69955
|
+
}
|
|
69956
|
+
var featureSource = typeof source === "string" ? source : source.getId();
|
|
69957
|
+
return this.map._getMap().getFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer });
|
|
69958
|
+
};
|
|
69959
|
+
/**
|
|
69960
|
+
* Removes the state or a single key value of the state of a feature.
|
|
69961
|
+
* @param feature the ID of the feature
|
|
69962
|
+
* @param source the ID of the source
|
|
69963
|
+
* @param sourceLayer the ID of the layer
|
|
69964
|
+
* @param key the key in the feature state to update
|
|
69965
|
+
*/
|
|
69966
|
+
SourceManager.prototype.removeFeatureState = function (feature, source, sourceLayer, key) {
|
|
69967
|
+
var featureId;
|
|
69968
|
+
if (typeof feature === "string") {
|
|
69969
|
+
featureId = feature;
|
|
69970
|
+
}
|
|
69971
|
+
else {
|
|
69972
|
+
featureId = feature instanceof Shape ? feature.getId() : feature.id;
|
|
69973
|
+
}
|
|
69974
|
+
var featureSource = typeof source === "string" ? source : source.getId();
|
|
69975
|
+
this.map._getMap().removeFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer }, key);
|
|
69976
|
+
};
|
|
69977
|
+
/**
|
|
69978
|
+
* Sets the state of the feature by passing in a key value pair object.
|
|
69979
|
+
* @param feature the ID of the feature
|
|
69980
|
+
* @param source the ID of the source
|
|
69981
|
+
* @param sourceLayer the ID of the layer
|
|
69982
|
+
* @param key the key in the feature state to update
|
|
69983
|
+
*/
|
|
69984
|
+
SourceManager.prototype.setFeatureState = function (feature, source, state, sourceLayer) {
|
|
69985
|
+
var featureId;
|
|
69986
|
+
if (typeof feature === "string") {
|
|
69987
|
+
featureId = feature;
|
|
69988
|
+
}
|
|
69989
|
+
else {
|
|
69990
|
+
featureId = feature instanceof Shape ? feature.getId() : feature.id;
|
|
69991
|
+
}
|
|
69992
|
+
var featureSource = typeof source === "string" ? source : source.getId();
|
|
69993
|
+
this.map._getMap().setFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer }, state);
|
|
69994
|
+
};
|
|
69906
69995
|
/**
|
|
69907
69996
|
* @internal
|
|
69908
69997
|
*/
|
|
@@ -70103,7 +70192,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70103
70192
|
return SourceManager;
|
|
70104
70193
|
}());
|
|
70105
70194
|
|
|
70106
|
-
var __extends$
|
|
70195
|
+
var __extends$Z = (window && window.__extends) || (function () {
|
|
70107
70196
|
var extendStatics = function (d, b) {
|
|
70108
70197
|
extendStatics = Object.setPrototypeOf ||
|
|
70109
70198
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -70122,7 +70211,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70122
70211
|
* The options for animating changes to the map control's camera.
|
|
70123
70212
|
*/
|
|
70124
70213
|
var AnimationOptions = /** @class */ (function (_super) {
|
|
70125
|
-
__extends$
|
|
70214
|
+
__extends$Z(AnimationOptions, _super);
|
|
70126
70215
|
function AnimationOptions() {
|
|
70127
70216
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
70128
70217
|
/**
|
|
@@ -70146,7 +70235,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70146
70235
|
return AnimationOptions;
|
|
70147
70236
|
}(Options));
|
|
70148
70237
|
|
|
70149
|
-
var __extends$
|
|
70238
|
+
var __extends$_ = (window && window.__extends) || (function () {
|
|
70150
70239
|
var extendStatics = function (d, b) {
|
|
70151
70240
|
extendStatics = Object.setPrototypeOf ||
|
|
70152
70241
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -70165,7 +70254,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70165
70254
|
* Represent the amount of padding in pixels to add to the side of a BoundingBox when setting the camera of a map.
|
|
70166
70255
|
*/
|
|
70167
70256
|
var Padding = /** @class */ (function (_super) {
|
|
70168
|
-
__extends$
|
|
70257
|
+
__extends$_(Padding, _super);
|
|
70169
70258
|
function Padding() {
|
|
70170
70259
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
70171
70260
|
/**
|
|
@@ -70197,7 +70286,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70197
70286
|
return Padding;
|
|
70198
70287
|
}(Options));
|
|
70199
70288
|
|
|
70200
|
-
var __extends
|
|
70289
|
+
var __extends$$ = (window && window.__extends) || (function () {
|
|
70201
70290
|
var extendStatics = function (d, b) {
|
|
70202
70291
|
extendStatics = Object.setPrototypeOf ||
|
|
70203
70292
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -70248,7 +70337,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70248
70337
|
* The options for setting the bounds of the map control's camera.
|
|
70249
70338
|
*/
|
|
70250
70339
|
var CameraBoundsOptions = /** @class */ (function (_super) {
|
|
70251
|
-
__extends
|
|
70340
|
+
__extends$$(CameraBoundsOptions, _super);
|
|
70252
70341
|
function CameraBoundsOptions() {
|
|
70253
70342
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
70254
70343
|
/**
|
|
@@ -70319,7 +70408,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70319
70408
|
return CameraBoundsOptions;
|
|
70320
70409
|
}(Options));
|
|
70321
70410
|
|
|
70322
|
-
var __extends
|
|
70411
|
+
var __extends$10 = (window && window.__extends) || (function () {
|
|
70323
70412
|
var extendStatics = function (d, b) {
|
|
70324
70413
|
extendStatics = Object.setPrototypeOf ||
|
|
70325
70414
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -70338,7 +70427,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70338
70427
|
* The options for setting the map control's camera.
|
|
70339
70428
|
*/
|
|
70340
70429
|
var CameraOptions = /** @class */ (function (_super) {
|
|
70341
|
-
__extends
|
|
70430
|
+
__extends$10(CameraOptions, _super);
|
|
70342
70431
|
function CameraOptions() {
|
|
70343
70432
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
70344
70433
|
/**
|
|
@@ -70397,7 +70486,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70397
70486
|
return CameraOptions;
|
|
70398
70487
|
}(Options));
|
|
70399
70488
|
|
|
70400
|
-
var __extends$
|
|
70489
|
+
var __extends$11 = (window && window.__extends) || (function () {
|
|
70401
70490
|
var extendStatics = function (d, b) {
|
|
70402
70491
|
extendStatics = Object.setPrototypeOf ||
|
|
70403
70492
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -70416,7 +70505,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70416
70505
|
* The options for a layer of the map.
|
|
70417
70506
|
*/
|
|
70418
70507
|
var LayerOptions$1 = /** @class */ (function (_super) {
|
|
70419
|
-
__extends$
|
|
70508
|
+
__extends$11(LayerOptions, _super);
|
|
70420
70509
|
function LayerOptions() {
|
|
70421
70510
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
70422
70511
|
/**
|
|
@@ -70449,7 +70538,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70449
70538
|
return LayerOptions;
|
|
70450
70539
|
}(Options));
|
|
70451
70540
|
|
|
70452
|
-
var __extends$
|
|
70541
|
+
var __extends$12 = (window && window.__extends) || (function () {
|
|
70453
70542
|
var extendStatics = function (d, b) {
|
|
70454
70543
|
extendStatics = Object.setPrototypeOf ||
|
|
70455
70544
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -70469,7 +70558,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70469
70558
|
* @deprecated Use BubbleLayerOptions with atlas.layer.BubbleLayer instead.
|
|
70470
70559
|
*/
|
|
70471
70560
|
var CircleLayerOptions = /** @class */ (function (_super) {
|
|
70472
|
-
__extends$
|
|
70561
|
+
__extends$12(CircleLayerOptions, _super);
|
|
70473
70562
|
function CircleLayerOptions() {
|
|
70474
70563
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
70475
70564
|
/**
|
|
@@ -70501,7 +70590,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70501
70590
|
return CircleLayerOptions;
|
|
70502
70591
|
}(LayerOptions$1));
|
|
70503
70592
|
|
|
70504
|
-
var __extends$
|
|
70593
|
+
var __extends$13 = (window && window.__extends) || (function () {
|
|
70505
70594
|
var extendStatics = function (d, b) {
|
|
70506
70595
|
extendStatics = Object.setPrototypeOf ||
|
|
70507
70596
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -70521,7 +70610,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70521
70610
|
* @deprecated Use LineLayerOptions with atlas.layer.LineLayer instead.
|
|
70522
70611
|
*/
|
|
70523
70612
|
var LinestringLayerOptions = /** @class */ (function (_super) {
|
|
70524
|
-
__extends$
|
|
70613
|
+
__extends$13(LinestringLayerOptions, _super);
|
|
70525
70614
|
function LinestringLayerOptions() {
|
|
70526
70615
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
70527
70616
|
/**
|
|
@@ -70557,7 +70646,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70557
70646
|
return LinestringLayerOptions;
|
|
70558
70647
|
}(LayerOptions$1));
|
|
70559
70648
|
|
|
70560
|
-
var __extends$
|
|
70649
|
+
var __extends$14 = (window && window.__extends) || (function () {
|
|
70561
70650
|
var extendStatics = function (d, b) {
|
|
70562
70651
|
extendStatics = Object.setPrototypeOf ||
|
|
70563
70652
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -70577,7 +70666,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70577
70666
|
* @deprecated Use SymbolLayerOptions with atlas.layer.SymbolLayer instead.
|
|
70578
70667
|
*/
|
|
70579
70668
|
var PinLayerOptions = /** @class */ (function (_super) {
|
|
70580
|
-
__extends$
|
|
70669
|
+
__extends$14(PinLayerOptions, _super);
|
|
70581
70670
|
function PinLayerOptions() {
|
|
70582
70671
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
70583
70672
|
/**
|
|
@@ -70627,7 +70716,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70627
70716
|
return PinLayerOptions;
|
|
70628
70717
|
}(LayerOptions$1));
|
|
70629
70718
|
|
|
70630
|
-
var __extends$
|
|
70719
|
+
var __extends$15 = (window && window.__extends) || (function () {
|
|
70631
70720
|
var extendStatics = function (d, b) {
|
|
70632
70721
|
extendStatics = Object.setPrototypeOf ||
|
|
70633
70722
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -70647,7 +70736,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70647
70736
|
* @deprecated Use new PolygonLayerOptions with atlas.layer.PolygonLayer instead.
|
|
70648
70737
|
*/
|
|
70649
70738
|
var PolygonLayerOptions$1 = /** @class */ (function (_super) {
|
|
70650
|
-
__extends$
|
|
70739
|
+
__extends$15(PolygonLayerOptions, _super);
|
|
70651
70740
|
function PolygonLayerOptions() {
|
|
70652
70741
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
70653
70742
|
/**
|
|
@@ -70670,7 +70759,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70670
70759
|
return PolygonLayerOptions;
|
|
70671
70760
|
}(LayerOptions$1));
|
|
70672
70761
|
|
|
70673
|
-
var __extends$
|
|
70762
|
+
var __extends$16 = (window && window.__extends) || (function () {
|
|
70674
70763
|
var extendStatics = function (d, b) {
|
|
70675
70764
|
extendStatics = Object.setPrototypeOf ||
|
|
70676
70765
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -70690,7 +70779,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70690
70779
|
* @deprecated Use TileLayerOptions with atlas.layer.TileLayer instead.
|
|
70691
70780
|
*/
|
|
70692
70781
|
var RasterLayerOptions = /** @class */ (function (_super) {
|
|
70693
|
-
__extends$
|
|
70782
|
+
__extends$16(RasterLayerOptions, _super);
|
|
70694
70783
|
function RasterLayerOptions() {
|
|
70695
70784
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
70696
70785
|
/**
|
|
@@ -70702,7 +70791,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70702
70791
|
return RasterLayerOptions;
|
|
70703
70792
|
}(LayerOptions$1));
|
|
70704
70793
|
|
|
70705
|
-
var __extends$
|
|
70794
|
+
var __extends$17 = (window && window.__extends) || (function () {
|
|
70706
70795
|
var extendStatics = function (d, b) {
|
|
70707
70796
|
extendStatics = Object.setPrototypeOf ||
|
|
70708
70797
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -70721,7 +70810,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70721
70810
|
* The options for the map's lighting.
|
|
70722
70811
|
*/
|
|
70723
70812
|
var LightOptions = /** @class */ (function (_super) {
|
|
70724
|
-
__extends$
|
|
70813
|
+
__extends$17(LightOptions, _super);
|
|
70725
70814
|
function LightOptions() {
|
|
70726
70815
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
70727
70816
|
/**
|
|
@@ -70761,7 +70850,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70761
70850
|
return LightOptions;
|
|
70762
70851
|
}(Options));
|
|
70763
70852
|
|
|
70764
|
-
var __extends$
|
|
70853
|
+
var __extends$18 = (window && window.__extends) || (function () {
|
|
70765
70854
|
var extendStatics = function (d, b) {
|
|
70766
70855
|
extendStatics = Object.setPrototypeOf ||
|
|
70767
70856
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -70812,7 +70901,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70812
70901
|
* The options for the map's style.
|
|
70813
70902
|
*/
|
|
70814
70903
|
var StyleOptions = /** @class */ (function (_super) {
|
|
70815
|
-
__extends$
|
|
70904
|
+
__extends$18(StyleOptions, _super);
|
|
70816
70905
|
function StyleOptions() {
|
|
70817
70906
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
70818
70907
|
/**
|
|
@@ -70974,7 +71063,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
70974
71063
|
return StyleOptions;
|
|
70975
71064
|
}(Options));
|
|
70976
71065
|
|
|
70977
|
-
var __extends$
|
|
71066
|
+
var __extends$19 = (window && window.__extends) || (function () {
|
|
70978
71067
|
var extendStatics = function (d, b) {
|
|
70979
71068
|
extendStatics = Object.setPrototypeOf ||
|
|
70980
71069
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -71044,7 +71133,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
71044
71133
|
* Global properties used in all atlas service requests.
|
|
71045
71134
|
*/
|
|
71046
71135
|
var ServiceOptions = /** @class */ (function (_super) {
|
|
71047
|
-
__extends$
|
|
71136
|
+
__extends$19(ServiceOptions, _super);
|
|
71048
71137
|
function ServiceOptions() {
|
|
71049
71138
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
71050
71139
|
/**
|
|
@@ -71113,10 +71202,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
71113
71202
|
*/
|
|
71114
71203
|
_this["enable-accessibility"] = _this.enableAccessibility;
|
|
71115
71204
|
/**
|
|
71116
|
-
* Enable fallback to geocoder for
|
|
71205
|
+
* Enable the fallback to the REST API geocoder for detecting location accessibility if extracting location from vector data fails.
|
|
71206
|
+
* Disabling this option will prevent the generation of geocode API requests but may lead to a lack of location information for screen readers.
|
|
71117
71207
|
* default: true
|
|
71118
71208
|
* @default true
|
|
71119
|
-
* @internal
|
|
71120
71209
|
*/
|
|
71121
71210
|
_this.enableAccessibilityLocationFallback = true;
|
|
71122
71211
|
/**
|
|
@@ -71884,14 +71973,13 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
71884
71973
|
return !previousStyle
|
|
71885
71974
|
? nextStyle
|
|
71886
71975
|
: this.map.layers._getUserLayers().reduce(function (style, userLayer) {
|
|
71976
|
+
var _a, _b;
|
|
71887
71977
|
if (userLayer.layer instanceof WebGLLayer) {
|
|
71888
71978
|
// mapbox custom layers cannot be serialized and preserved,
|
|
71889
71979
|
// return to continue to the next user layer.
|
|
71890
71980
|
return style;
|
|
71891
71981
|
}
|
|
71892
|
-
var
|
|
71893
|
-
? layerGroupLayers[userLayer.before][0]
|
|
71894
|
-
: undefined;
|
|
71982
|
+
var beforeLayerId = ((_b = (_a = layerGroupLayers === null || layerGroupLayers === void 0 ? void 0 : layerGroupLayers[userLayer.before]) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.id) || userLayer.before;
|
|
71895
71983
|
var layer = previousStyle.layers.find(function (layer) { return layer.id === userLayer.layer.getId(); });
|
|
71896
71984
|
// when setStyle diff attempt is unsuccesful, _load will be called on the style that may have already injected user layers -> clean it up
|
|
71897
71985
|
var existingLayerIdx = nextStyle.layers.findIndex(function (layer) { return layer.id === userLayer.layer.getId(); });
|
|
@@ -71902,7 +71990,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
71902
71990
|
var sourcesToCopy = new Set(Array.from(userLayer.layer._getSourceIds())
|
|
71903
71991
|
.map(function (sourceId) { return previousStyle.sources[sourceId] ? { source: previousStyle.sources[sourceId], id: sourceId } : undefined; })
|
|
71904
71992
|
.filter(function (source) { return source !== undefined; }));
|
|
71905
|
-
var insertIdx =
|
|
71993
|
+
var insertIdx = beforeLayerId ? style.layers.findIndex(function (layer) { return layer.id === beforeLayerId; }) : -1;
|
|
71906
71994
|
if (insertIdx > -1) {
|
|
71907
71995
|
style.layers.splice(insertIdx, 0, layer);
|
|
71908
71996
|
}
|
|
@@ -72295,7 +72383,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
72295
72383
|
return AccessibleIndicatorManager;
|
|
72296
72384
|
}());
|
|
72297
72385
|
|
|
72298
|
-
var __extends$
|
|
72386
|
+
var __extends$1a = (window && window.__extends) || (function () {
|
|
72299
72387
|
var extendStatics = function (d, b) {
|
|
72300
72388
|
extendStatics = Object.setPrototypeOf ||
|
|
72301
72389
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -72393,7 +72481,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
72393
72481
|
* The control for a visual and interactive web map.
|
|
72394
72482
|
*/
|
|
72395
72483
|
var Map$2 = /** @class */ (function (_super) {
|
|
72396
|
-
__extends$
|
|
72484
|
+
__extends$1a(Map, _super);
|
|
72397
72485
|
/**
|
|
72398
72486
|
* Displays a map in the specified container.
|
|
72399
72487
|
* @param container The id of the element where the map should be displayed.
|