azure-maps-control 3.2.0 → 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 +419 -277
- package/dist/atlas-core-bare.js +419 -277
- package/dist/atlas-core-bare.min.js +1 -1
- package/dist/atlas-core-snr.js +842 -534
- package/dist/atlas-core.js +842 -534
- package/dist/atlas-core.min.js +3 -3
- package/dist/atlas-esm.js +842 -534
- package/dist/atlas-esm.min.js +3 -3
- package/dist/atlas.css +45 -6
- package/dist/atlas.js +842 -534
- package/dist/atlas.min.css +1 -1
- package/dist/atlas.min.js +3 -3
- package/package.json +98 -98
- package/thirdpartynotices.txt +0 -0
- package/typings/index.d.ts +485 -475
|
@@ -324,7 +324,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
324
324
|
return Options;
|
|
325
325
|
}());
|
|
326
326
|
|
|
327
|
-
var __extends$
|
|
327
|
+
var __extends$1i = (window && window.__extends) || (function () {
|
|
328
328
|
var extendStatics = function (d, b) {
|
|
329
329
|
extendStatics = Object.setPrototypeOf ||
|
|
330
330
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -359,7 +359,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
359
359
|
* @private
|
|
360
360
|
*/
|
|
361
361
|
var UrlOptions = /** @class */ (function (_super) {
|
|
362
|
-
__extends$
|
|
362
|
+
__extends$1i(UrlOptions, _super);
|
|
363
363
|
function UrlOptions() {
|
|
364
364
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
365
365
|
_this.domain = undefined;
|
|
@@ -886,7 +886,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
886
886
|
return UserAgent;
|
|
887
887
|
}());
|
|
888
888
|
|
|
889
|
-
var version = "3.
|
|
889
|
+
var version = "3.3.0";
|
|
890
890
|
|
|
891
891
|
/**
|
|
892
892
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -918,7 +918,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
918
918
|
return Version;
|
|
919
919
|
}());
|
|
920
920
|
|
|
921
|
-
var __extends$
|
|
921
|
+
var __extends$1h = (window && window.__extends) || (function () {
|
|
922
922
|
var extendStatics = function (d, b) {
|
|
923
923
|
extendStatics = Object.setPrototypeOf ||
|
|
924
924
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -992,7 +992,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
992
992
|
* Options for specifying how the map control should authenticate with the Azure Maps services.
|
|
993
993
|
*/
|
|
994
994
|
var AuthenticationOptions = /** @class */ (function (_super) {
|
|
995
|
-
__extends$
|
|
995
|
+
__extends$1h(AuthenticationOptions, _super);
|
|
996
996
|
function AuthenticationOptions() {
|
|
997
997
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
998
998
|
/**
|
|
@@ -1833,7 +1833,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
1833
1833
|
eventTarget.addEventListener("keydown", dismissTooltip);
|
|
1834
1834
|
};
|
|
1835
1835
|
|
|
1836
|
-
var __extends$
|
|
1836
|
+
var __extends$1g = (window && window.__extends) || (function () {
|
|
1837
1837
|
var extendStatics = function (d, b) {
|
|
1838
1838
|
extendStatics = Object.setPrototypeOf ||
|
|
1839
1839
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -1883,7 +1883,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
1883
1883
|
* The options for adding a control to the map.
|
|
1884
1884
|
*/
|
|
1885
1885
|
var ControlOptions = /** @class */ (function (_super) {
|
|
1886
|
-
__extends$
|
|
1886
|
+
__extends$1g(ControlOptions, _super);
|
|
1887
1887
|
function ControlOptions() {
|
|
1888
1888
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
1889
1889
|
/**
|
|
@@ -2027,7 +2027,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2027
2027
|
EventEmitter: EventEmitter
|
|
2028
2028
|
});
|
|
2029
2029
|
|
|
2030
|
-
var __extends$
|
|
2030
|
+
var __extends$1f = (window && window.__extends) || (function () {
|
|
2031
2031
|
var extendStatics = function (d, b) {
|
|
2032
2032
|
extendStatics = Object.setPrototypeOf ||
|
|
2033
2033
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -2047,7 +2047,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2047
2047
|
* Implements control interface and provides support for automatic styling based on the map style.
|
|
2048
2048
|
*/
|
|
2049
2049
|
var ControlBase = /** @class */ (function (_super) {
|
|
2050
|
-
__extends$
|
|
2050
|
+
__extends$1f(ControlBase, _super);
|
|
2051
2051
|
function ControlBase() {
|
|
2052
2052
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2053
2053
|
/**
|
|
@@ -2149,7 +2149,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2149
2149
|
return ControlBase;
|
|
2150
2150
|
}(EventEmitter));
|
|
2151
2151
|
|
|
2152
|
-
var __extends$
|
|
2152
|
+
var __extends$1e = (window && window.__extends) || (function () {
|
|
2153
2153
|
var extendStatics = function (d, b) {
|
|
2154
2154
|
extendStatics = Object.setPrototypeOf ||
|
|
2155
2155
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -2168,7 +2168,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2168
2168
|
* The options for a CompassControl object.
|
|
2169
2169
|
*/
|
|
2170
2170
|
var CompassControlOptions = /** @class */ (function (_super) {
|
|
2171
|
-
__extends$
|
|
2171
|
+
__extends$1e(CompassControlOptions, _super);
|
|
2172
2172
|
function CompassControlOptions() {
|
|
2173
2173
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2174
2174
|
/**
|
|
@@ -2193,7 +2193,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2193
2193
|
return CompassControlOptions;
|
|
2194
2194
|
}(Options));
|
|
2195
2195
|
|
|
2196
|
-
var __extends$
|
|
2196
|
+
var __extends$1d = (window && window.__extends) || (function () {
|
|
2197
2197
|
var extendStatics = function (d, b) {
|
|
2198
2198
|
extendStatics = Object.setPrototypeOf ||
|
|
2199
2199
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -2212,7 +2212,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2212
2212
|
* A control for changing the rotation of the map.
|
|
2213
2213
|
*/
|
|
2214
2214
|
var CompassControl = /** @class */ (function (_super) {
|
|
2215
|
-
__extends$
|
|
2215
|
+
__extends$1d(CompassControl, _super);
|
|
2216
2216
|
/**
|
|
2217
2217
|
* Constructs a CompassControl.
|
|
2218
2218
|
* @param options The options for the control.
|
|
@@ -2311,6 +2311,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2311
2311
|
var grid = document.createElement("div");
|
|
2312
2312
|
grid.classList.add("sub-container");
|
|
2313
2313
|
grid.classList.add("hidden-accessible-element");
|
|
2314
|
+
grid.setAttribute("aria-hidden", "true");
|
|
2314
2315
|
var rotationRightButton = this.constructRightRotationButton(map);
|
|
2315
2316
|
var rotationLeftButton = this.constructLeftRotationButton(map);
|
|
2316
2317
|
var tooltipLeft = buildAccessibleTooltip("Rotate Left");
|
|
@@ -2396,7 +2397,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2396
2397
|
return CompassControl;
|
|
2397
2398
|
}(ControlBase));
|
|
2398
2399
|
|
|
2399
|
-
var __extends$
|
|
2400
|
+
var __extends$1c = (window && window.__extends) || (function () {
|
|
2400
2401
|
var extendStatics = function (d, b) {
|
|
2401
2402
|
extendStatics = Object.setPrototypeOf ||
|
|
2402
2403
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -2415,7 +2416,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2415
2416
|
* The options for a PitchControl object.
|
|
2416
2417
|
*/
|
|
2417
2418
|
var PitchControlOptions = /** @class */ (function (_super) {
|
|
2418
|
-
__extends$
|
|
2419
|
+
__extends$1c(PitchControlOptions, _super);
|
|
2419
2420
|
function PitchControlOptions() {
|
|
2420
2421
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2421
2422
|
/**
|
|
@@ -2440,7 +2441,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2440
2441
|
return PitchControlOptions;
|
|
2441
2442
|
}(Options));
|
|
2442
2443
|
|
|
2443
|
-
var __extends$
|
|
2444
|
+
var __extends$1b = (window && window.__extends) || (function () {
|
|
2444
2445
|
var extendStatics = function (d, b) {
|
|
2445
2446
|
extendStatics = Object.setPrototypeOf ||
|
|
2446
2447
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -2459,7 +2460,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2459
2460
|
* A control for changing the pitch of the map.
|
|
2460
2461
|
*/
|
|
2461
2462
|
var PitchControl = /** @class */ (function (_super) {
|
|
2462
|
-
__extends$
|
|
2463
|
+
__extends$1b(PitchControl, _super);
|
|
2463
2464
|
/**
|
|
2464
2465
|
* Constructs a PitchControl.
|
|
2465
2466
|
* @param options The options for the control.
|
|
@@ -2606,6 +2607,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2606
2607
|
var grid = document.createElement("div");
|
|
2607
2608
|
grid.classList.add("sub-container");
|
|
2608
2609
|
grid.classList.add("hidden-accessible-element");
|
|
2610
|
+
grid.setAttribute("aria-hidden", "true");
|
|
2609
2611
|
this.pitchIncrementButton = this.constructPitchIncrementButton(map);
|
|
2610
2612
|
this.pitchDecrementButton = this.constructPitchDecrementButton(map);
|
|
2611
2613
|
var tooltipIncrement = buildAccessibleTooltip("Increase Pitch");
|
|
@@ -2686,7 +2688,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2686
2688
|
return PitchControl;
|
|
2687
2689
|
}(ControlBase));
|
|
2688
2690
|
|
|
2689
|
-
var __extends$
|
|
2691
|
+
var __extends$1a = (window && window.__extends) || (function () {
|
|
2690
2692
|
var extendStatics = function (d, b) {
|
|
2691
2693
|
extendStatics = Object.setPrototypeOf ||
|
|
2692
2694
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -2705,7 +2707,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2705
2707
|
* A control to display a scale bar on the map.
|
|
2706
2708
|
*/
|
|
2707
2709
|
var ScaleControl = /** @class */ (function (_super) {
|
|
2708
|
-
__extends$
|
|
2710
|
+
__extends$1a(ScaleControl, _super);
|
|
2709
2711
|
/**
|
|
2710
2712
|
* A control to displays a scale bar relative to the pixel resolution at the center of the map.
|
|
2711
2713
|
* @param options Options for defining how the control is rendered and functions.
|
|
@@ -6223,7 +6225,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6223
6225
|
|
|
6224
6226
|
var merge$1 = /*@__PURE__*/getDefaultExportFromCjs(merge_1);
|
|
6225
6227
|
|
|
6226
|
-
var __extends$
|
|
6228
|
+
var __extends$19 = (window && window.__extends) || (function () {
|
|
6227
6229
|
var extendStatics = function (d, b) {
|
|
6228
6230
|
extendStatics = Object.setPrototypeOf ||
|
|
6229
6231
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -6242,13 +6244,13 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6242
6244
|
* The options for a StyleControl object.
|
|
6243
6245
|
*/
|
|
6244
6246
|
var StyleControlOptions = /** @class */ (function (_super) {
|
|
6245
|
-
__extends$
|
|
6247
|
+
__extends$19(StyleControlOptions, _super);
|
|
6246
6248
|
function StyleControlOptions() {
|
|
6247
6249
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
6248
6250
|
/**
|
|
6249
|
-
* The layout to display the styles in
|
|
6250
|
-
*
|
|
6251
|
-
*
|
|
6251
|
+
* The layout to display the styles in.<br />
|
|
6252
|
+
* `"icons"`: A row of clickable icons for each style.<br />
|
|
6253
|
+
* `"list"`: A scrollable list with the icons and names for each style.<br />
|
|
6252
6254
|
* Default `"icons"`
|
|
6253
6255
|
* @default "icons"
|
|
6254
6256
|
*/
|
|
@@ -6287,7 +6289,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6287
6289
|
return StyleControlOptions;
|
|
6288
6290
|
}(Options));
|
|
6289
6291
|
|
|
6290
|
-
var __extends$
|
|
6292
|
+
var __extends$18 = (window && window.__extends) || (function () {
|
|
6291
6293
|
var extendStatics = function (d, b) {
|
|
6292
6294
|
extendStatics = Object.setPrototypeOf ||
|
|
6293
6295
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -6358,7 +6360,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6358
6360
|
* A control for changing the style of the map.
|
|
6359
6361
|
*/
|
|
6360
6362
|
var StyleControl = /** @class */ (function (_super) {
|
|
6361
|
-
__extends$
|
|
6363
|
+
__extends$18(StyleControl, _super);
|
|
6362
6364
|
/**
|
|
6363
6365
|
* Constructs a StyleControl.
|
|
6364
6366
|
* @param options The options for the control.
|
|
@@ -6653,6 +6655,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6653
6655
|
}
|
|
6654
6656
|
styleOpsGrid.setAttribute("aria-label", "Style Options");
|
|
6655
6657
|
styleOpsGrid.classList.add("hidden-accessible-element");
|
|
6658
|
+
styleOpsGrid.setAttribute("aria-hidden", "true");
|
|
6656
6659
|
// Once the map's style definition is initialized create a map between style names and icons.
|
|
6657
6660
|
// If a style is one of those to be shown by the style picker also create it's element.
|
|
6658
6661
|
this.map.styles.definitions().then(function (definitions) { return __awaiter$3(_this, void 0, void 0, function () {
|
|
@@ -6722,7 +6725,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6722
6725
|
return StyleControl;
|
|
6723
6726
|
}(ControlBase));
|
|
6724
6727
|
|
|
6725
|
-
var __extends$
|
|
6728
|
+
var __extends$17 = (window && window.__extends) || (function () {
|
|
6726
6729
|
var extendStatics = function (d, b) {
|
|
6727
6730
|
extendStatics = Object.setPrototypeOf ||
|
|
6728
6731
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -6741,17 +6744,17 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6741
6744
|
* The options for setting traffic on the map.
|
|
6742
6745
|
*/
|
|
6743
6746
|
var TrafficOptions = /** @class */ (function (_super) {
|
|
6744
|
-
__extends$
|
|
6747
|
+
__extends$17(TrafficOptions, _super);
|
|
6745
6748
|
function TrafficOptions() {
|
|
6746
6749
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
6747
6750
|
/**
|
|
6748
|
-
* The type of traffic flow to display
|
|
6749
|
-
*
|
|
6750
|
-
*
|
|
6751
|
-
*
|
|
6752
|
-
*
|
|
6753
|
-
* false to stop displaying the traffic flow
|
|
6754
|
-
* default `"none"
|
|
6751
|
+
* The type of traffic flow to display:<br />
|
|
6752
|
+
* `"none"` is to display no traffic flow data<br />
|
|
6753
|
+
* `"relative"` is the speed of the road relative to free-flow<br />
|
|
6754
|
+
* @deprecated `"absolute"` is the absolute speed of the road<br />
|
|
6755
|
+
* @deprecated `"relative-delay"` displays relative speed only where they differ from free-flow;
|
|
6756
|
+
* false to stop displaying the traffic flow.<br />
|
|
6757
|
+
* default `"none"`
|
|
6755
6758
|
* @default "none"
|
|
6756
6759
|
*/
|
|
6757
6760
|
_this.flow = "none";
|
|
@@ -6766,7 +6769,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6766
6769
|
return TrafficOptions;
|
|
6767
6770
|
}(Options));
|
|
6768
6771
|
|
|
6769
|
-
var __extends$
|
|
6772
|
+
var __extends$16 = (window && window.__extends) || (function () {
|
|
6770
6773
|
var extendStatics = function (d, b) {
|
|
6771
6774
|
extendStatics = Object.setPrototypeOf ||
|
|
6772
6775
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -6785,7 +6788,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6785
6788
|
* The options for a TrafficControl object.
|
|
6786
6789
|
*/
|
|
6787
6790
|
var TrafficControlOptions = /** @class */ (function (_super) {
|
|
6788
|
-
__extends$
|
|
6791
|
+
__extends$16(TrafficControlOptions, _super);
|
|
6789
6792
|
function TrafficControlOptions() {
|
|
6790
6793
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
6791
6794
|
/**
|
|
@@ -6805,7 +6808,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6805
6808
|
return TrafficControlOptions;
|
|
6806
6809
|
}(TrafficOptions));
|
|
6807
6810
|
|
|
6808
|
-
var __extends$
|
|
6811
|
+
var __extends$15 = (window && window.__extends) || (function () {
|
|
6809
6812
|
var extendStatics = function (d, b) {
|
|
6810
6813
|
extendStatics = Object.setPrototypeOf ||
|
|
6811
6814
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -6824,7 +6827,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6824
6827
|
* A control that toggles traffic data on the map.
|
|
6825
6828
|
*/
|
|
6826
6829
|
var TrafficControl = /** @class */ (function (_super) {
|
|
6827
|
-
__extends$
|
|
6830
|
+
__extends$15(TrafficControl, _super);
|
|
6828
6831
|
/**
|
|
6829
6832
|
* Constructs a TrafficControl
|
|
6830
6833
|
* @param options The options for the control.
|
|
@@ -6951,7 +6954,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6951
6954
|
return TrafficControl;
|
|
6952
6955
|
}(ControlBase));
|
|
6953
6956
|
|
|
6954
|
-
var __extends$
|
|
6957
|
+
var __extends$14 = (window && window.__extends) || (function () {
|
|
6955
6958
|
var extendStatics = function (d, b) {
|
|
6956
6959
|
extendStatics = Object.setPrototypeOf ||
|
|
6957
6960
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -6981,7 +6984,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6981
6984
|
* A control that display traffic legend on the map.
|
|
6982
6985
|
*/
|
|
6983
6986
|
var TrafficLegendControl = /** @class */ (function (_super) {
|
|
6984
|
-
__extends$
|
|
6987
|
+
__extends$14(TrafficLegendControl, _super);
|
|
6985
6988
|
/**
|
|
6986
6989
|
* Construct a traffic legend control
|
|
6987
6990
|
*/
|
|
@@ -7715,7 +7718,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
7715
7718
|
return Feature;
|
|
7716
7719
|
}());
|
|
7717
7720
|
|
|
7718
|
-
var __extends$
|
|
7721
|
+
var __extends$13 = (window && window.__extends) || (function () {
|
|
7719
7722
|
var extendStatics = function (d, b) {
|
|
7720
7723
|
extendStatics = Object.setPrototypeOf ||
|
|
7721
7724
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -7734,7 +7737,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
7734
7737
|
* Represent a pixel coordinate or offset. Extends an array of [x, y].
|
|
7735
7738
|
*/
|
|
7736
7739
|
var Pixel = /** @class */ (function (_super) {
|
|
7737
|
-
__extends$
|
|
7740
|
+
__extends$13(Pixel, _super);
|
|
7738
7741
|
/**
|
|
7739
7742
|
* Constructs a Pixel object and initializes it with the specified x and y coordinates.
|
|
7740
7743
|
* @param x The horizontal pixel offset.
|
|
@@ -9954,7 +9957,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
9954
9957
|
return result;
|
|
9955
9958
|
}
|
|
9956
9959
|
|
|
9957
|
-
var __extends$
|
|
9960
|
+
var __extends$12 = (window && window.__extends) || (function () {
|
|
9958
9961
|
var extendStatics = function (d, b) {
|
|
9959
9962
|
extendStatics = Object.setPrototypeOf ||
|
|
9960
9963
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -9974,7 +9977,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
9974
9977
|
* full description is detailed in [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-3.1.1}.
|
|
9975
9978
|
*/
|
|
9976
9979
|
var Position = /** @class */ (function (_super) {
|
|
9977
|
-
__extends$
|
|
9980
|
+
__extends$12(Position, _super);
|
|
9978
9981
|
/**
|
|
9979
9982
|
* Constructs a Position.
|
|
9980
9983
|
* @param longitude The position's longitude.
|
|
@@ -10037,10 +10040,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10037
10040
|
Position.fromLatLng = function (y, x, z) {
|
|
10038
10041
|
var position = [];
|
|
10039
10042
|
if (typeof y === "number") {
|
|
10040
|
-
position.push(y);
|
|
10041
10043
|
if (typeof x === "number") {
|
|
10042
10044
|
position.push(x);
|
|
10043
10045
|
}
|
|
10046
|
+
position.push(y);
|
|
10044
10047
|
if (typeof z === "number") {
|
|
10045
10048
|
position.push(z);
|
|
10046
10049
|
}
|
|
@@ -10049,10 +10052,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10049
10052
|
// Assume array is in the form [lat, lng] or [lat, lng, elv]
|
|
10050
10053
|
if (y.length >= 2 && typeof y[0] === "number" && typeof y[1] === "number") {
|
|
10051
10054
|
if (y.length >= 3 && typeof y[2] === "number") {
|
|
10052
|
-
position.push(y[
|
|
10055
|
+
position.push(y[1], y[0], y[2]);
|
|
10053
10056
|
}
|
|
10054
10057
|
else {
|
|
10055
|
-
position.push(y[
|
|
10058
|
+
position.push(y[1], y[0]);
|
|
10056
10059
|
}
|
|
10057
10060
|
}
|
|
10058
10061
|
}
|
|
@@ -10166,7 +10169,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10166
10169
|
return Polygon;
|
|
10167
10170
|
}());
|
|
10168
10171
|
|
|
10169
|
-
var __extends
|
|
10172
|
+
var __extends$11 = (window && window.__extends) || (function () {
|
|
10170
10173
|
var extendStatics = function (d, b) {
|
|
10171
10174
|
extendStatics = Object.setPrototypeOf ||
|
|
10172
10175
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -10196,7 +10199,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10196
10199
|
* A helper class that wraps a Geometry or Feature and makes it easy to update and maintain.
|
|
10197
10200
|
*/
|
|
10198
10201
|
var Shape = /** @class */ (function (_super) {
|
|
10199
|
-
__extends
|
|
10202
|
+
__extends$11(Shape, _super);
|
|
10200
10203
|
function Shape(data, id, properties) {
|
|
10201
10204
|
var _this = _super.call(this) || this;
|
|
10202
10205
|
var geometry;
|
|
@@ -10492,7 +10495,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10492
10495
|
return Shape;
|
|
10493
10496
|
}(EventEmitter));
|
|
10494
10497
|
|
|
10495
|
-
var __extends$
|
|
10498
|
+
var __extends$10 = (window && window.__extends) || (function () {
|
|
10496
10499
|
var extendStatics = function (d, b) {
|
|
10497
10500
|
extendStatics = Object.setPrototypeOf ||
|
|
10498
10501
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -10525,7 +10528,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10525
10528
|
* [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-5}.
|
|
10526
10529
|
*/
|
|
10527
10530
|
var BoundingBox = /** @class */ (function (_super) {
|
|
10528
|
-
__extends$
|
|
10531
|
+
__extends$10(BoundingBox, _super);
|
|
10529
10532
|
function BoundingBox(southwestPositionOrPositions, northeastPosition) {
|
|
10530
10533
|
var _this = this;
|
|
10531
10534
|
if (southwestPositionOrPositions && northeastPosition) {
|
|
@@ -11242,7 +11245,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11242
11245
|
return MultiPolygon;
|
|
11243
11246
|
}());
|
|
11244
11247
|
|
|
11245
|
-
var __extends
|
|
11248
|
+
var __extends$$ = (window && window.__extends) || (function () {
|
|
11246
11249
|
var extendStatics = function (d, b) {
|
|
11247
11250
|
extendStatics = Object.setPrototypeOf ||
|
|
11248
11251
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -11273,7 +11276,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11273
11276
|
* The `z` dimension of `MercatorPoint` is conformal. A cube in the mercator coordinate space would be rendered as a cube.
|
|
11274
11277
|
*/
|
|
11275
11278
|
var MercatorPoint = /** @class */ (function (_super) {
|
|
11276
|
-
__extends
|
|
11279
|
+
__extends$$(MercatorPoint, _super);
|
|
11277
11280
|
/**
|
|
11278
11281
|
* Constructs a MercatorPoint.
|
|
11279
11282
|
* @param x A points x position in mercator units.
|
|
@@ -11762,7 +11765,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11762
11765
|
simplify: simplify
|
|
11763
11766
|
});
|
|
11764
11767
|
|
|
11765
|
-
var __extends$
|
|
11768
|
+
var __extends$_ = (window && window.__extends) || (function () {
|
|
11766
11769
|
var extendStatics = function (d, b) {
|
|
11767
11770
|
extendStatics = Object.setPrototypeOf ||
|
|
11768
11771
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -11781,7 +11784,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11781
11784
|
* The options for a ZoomControl object.
|
|
11782
11785
|
*/
|
|
11783
11786
|
var ZoomControlOptions = /** @class */ (function (_super) {
|
|
11784
|
-
__extends$
|
|
11787
|
+
__extends$_(ZoomControlOptions, _super);
|
|
11785
11788
|
function ZoomControlOptions() {
|
|
11786
11789
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
11787
11790
|
/**
|
|
@@ -11801,7 +11804,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11801
11804
|
return ZoomControlOptions;
|
|
11802
11805
|
}(Options));
|
|
11803
11806
|
|
|
11804
|
-
var __extends$
|
|
11807
|
+
var __extends$Z = (window && window.__extends) || (function () {
|
|
11805
11808
|
var extendStatics = function (d, b) {
|
|
11806
11809
|
extendStatics = Object.setPrototypeOf ||
|
|
11807
11810
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -11820,7 +11823,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11820
11823
|
* A control for changing the zoom of the map.
|
|
11821
11824
|
*/
|
|
11822
11825
|
var ZoomControl = /** @class */ (function (_super) {
|
|
11823
|
-
__extends$
|
|
11826
|
+
__extends$Z(ZoomControl, _super);
|
|
11824
11827
|
/**
|
|
11825
11828
|
* Constructs a ZoomControl.
|
|
11826
11829
|
* @param options The options for the control.
|
|
@@ -12055,7 +12058,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12055
12058
|
return AccessibleIndicator;
|
|
12056
12059
|
}());
|
|
12057
12060
|
|
|
12058
|
-
var __extends$
|
|
12061
|
+
var __extends$Y = (window && window.__extends) || (function () {
|
|
12059
12062
|
var extendStatics = function (d, b) {
|
|
12060
12063
|
extendStatics = Object.setPrototypeOf ||
|
|
12061
12064
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12077,7 +12080,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12077
12080
|
* @module Object Definitions
|
|
12078
12081
|
*/
|
|
12079
12082
|
var DataSourceOptions = /** @class */ (function (_super) {
|
|
12080
|
-
__extends$
|
|
12083
|
+
__extends$Y(DataSourceOptions, _super);
|
|
12081
12084
|
function DataSourceOptions() {
|
|
12082
12085
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
12083
12086
|
/*
|
|
@@ -12137,7 +12140,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12137
12140
|
*/
|
|
12138
12141
|
_this.generateId = false;
|
|
12139
12142
|
/**
|
|
12140
|
-
* A property to
|
|
12143
|
+
* A specified property name to be used as a feature ID (for feature state).
|
|
12144
|
+
* This can either be a property name or an object in the form `{<sourceLayer>: <propertyName>}`.
|
|
12141
12145
|
*/
|
|
12142
12146
|
_this.promoteId = undefined;
|
|
12143
12147
|
/**
|
|
@@ -12149,7 +12153,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12149
12153
|
return DataSourceOptions;
|
|
12150
12154
|
}(Options));
|
|
12151
12155
|
|
|
12152
|
-
var __extends$
|
|
12156
|
+
var __extends$X = (window && window.__extends) || (function () {
|
|
12153
12157
|
var extendStatics = function (d, b) {
|
|
12154
12158
|
extendStatics = Object.setPrototypeOf ||
|
|
12155
12159
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12169,7 +12173,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12169
12173
|
* A source must be added to a layer before it is visible on the map.
|
|
12170
12174
|
*/
|
|
12171
12175
|
var Source = /** @class */ (function (_super) {
|
|
12172
|
-
__extends$
|
|
12176
|
+
__extends$X(Source, _super);
|
|
12173
12177
|
function Source(id) {
|
|
12174
12178
|
var _this = _super.call(this) || this;
|
|
12175
12179
|
_this.id = id || uuid();
|
|
@@ -12208,7 +12212,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12208
12212
|
return Source;
|
|
12209
12213
|
}(EventEmitter));
|
|
12210
12214
|
|
|
12211
|
-
var __extends$
|
|
12215
|
+
var __extends$W = (window && window.__extends) || (function () {
|
|
12212
12216
|
var extendStatics = function (d, b) {
|
|
12213
12217
|
extendStatics = Object.setPrototypeOf ||
|
|
12214
12218
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12240,7 +12244,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12240
12244
|
* The DataSource class may be used with the SymbolLayer, LineLayer, PolygonLayer, BubbleLayer, and HeatMapLayer.
|
|
12241
12245
|
*/
|
|
12242
12246
|
var DataSource = /** @class */ (function (_super) {
|
|
12243
|
-
__extends$
|
|
12247
|
+
__extends$W(DataSource, _super);
|
|
12244
12248
|
/**
|
|
12245
12249
|
* A data source class that makes it easy to manage shapes data that will be displayed on the map.
|
|
12246
12250
|
* A data source must be added to a layer before it is visible on the map.
|
|
@@ -12695,7 +12699,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12695
12699
|
return DataSource;
|
|
12696
12700
|
}(Source));
|
|
12697
12701
|
|
|
12698
|
-
var __extends$
|
|
12702
|
+
var __extends$V = (window && window.__extends) || (function () {
|
|
12699
12703
|
var extendStatics = function (d, b) {
|
|
12700
12704
|
extendStatics = Object.setPrototypeOf ||
|
|
12701
12705
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12717,7 +12721,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12717
12721
|
* @module Object Definitions
|
|
12718
12722
|
*/
|
|
12719
12723
|
var VectorTileSourceOptions = /** @class */ (function (_super) {
|
|
12720
|
-
__extends$
|
|
12724
|
+
__extends$V(VectorTileSourceOptions, _super);
|
|
12721
12725
|
function VectorTileSourceOptions() {
|
|
12722
12726
|
/*
|
|
12723
12727
|
* TODO:
|
|
@@ -12770,7 +12774,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12770
12774
|
return VectorTileSourceOptions;
|
|
12771
12775
|
}(Options));
|
|
12772
12776
|
|
|
12773
|
-
var __extends$
|
|
12777
|
+
var __extends$U = (window && window.__extends) || (function () {
|
|
12774
12778
|
var extendStatics = function (d, b) {
|
|
12775
12779
|
extendStatics = Object.setPrototypeOf ||
|
|
12776
12780
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12790,7 +12794,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12790
12794
|
* Vector tile sources can be used with; SymbolLayer, LineLayer, PolygonLayer, BubbleLayer, HeatmapLayer and VectorTileLayer.
|
|
12791
12795
|
*/
|
|
12792
12796
|
var VectorTileSource = /** @class */ (function (_super) {
|
|
12793
|
-
__extends$
|
|
12797
|
+
__extends$U(VectorTileSource, _super);
|
|
12794
12798
|
function VectorTileSource(id, options) {
|
|
12795
12799
|
var _this = _super.call(this, id) || this;
|
|
12796
12800
|
_this.options = new VectorTileSourceOptions().merge(cloneDeep$1(options));
|
|
@@ -12856,7 +12860,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12856
12860
|
return VectorTileSource;
|
|
12857
12861
|
}(Source));
|
|
12858
12862
|
|
|
12859
|
-
var __extends$
|
|
12863
|
+
var __extends$T = (window && window.__extends) || (function () {
|
|
12860
12864
|
var extendStatics = function (d, b) {
|
|
12861
12865
|
extendStatics = Object.setPrototypeOf ||
|
|
12862
12866
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12877,7 +12881,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12877
12881
|
* @private
|
|
12878
12882
|
*/
|
|
12879
12883
|
var CanvasSource = /** @class */ (function (_super) {
|
|
12880
|
-
__extends$
|
|
12884
|
+
__extends$T(CanvasSource, _super);
|
|
12881
12885
|
/**
|
|
12882
12886
|
* Constructs a source from the contents of a layer resource file.
|
|
12883
12887
|
* @param id The source's id.
|
|
@@ -12912,7 +12916,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12912
12916
|
return CanvasSource;
|
|
12913
12917
|
}(Source));
|
|
12914
12918
|
|
|
12915
|
-
var __extends$
|
|
12919
|
+
var __extends$S = (window && window.__extends) || (function () {
|
|
12916
12920
|
var extendStatics = function (d, b) {
|
|
12917
12921
|
extendStatics = Object.setPrototypeOf ||
|
|
12918
12922
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12933,7 +12937,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12933
12937
|
* @private
|
|
12934
12938
|
*/
|
|
12935
12939
|
var UnknownSource = /** @class */ (function (_super) {
|
|
12936
|
-
__extends$
|
|
12940
|
+
__extends$S(UnknownSource, _super);
|
|
12937
12941
|
/**
|
|
12938
12942
|
* Constructs a source from the contents of a layer resource file.
|
|
12939
12943
|
* @param id The source's id.
|
|
@@ -12965,7 +12969,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12965
12969
|
return UnknownSource;
|
|
12966
12970
|
}(Source));
|
|
12967
12971
|
|
|
12968
|
-
var __extends$
|
|
12972
|
+
var __extends$R = (window && window.__extends) || (function () {
|
|
12969
12973
|
var extendStatics = function (d, b) {
|
|
12970
12974
|
extendStatics = Object.setPrototypeOf ||
|
|
12971
12975
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12986,7 +12990,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12986
12990
|
* @private
|
|
12987
12991
|
*/
|
|
12988
12992
|
var ImageSource = /** @class */ (function (_super) {
|
|
12989
|
-
__extends$
|
|
12993
|
+
__extends$R(ImageSource, _super);
|
|
12990
12994
|
/**
|
|
12991
12995
|
* Constructs a source from the contents of a layer resource file.
|
|
12992
12996
|
* @param id The source's id.
|
|
@@ -13020,7 +13024,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13020
13024
|
return ImageSource;
|
|
13021
13025
|
}(Source));
|
|
13022
13026
|
|
|
13023
|
-
var __extends$
|
|
13027
|
+
var __extends$Q = (window && window.__extends) || (function () {
|
|
13024
13028
|
var extendStatics = function (d, b) {
|
|
13025
13029
|
extendStatics = Object.setPrototypeOf ||
|
|
13026
13030
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13041,7 +13045,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13041
13045
|
* @private
|
|
13042
13046
|
*/
|
|
13043
13047
|
var VideoSource = /** @class */ (function (_super) {
|
|
13044
|
-
__extends$
|
|
13048
|
+
__extends$Q(VideoSource, _super);
|
|
13045
13049
|
/**
|
|
13046
13050
|
* Constructs a source from the contents of a layer resource file.
|
|
13047
13051
|
* @param id The source's id.
|
|
@@ -13075,7 +13079,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13075
13079
|
return VideoSource;
|
|
13076
13080
|
}(Source));
|
|
13077
13081
|
|
|
13078
|
-
var __extends$
|
|
13082
|
+
var __extends$P = (window && window.__extends) || (function () {
|
|
13079
13083
|
var extendStatics = function (d, b) {
|
|
13080
13084
|
extendStatics = Object.setPrototypeOf ||
|
|
13081
13085
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13091,7 +13095,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13091
13095
|
};
|
|
13092
13096
|
})();
|
|
13093
13097
|
var RasterTileSourceOptions = /** @class */ (function (_super) {
|
|
13094
|
-
__extends$
|
|
13098
|
+
__extends$P(RasterTileSourceOptions, _super);
|
|
13095
13099
|
function RasterTileSourceOptions() {
|
|
13096
13100
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13097
13101
|
/**
|
|
@@ -13105,7 +13109,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13105
13109
|
return RasterTileSourceOptions;
|
|
13106
13110
|
}(VectorTileSourceOptions));
|
|
13107
13111
|
|
|
13108
|
-
var __extends$
|
|
13112
|
+
var __extends$O = (window && window.__extends) || (function () {
|
|
13109
13113
|
var extendStatics = function (d, b) {
|
|
13110
13114
|
extendStatics = Object.setPrototypeOf ||
|
|
13111
13115
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13121,13 +13125,13 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13121
13125
|
};
|
|
13122
13126
|
})();
|
|
13123
13127
|
var ElevationTileSourceOptions = /** @class */ (function (_super) {
|
|
13124
|
-
__extends$
|
|
13128
|
+
__extends$O(ElevationTileSourceOptions, _super);
|
|
13125
13129
|
function ElevationTileSourceOptions() {
|
|
13126
13130
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13127
13131
|
/**
|
|
13128
|
-
* DEM tiles encoding format. Supported: `mapbox` or `terrarium
|
|
13129
|
-
*
|
|
13130
|
-
*
|
|
13132
|
+
* DEM tiles encoding format. Supported: `mapbox` or `terrarium`.<br />
|
|
13133
|
+
* `"terrarium": Terrarium format PNG tiles. See https://aws.amazon.com/es/public-datasets/terrain/ for more info.<br />
|
|
13134
|
+
* `"mapbox": Mapbox Terrain RGB tiles. See https://www.mapbox.com/help/access-elevation-data/#mapbox-terrain-rgb for more info.<br />
|
|
13131
13135
|
* default `mapbox`
|
|
13132
13136
|
* @default mapbox
|
|
13133
13137
|
*/
|
|
@@ -13137,7 +13141,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13137
13141
|
return ElevationTileSourceOptions;
|
|
13138
13142
|
}(RasterTileSourceOptions));
|
|
13139
13143
|
|
|
13140
|
-
var __extends$
|
|
13144
|
+
var __extends$N = (window && window.__extends) || (function () {
|
|
13141
13145
|
var extendStatics = function (d, b) {
|
|
13142
13146
|
extendStatics = Object.setPrototypeOf ||
|
|
13143
13147
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13167,7 +13171,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13167
13171
|
* Publicly exposed ElevationTileSource.
|
|
13168
13172
|
*/
|
|
13169
13173
|
var ElevationTileSource = /** @class */ (function (_super) {
|
|
13170
|
-
__extends$
|
|
13174
|
+
__extends$N(ElevationTileSource, _super);
|
|
13171
13175
|
function ElevationTileSource(id, options) {
|
|
13172
13176
|
var _this = _super.call(this, id) || this;
|
|
13173
13177
|
_this.options = new ElevationTileSourceOptions().merge(cloneDeep$1(options));
|
|
@@ -13211,7 +13215,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13211
13215
|
VideoSource: VideoSource
|
|
13212
13216
|
});
|
|
13213
13217
|
|
|
13214
|
-
var __extends$
|
|
13218
|
+
var __extends$M = (window && window.__extends) || (function () {
|
|
13215
13219
|
var extendStatics = function (d, b) {
|
|
13216
13220
|
extendStatics = Object.setPrototypeOf ||
|
|
13217
13221
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13230,7 +13234,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13230
13234
|
* Abstract class for other layer classes to extend.
|
|
13231
13235
|
*/
|
|
13232
13236
|
var Layer = /** @class */ (function (_super) {
|
|
13233
|
-
__extends$
|
|
13237
|
+
__extends$M(Layer, _super);
|
|
13234
13238
|
function Layer(id) {
|
|
13235
13239
|
var _this =
|
|
13236
13240
|
// Assign an random id using a UUID if none was specified.
|
|
@@ -13337,7 +13341,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13337
13341
|
return Layer;
|
|
13338
13342
|
}(EventEmitter));
|
|
13339
13343
|
|
|
13340
|
-
var __extends$
|
|
13344
|
+
var __extends$L = (window && window.__extends) || (function () {
|
|
13341
13345
|
var extendStatics = function (d, b) {
|
|
13342
13346
|
extendStatics = Object.setPrototypeOf ||
|
|
13343
13347
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13356,7 +13360,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13356
13360
|
* A base class which all other layer options inherit from.
|
|
13357
13361
|
*/
|
|
13358
13362
|
var LayerOptions$1 = /** @class */ (function (_super) {
|
|
13359
|
-
__extends$
|
|
13363
|
+
__extends$L(LayerOptions, _super);
|
|
13360
13364
|
function LayerOptions() {
|
|
13361
13365
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13362
13366
|
/**
|
|
@@ -13403,7 +13407,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13403
13407
|
return LayerOptions;
|
|
13404
13408
|
}(Options));
|
|
13405
13409
|
|
|
13406
|
-
var __extends$
|
|
13410
|
+
var __extends$K = (window && window.__extends) || (function () {
|
|
13407
13411
|
var extendStatics = function (d, b) {
|
|
13408
13412
|
extendStatics = Object.setPrototypeOf ||
|
|
13409
13413
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13422,7 +13426,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13422
13426
|
* Options used when rendering Point objects in a BubbleLayer.
|
|
13423
13427
|
*/
|
|
13424
13428
|
var BubbleLayerOptions = /** @class */ (function (_super) {
|
|
13425
|
-
__extends$
|
|
13429
|
+
__extends$K(BubbleLayerOptions, _super);
|
|
13426
13430
|
function BubbleLayerOptions() {
|
|
13427
13431
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13428
13432
|
/**
|
|
@@ -13473,9 +13477,9 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13473
13477
|
*/
|
|
13474
13478
|
_this.strokeWidth = 2;
|
|
13475
13479
|
/**
|
|
13476
|
-
* Specifies the orientation of circle when map is pitched
|
|
13477
|
-
*
|
|
13478
|
-
*
|
|
13480
|
+
* Specifies the orientation of circle when map is pitched.<br />
|
|
13481
|
+
* `"map"`: The circle is aligned to the plane of the map.<br />
|
|
13482
|
+
* `"viewport"`: The circle is aligned to the plane of the viewport.<br />
|
|
13479
13483
|
* Default: `"viewport"`
|
|
13480
13484
|
* @default "viewport"
|
|
13481
13485
|
*/
|
|
@@ -13530,7 +13534,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13530
13534
|
return BubbleLayerOptions;
|
|
13531
13535
|
}(LayerOptions$1));
|
|
13532
13536
|
|
|
13533
|
-
var __extends$
|
|
13537
|
+
var __extends$J = (window && window.__extends) || (function () {
|
|
13534
13538
|
var extendStatics = function (d, b) {
|
|
13535
13539
|
extendStatics = Object.setPrototypeOf ||
|
|
13536
13540
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13610,7 +13614,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13610
13614
|
* Renders Point objects as scalable circles (bubbles).
|
|
13611
13615
|
*/
|
|
13612
13616
|
var BubbleLayer = /** @class */ (function (_super) {
|
|
13613
|
-
__extends$
|
|
13617
|
+
__extends$J(BubbleLayer, _super);
|
|
13614
13618
|
/**
|
|
13615
13619
|
* Constructs a new BubbleLayer.
|
|
13616
13620
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -13885,7 +13889,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13885
13889
|
return BubbleLayer;
|
|
13886
13890
|
}(Layer));
|
|
13887
13891
|
|
|
13888
|
-
var __extends$
|
|
13892
|
+
var __extends$I = (window && window.__extends) || (function () {
|
|
13889
13893
|
var extendStatics = function (d, b) {
|
|
13890
13894
|
extendStatics = Object.setPrototypeOf ||
|
|
13891
13895
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13904,7 +13908,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13904
13908
|
* Options used when rendering Point objects in a HeatMapLayer.
|
|
13905
13909
|
*/
|
|
13906
13910
|
var HeatMapLayerOptions = /** @class */ (function (_super) {
|
|
13907
|
-
__extends$
|
|
13911
|
+
__extends$I(HeatMapLayerOptions, _super);
|
|
13908
13912
|
function HeatMapLayerOptions() {
|
|
13909
13913
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13910
13914
|
/**
|
|
@@ -13971,7 +13975,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13971
13975
|
return HeatMapLayerOptions;
|
|
13972
13976
|
}(LayerOptions$1));
|
|
13973
13977
|
|
|
13974
|
-
var __extends$
|
|
13978
|
+
var __extends$H = (window && window.__extends) || (function () {
|
|
13975
13979
|
var extendStatics = function (d, b) {
|
|
13976
13980
|
extendStatics = Object.setPrototypeOf ||
|
|
13977
13981
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13990,7 +13994,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13990
13994
|
* Represent the density of data using different colors (HeatMap).
|
|
13991
13995
|
*/
|
|
13992
13996
|
var HeatMapLayer = /** @class */ (function (_super) {
|
|
13993
|
-
__extends$
|
|
13997
|
+
__extends$H(HeatMapLayer, _super);
|
|
13994
13998
|
/**
|
|
13995
13999
|
* Constructs a new HeatMapLayer.
|
|
13996
14000
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -14094,7 +14098,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14094
14098
|
return HeatMapLayer;
|
|
14095
14099
|
}(Layer));
|
|
14096
14100
|
|
|
14097
|
-
var __extends$
|
|
14101
|
+
var __extends$G = (window && window.__extends) || (function () {
|
|
14098
14102
|
var extendStatics = function (d, b) {
|
|
14099
14103
|
extendStatics = Object.setPrototypeOf ||
|
|
14100
14104
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14113,7 +14117,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14113
14117
|
* Options used when rendering canvas, image, raster tile, and video layers
|
|
14114
14118
|
*/
|
|
14115
14119
|
var MediaLayerOptions = /** @class */ (function (_super) {
|
|
14116
|
-
__extends$
|
|
14120
|
+
__extends$G(MediaLayerOptions, _super);
|
|
14117
14121
|
function MediaLayerOptions() {
|
|
14118
14122
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
14119
14123
|
/**
|
|
@@ -14165,7 +14169,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14165
14169
|
return MediaLayerOptions;
|
|
14166
14170
|
}(LayerOptions$1));
|
|
14167
14171
|
|
|
14168
|
-
var __extends$
|
|
14172
|
+
var __extends$F = (window && window.__extends) || (function () {
|
|
14169
14173
|
var extendStatics = function (d, b) {
|
|
14170
14174
|
extendStatics = Object.setPrototypeOf ||
|
|
14171
14175
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14184,7 +14188,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14184
14188
|
* Options used when rendering Point objects in a ImageLayer.
|
|
14185
14189
|
*/
|
|
14186
14190
|
var ImageLayerOptions = /** @class */ (function (_super) {
|
|
14187
|
-
__extends$
|
|
14191
|
+
__extends$F(ImageLayerOptions, _super);
|
|
14188
14192
|
function ImageLayerOptions() {
|
|
14189
14193
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
14190
14194
|
/**
|
|
@@ -14214,7 +14218,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14214
14218
|
return ImageLayerOptions;
|
|
14215
14219
|
}(MediaLayerOptions));
|
|
14216
14220
|
|
|
14217
|
-
var __extends$
|
|
14221
|
+
var __extends$E = (window && window.__extends) || (function () {
|
|
14218
14222
|
var extendStatics = function (d, b) {
|
|
14219
14223
|
extendStatics = Object.setPrototypeOf ||
|
|
14220
14224
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14234,7 +14238,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14234
14238
|
* @internal
|
|
14235
14239
|
*/
|
|
14236
14240
|
var SourceBuildingLayer = /** @class */ (function (_super) {
|
|
14237
|
-
__extends$
|
|
14241
|
+
__extends$E(SourceBuildingLayer, _super);
|
|
14238
14242
|
function SourceBuildingLayer() {
|
|
14239
14243
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
14240
14244
|
}
|
|
@@ -14252,7 +14256,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14252
14256
|
return SourceBuildingLayer;
|
|
14253
14257
|
}(Layer));
|
|
14254
14258
|
|
|
14255
|
-
var __extends$
|
|
14259
|
+
var __extends$D = (window && window.__extends) || (function () {
|
|
14256
14260
|
var extendStatics = function (d, b) {
|
|
14257
14261
|
extendStatics = Object.setPrototypeOf ||
|
|
14258
14262
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14271,7 +14275,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14271
14275
|
* Overlays an image on the map with each corner anchored to a coordinate on the map. Also known as a ground or image overlay.
|
|
14272
14276
|
*/
|
|
14273
14277
|
var ImageLayer = /** @class */ (function (_super) {
|
|
14274
|
-
__extends$
|
|
14278
|
+
__extends$D(ImageLayer, _super);
|
|
14275
14279
|
/**
|
|
14276
14280
|
* Constructs a new ImageLayer.
|
|
14277
14281
|
* @param id The id of the layer. If not specified a random one will be generated.
|
|
@@ -14479,7 +14483,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14479
14483
|
return ImageLayer;
|
|
14480
14484
|
}(SourceBuildingLayer));
|
|
14481
14485
|
|
|
14482
|
-
var __extends$
|
|
14486
|
+
var __extends$C = (window && window.__extends) || (function () {
|
|
14483
14487
|
var extendStatics = function (d, b) {
|
|
14484
14488
|
extendStatics = Object.setPrototypeOf ||
|
|
14485
14489
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14499,7 +14503,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14499
14503
|
* LineString, MultiLineString, Polygon, and MultiPolygon objects in a line layer.
|
|
14500
14504
|
*/
|
|
14501
14505
|
var LineLayerOptions = /** @class */ (function (_super) {
|
|
14502
|
-
__extends$
|
|
14506
|
+
__extends$C(LineLayerOptions, _super);
|
|
14503
14507
|
function LineLayerOptions() {
|
|
14504
14508
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
14505
14509
|
/**
|
|
@@ -14513,24 +14517,24 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14513
14517
|
*/
|
|
14514
14518
|
_this.sourceLayer = undefined;
|
|
14515
14519
|
/**
|
|
14516
|
-
* Specifies how the ends of the lines are rendered
|
|
14517
|
-
*
|
|
14518
|
-
*
|
|
14519
|
-
* at a radius of one-half of the lines width and centered on the endpoint of the line
|
|
14520
|
-
*
|
|
14521
|
-
* at a distance of one-half of the line width
|
|
14520
|
+
* Specifies how the ends of the lines are rendered.<br />
|
|
14521
|
+
* `"butt"`: A cap with a squared-off end which is drawn to the exact endpoint of the line.<br />
|
|
14522
|
+
* `"round"`: A cap with a rounded end which is drawn beyond the endpoint of the line
|
|
14523
|
+
* at a radius of one-half of the lines width and centered on the endpoint of the line.<br />
|
|
14524
|
+
* `"square"`: A cap with a squared-off end which is drawn beyond the endpoint of the line
|
|
14525
|
+
* at a distance of one-half of the line width.<br />
|
|
14522
14526
|
* Default `"round"`.
|
|
14523
14527
|
* @default "round"
|
|
14524
14528
|
*/
|
|
14525
14529
|
_this.lineCap = "round";
|
|
14526
14530
|
/**
|
|
14527
|
-
* Specifies how the joints in the lines are rendered
|
|
14528
|
-
*
|
|
14529
|
-
* at a distance of one-half of the lines width
|
|
14530
|
-
*
|
|
14531
|
-
* at a radius of one-half of the lines width and centered on the endpoint of the line
|
|
14532
|
-
*
|
|
14533
|
-
* beyond the endpoint of the path until they meet
|
|
14531
|
+
* Specifies how the joints in the lines are rendered.<br />
|
|
14532
|
+
* `"bevel"`: A join with a squared-off end which is drawn beyond the endpoint of the line
|
|
14533
|
+
* at a distance of one-half of the lines width.<br />
|
|
14534
|
+
* `"round"`: A join with a rounded end which is drawn beyond the endpoint of the line
|
|
14535
|
+
* at a radius of one-half of the lines width and centered on the endpoint of the line.<br />
|
|
14536
|
+
* `"miter"`: A join with a sharp, angled corner which is drawn with the outer sides
|
|
14537
|
+
* beyond the endpoint of the path until they meet.<br />
|
|
14534
14538
|
* Default `"round"`.
|
|
14535
14539
|
* @default "round"
|
|
14536
14540
|
*/
|
|
@@ -14581,9 +14585,9 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14581
14585
|
*/
|
|
14582
14586
|
_this.translate = new Pixel(0, 0);
|
|
14583
14587
|
/**
|
|
14584
|
-
* Specifies the frame of reference for `translate
|
|
14585
|
-
*
|
|
14586
|
-
*
|
|
14588
|
+
* Specifies the frame of reference for `translate`.<br />
|
|
14589
|
+
* `"map"`: Lines are translated relative to the map.<br />
|
|
14590
|
+
* `"viewport"`: Lines are translated relative to the viewport<br />
|
|
14587
14591
|
* Default: `"map"`
|
|
14588
14592
|
* @default "map"
|
|
14589
14593
|
*/
|
|
@@ -14599,7 +14603,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14599
14603
|
return LineLayerOptions;
|
|
14600
14604
|
}(LayerOptions$1));
|
|
14601
14605
|
|
|
14602
|
-
var __extends$
|
|
14606
|
+
var __extends$B = (window && window.__extends) || (function () {
|
|
14603
14607
|
var extendStatics = function (d, b) {
|
|
14604
14608
|
extendStatics = Object.setPrototypeOf ||
|
|
14605
14609
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14630,7 +14634,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14630
14634
|
* CirclePolygon, LineString, MultiLineString, Polygon, and MultiPolygon objects.
|
|
14631
14635
|
*/
|
|
14632
14636
|
var LineLayer = /** @class */ (function (_super) {
|
|
14633
|
-
__extends$
|
|
14637
|
+
__extends$B(LineLayer, _super);
|
|
14634
14638
|
/**
|
|
14635
14639
|
* Constructs a new LineLayer.
|
|
14636
14640
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -14721,7 +14725,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14721
14725
|
return LineLayer;
|
|
14722
14726
|
}(Layer));
|
|
14723
14727
|
|
|
14724
|
-
var __extends$
|
|
14728
|
+
var __extends$A = (window && window.__extends) || (function () {
|
|
14725
14729
|
var extendStatics = function (d, b) {
|
|
14726
14730
|
extendStatics = Object.setPrototypeOf ||
|
|
14727
14731
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14740,7 +14744,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14740
14744
|
* Options used when rendering `Polygon` and `MultiPolygon` objects in a `PolygonExtrusionLayer`.
|
|
14741
14745
|
*/
|
|
14742
14746
|
var PolygonExtrusionLayerOptions = /** @class */ (function (_super) {
|
|
14743
|
-
__extends$
|
|
14747
|
+
__extends$A(PolygonExtrusionLayerOptions, _super);
|
|
14744
14748
|
function PolygonExtrusionLayerOptions() {
|
|
14745
14749
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
14746
14750
|
/**
|
|
@@ -14795,9 +14799,9 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14795
14799
|
*/
|
|
14796
14800
|
_this.translate = new Pixel(0, 0);
|
|
14797
14801
|
/**
|
|
14798
|
-
* Specifies the frame of reference for `translate
|
|
14799
|
-
*
|
|
14800
|
-
*
|
|
14802
|
+
* Specifies the frame of reference for `translate`.<br />
|
|
14803
|
+
* `"map"`: Polygons are translated relative to the map.<br />
|
|
14804
|
+
* `"viewport"`: Polygons are translated relative to the viewport.<br />
|
|
14801
14805
|
* Default: `"map"`
|
|
14802
14806
|
* @default "map"
|
|
14803
14807
|
*/
|
|
@@ -14813,7 +14817,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14813
14817
|
return PolygonExtrusionLayerOptions;
|
|
14814
14818
|
}(LayerOptions$1));
|
|
14815
14819
|
|
|
14816
|
-
var __extends$
|
|
14820
|
+
var __extends$z = (window && window.__extends) || (function () {
|
|
14817
14821
|
var extendStatics = function (d, b) {
|
|
14818
14822
|
extendStatics = Object.setPrototypeOf ||
|
|
14819
14823
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14843,7 +14847,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14843
14847
|
* Renders extruded filled `Polygon` and `MultiPolygon` objects on the map.
|
|
14844
14848
|
*/
|
|
14845
14849
|
var PolygonExtrusionLayer = /** @class */ (function (_super) {
|
|
14846
|
-
__extends$
|
|
14850
|
+
__extends$z(PolygonExtrusionLayer, _super);
|
|
14847
14851
|
/**
|
|
14848
14852
|
* Constructs a new PolygonExtrusionLayer.
|
|
14849
14853
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -14931,7 +14935,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14931
14935
|
return PolygonExtrusionLayer;
|
|
14932
14936
|
}(Layer));
|
|
14933
14937
|
|
|
14934
|
-
var __extends$
|
|
14938
|
+
var __extends$y = (window && window.__extends) || (function () {
|
|
14935
14939
|
var extendStatics = function (d, b) {
|
|
14936
14940
|
extendStatics = Object.setPrototypeOf ||
|
|
14937
14941
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14950,7 +14954,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14950
14954
|
* Options used when rendering Polygon and MultiPolygon objects in a PolygonLayer.
|
|
14951
14955
|
*/
|
|
14952
14956
|
var PolygonLayerOptions$1 = /** @class */ (function (_super) {
|
|
14953
|
-
__extends$
|
|
14957
|
+
__extends$y(PolygonLayerOptions, _super);
|
|
14954
14958
|
function PolygonLayerOptions() {
|
|
14955
14959
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
14956
14960
|
/**
|
|
@@ -14990,7 +14994,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14990
14994
|
return PolygonLayerOptions;
|
|
14991
14995
|
}(LayerOptions$1));
|
|
14992
14996
|
|
|
14993
|
-
var __extends$
|
|
14997
|
+
var __extends$x = (window && window.__extends) || (function () {
|
|
14994
14998
|
var extendStatics = function (d, b) {
|
|
14995
14999
|
extendStatics = Object.setPrototypeOf ||
|
|
14996
15000
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -15009,7 +15013,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15009
15013
|
* Renders filled Polygon and MultiPolygon objects on the map.
|
|
15010
15014
|
*/
|
|
15011
15015
|
var PolygonLayer = /** @class */ (function (_super) {
|
|
15012
|
-
__extends$
|
|
15016
|
+
__extends$x(PolygonLayer, _super);
|
|
15013
15017
|
/**
|
|
15014
15018
|
* Constructs a new PolygonLayer.
|
|
15015
15019
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -15119,7 +15123,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15119
15123
|
return PolygonLayer;
|
|
15120
15124
|
}(Layer));
|
|
15121
15125
|
|
|
15122
|
-
var __extends$
|
|
15126
|
+
var __extends$w = (window && window.__extends) || (function () {
|
|
15123
15127
|
var extendStatics = function (d, b) {
|
|
15124
15128
|
extendStatics = Object.setPrototypeOf ||
|
|
15125
15129
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -15138,7 +15142,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15138
15142
|
* Options used to customize the icons in a SymbolLayer
|
|
15139
15143
|
*/
|
|
15140
15144
|
var IconOptions = /** @class */ (function (_super) {
|
|
15141
|
-
__extends$
|
|
15145
|
+
__extends$w(IconOptions, _super);
|
|
15142
15146
|
function IconOptions() {
|
|
15143
15147
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
15144
15148
|
/**
|
|
@@ -15150,16 +15154,16 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15150
15154
|
*/
|
|
15151
15155
|
_this.allowOverlap = false;
|
|
15152
15156
|
/**
|
|
15153
|
-
* Specifies which part of the icon is placed closest to the icons anchor position on the map
|
|
15154
|
-
*
|
|
15155
|
-
*
|
|
15156
|
-
*
|
|
15157
|
-
*
|
|
15158
|
-
*
|
|
15159
|
-
*
|
|
15160
|
-
*
|
|
15161
|
-
*
|
|
15162
|
-
*
|
|
15157
|
+
* Specifies which part of the icon is placed closest to the icons anchor position on the map.<br />
|
|
15158
|
+
* `"center"`: The center of the icon is placed closest to the anchor.<br />
|
|
15159
|
+
* `"left"`: The left side of the icon is placed closest to the anchor.<br />
|
|
15160
|
+
* `"right"`: The right side of the icon is placed closest to the anchor.<br />
|
|
15161
|
+
* `"top"`: The top of the icon is placed closest to the anchor.<br />
|
|
15162
|
+
* `"bottom"`: The bottom of the icon is placed closest to the anchor.<br />
|
|
15163
|
+
* `"top-left"`: The top left corner of the icon is placed closest to the anchor.<br />
|
|
15164
|
+
* `"top-right"`: The top right corner of the icon is placed closest to the anchor.<br />
|
|
15165
|
+
* `"bottom-left"`: The bottom left corner of the icon is placed closest to the anchor.<br />
|
|
15166
|
+
* `"bottom-right"`: The bottom right corner of the icon is placed closest to the anchor.<br />
|
|
15163
15167
|
* Default `"bottom"`.
|
|
15164
15168
|
* @default "bottom"
|
|
15165
15169
|
*/
|
|
@@ -15204,10 +15208,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15204
15208
|
*/
|
|
15205
15209
|
_this.padding = 2;
|
|
15206
15210
|
/**
|
|
15207
|
-
* Specifies the orientation of the icon when the map is pitched
|
|
15208
|
-
*
|
|
15209
|
-
*
|
|
15210
|
-
*
|
|
15211
|
+
* Specifies the orientation of the icon when the map is pitched.<br />
|
|
15212
|
+
* `"auto"`: Automatically matches the value of `rotationAlignment`.<br />
|
|
15213
|
+
* `"map"`: The icon is aligned to the plane of the map.<br />
|
|
15214
|
+
* `"viewport"`: The icon is aligned to the plane of the viewport<br />
|
|
15211
15215
|
* Default `"auto"`
|
|
15212
15216
|
* @default "auto"
|
|
15213
15217
|
*/
|
|
@@ -15220,12 +15224,12 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15220
15224
|
_this.rotation = 0;
|
|
15221
15225
|
/**
|
|
15222
15226
|
* In combination with the placement property of a SymbolLayerOptions
|
|
15223
|
-
* this determines the rotation behavior of icons
|
|
15224
|
-
*
|
|
15225
|
-
* When placement is "line" this is equivalent to "map"
|
|
15226
|
-
*
|
|
15227
|
-
* When placement is "line" aligns the icons' x-axes with the line
|
|
15228
|
-
*
|
|
15227
|
+
* this determines the rotation behavior of icons.<br />
|
|
15228
|
+
* `"auto"`: When placement is "point" this is equivalent to "viewport".
|
|
15229
|
+
* When placement is "line" this is equivalent to "map".<br />
|
|
15230
|
+
* `"map"`: When placement is "point" aligns icons east-west.
|
|
15231
|
+
* When placement is "line" aligns the icons' x-axes with the line.<br />
|
|
15232
|
+
* `"viewport"`: Icons' x-axes will align with the x-axis of the viewport.<br />
|
|
15229
15233
|
* Default `"auto"`.
|
|
15230
15234
|
* @default "auto"
|
|
15231
15235
|
*/
|
|
@@ -15248,7 +15252,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15248
15252
|
return IconOptions;
|
|
15249
15253
|
}(Options));
|
|
15250
15254
|
|
|
15251
|
-
var __extends$
|
|
15255
|
+
var __extends$v = (window && window.__extends) || (function () {
|
|
15252
15256
|
var extendStatics = function (d, b) {
|
|
15253
15257
|
extendStatics = Object.setPrototypeOf ||
|
|
15254
15258
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -15267,7 +15271,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15267
15271
|
* Options used to customize the text in a SymbolLayer
|
|
15268
15272
|
*/
|
|
15269
15273
|
var TextOptions = /** @class */ (function (_super) {
|
|
15270
|
-
__extends$
|
|
15274
|
+
__extends$v(TextOptions, _super);
|
|
15271
15275
|
function TextOptions() {
|
|
15272
15276
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
15273
15277
|
/**
|
|
@@ -15278,16 +15282,16 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15278
15282
|
*/
|
|
15279
15283
|
_this.allowOverlap = false;
|
|
15280
15284
|
/**
|
|
15281
|
-
* Specifies which part of the icon is placed closest to the icons anchor position on the map
|
|
15282
|
-
*
|
|
15283
|
-
*
|
|
15284
|
-
*
|
|
15285
|
-
*
|
|
15286
|
-
*
|
|
15287
|
-
*
|
|
15288
|
-
*
|
|
15289
|
-
*
|
|
15290
|
-
*
|
|
15285
|
+
* Specifies which part of the icon is placed closest to the icons anchor position on the map.<br />
|
|
15286
|
+
* `"center"`: The center of the icon is placed closest to the anchor.<br />
|
|
15287
|
+
* `"left"`: The left side of the icon is placed closest to the anchor.<br />
|
|
15288
|
+
* `"right"`: The right side of the icon is placed closest to the anchor.<br />
|
|
15289
|
+
* `"top"`: The top of the icon is placed closest to the anchor.<br />
|
|
15290
|
+
* `"bottom"`: The bottom of the icon is placed closest to the anchor.<br />
|
|
15291
|
+
* `"top-left"`: The top left corner of the icon is placed closest to the anchor.<br />
|
|
15292
|
+
* `"top-right"`: The top right corner of the icon is placed closest to the anchor.<br />
|
|
15293
|
+
* `"bottom-left"`: The bottom left corner of the icon is placed closest to the anchor.<br />
|
|
15294
|
+
* `"bottom-right"`: The bottom right corner of the icon is placed closest to the anchor.<br />
|
|
15291
15295
|
* Default `"center"`.
|
|
15292
15296
|
* @default "center"
|
|
15293
15297
|
*/
|
|
@@ -15317,11 +15321,11 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15317
15321
|
*/
|
|
15318
15322
|
_this.ignorePlacement = false;
|
|
15319
15323
|
/**
|
|
15320
|
-
* Text justification options
|
|
15321
|
-
*
|
|
15322
|
-
*
|
|
15323
|
-
*
|
|
15324
|
-
*
|
|
15324
|
+
* Text justification options.<br />
|
|
15325
|
+
* `"auto"`: The text is aligned towards the anchor position.<br />
|
|
15326
|
+
* `"left"`: The text is aligned to the left.<br />
|
|
15327
|
+
* `"center"`: The text is centered.<br />
|
|
15328
|
+
* `"right"`: The text is aligned to the right.<br />
|
|
15325
15329
|
* Default `"center"`.
|
|
15326
15330
|
* @default "center"
|
|
15327
15331
|
*/
|
|
@@ -15349,10 +15353,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15349
15353
|
*/
|
|
15350
15354
|
_this.padding = 2;
|
|
15351
15355
|
/**
|
|
15352
|
-
* Specifies the orientation of the text when the map is pitched
|
|
15353
|
-
*
|
|
15354
|
-
*
|
|
15355
|
-
*
|
|
15356
|
+
* Specifies the orientation of the text when the map is pitched.<br />
|
|
15357
|
+
* `"auto"`: Automatically matches the value of `rotationAlignment`.<br />
|
|
15358
|
+
* `"map"`: The text is aligned to the plane of the map.<br />
|
|
15359
|
+
* `"viewport"`: The text is aligned to the plane of the viewport.<br />
|
|
15356
15360
|
* Default: `"auto"`
|
|
15357
15361
|
* @default "auto"
|
|
15358
15362
|
*/
|
|
@@ -15372,13 +15376,13 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15372
15376
|
_this.rotation = 0;
|
|
15373
15377
|
/**
|
|
15374
15378
|
* In combination with the `placement` property of the `SymbolLayerOptions`,
|
|
15375
|
-
* specifies the rotation behavior of the individual glyphs forming the text
|
|
15376
|
-
*
|
|
15377
|
-
* When the `placement` is set to `"line"` this is equivalent to `"map"
|
|
15378
|
-
*
|
|
15379
|
-
* When the `placement` is set to `"line"`, aligns text x-axes with the line
|
|
15380
|
-
*
|
|
15381
|
-
* regardless of the value of `placement
|
|
15379
|
+
* specifies the rotation behavior of the individual glyphs forming the text.<br />
|
|
15380
|
+
* `"auto"`: When the `placement` is set to `"point"`, this is equivalent to `"map"`.
|
|
15381
|
+
* When the `placement` is set to `"line"` this is equivalent to `"map"`.<br />
|
|
15382
|
+
* `"map"`: When the `placement` is set to `"point"`, aligns text east-west.
|
|
15383
|
+
* When the `placement` is set to `"line"`, aligns text x-axes with the line.<br />
|
|
15384
|
+
* `"viewport"`: Produces glyphs whose x-axes are aligned with the x-axis of the viewport,
|
|
15385
|
+
* regardless of the value of `placement`.<br />
|
|
15382
15386
|
* Default: `"auto"`
|
|
15383
15387
|
* @default "auto"
|
|
15384
15388
|
*/
|
|
@@ -15388,16 +15392,16 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15388
15392
|
* labels on the map. The renderer will attempt to place the label at each location,
|
|
15389
15393
|
* in order, before moving onto the next label. Use `justify: "auto"` to choose text
|
|
15390
15394
|
* justification based on anchor position. To apply an offset use the `radialOffset` or
|
|
15391
|
-
* two-dimensional `offset` options
|
|
15392
|
-
*
|
|
15393
|
-
*
|
|
15394
|
-
*
|
|
15395
|
-
*
|
|
15396
|
-
*
|
|
15397
|
-
*
|
|
15398
|
-
*
|
|
15399
|
-
*
|
|
15400
|
-
*
|
|
15395
|
+
* two-dimensional `offset` options.<br />
|
|
15396
|
+
* `"center"`: The center of the icon is placed closest to the anchor.<br />
|
|
15397
|
+
* `"left"`: The left side of the icon is placed closest to the anchor.<br />
|
|
15398
|
+
* `"right"`: The right side of the icon is placed closest to the anchor.<br />
|
|
15399
|
+
* `"top"`: The top of the icon is placed closest to the anchor.<br />
|
|
15400
|
+
* `"bottom"`: The bottom of the icon is placed closest to the anchor.<br />
|
|
15401
|
+
* `"top-left"`: The top left corner of the icon is placed closest to the anchor.<br />
|
|
15402
|
+
* `"top-right"`: The top right corner of the icon is placed closest to the anchor.<br />
|
|
15403
|
+
* `"bottom-left"`: The bottom left corner of the icon is placed closest to the anchor.<br />
|
|
15404
|
+
* `"bottom-right"`: The bottom right corner of the icon is placed closest to the anchor.<br />
|
|
15401
15405
|
* Default: `undefined`
|
|
15402
15406
|
* @default undefined
|
|
15403
15407
|
*/
|
|
@@ -15447,7 +15451,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15447
15451
|
return TextOptions;
|
|
15448
15452
|
}(Options));
|
|
15449
15453
|
|
|
15450
|
-
var __extends$
|
|
15454
|
+
var __extends$u = (window && window.__extends) || (function () {
|
|
15451
15455
|
var extendStatics = function (d, b) {
|
|
15452
15456
|
extendStatics = Object.setPrototypeOf ||
|
|
15453
15457
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -15466,7 +15470,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15466
15470
|
* Options used when rendering geometries in a SymbolLayer.
|
|
15467
15471
|
*/
|
|
15468
15472
|
var SymbolLayerOptions = /** @class */ (function (_super) {
|
|
15469
|
-
__extends$
|
|
15473
|
+
__extends$u(SymbolLayerOptions, _super);
|
|
15470
15474
|
function SymbolLayerOptions() {
|
|
15471
15475
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
15472
15476
|
/**
|
|
@@ -15490,12 +15494,12 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15490
15494
|
*/
|
|
15491
15495
|
_this.textOptions = new TextOptions();
|
|
15492
15496
|
/**
|
|
15493
|
-
* Specifies the label placement relative to its geometry
|
|
15494
|
-
*
|
|
15495
|
-
*
|
|
15496
|
-
* Can only be used on LineString and Polygon geometries
|
|
15497
|
-
*
|
|
15498
|
-
* Can only be used on `LineString` and `Polygon` geometries
|
|
15497
|
+
* Specifies the label placement relative to its geometry.<br />
|
|
15498
|
+
* `"point"`: The label is placed at the point where the geometry is located.<br />
|
|
15499
|
+
* `"line"`: The label is placed along the line of the geometry.
|
|
15500
|
+
* Can only be used on LineString and Polygon geometries.<br />
|
|
15501
|
+
* `"line-center"`: The label is placed at the center of the line of the geometry.
|
|
15502
|
+
* Can only be used on `LineString` and `Polygon` geometries <br />
|
|
15499
15503
|
* Default `"point"`.
|
|
15500
15504
|
* @default "point"
|
|
15501
15505
|
*/
|
|
@@ -15510,12 +15514,12 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15510
15514
|
/**
|
|
15511
15515
|
* Determines whether overlapping symbols in the same layer are rendered in the order
|
|
15512
15516
|
* that they appear in the data source, or by their y position relative to the viewport.
|
|
15513
|
-
* To control the order and prioritization of symbols otherwise, use `sortKey
|
|
15514
|
-
*
|
|
15515
|
-
*
|
|
15516
|
-
* if `ignorePlacement` is `false
|
|
15517
|
-
*
|
|
15518
|
-
* same order as the source data
|
|
15517
|
+
* To control the order and prioritization of symbols otherwise, use `sortKey`.<br />
|
|
15518
|
+
* `"auto"`: Sorts symbols by `sortKey` if set. Otherwise behaves like `"viewport-y"`.<br />
|
|
15519
|
+
* `"viewport-y"`: Sorts symbols by their y position if `allowOverlap` is `true` or
|
|
15520
|
+
* if `ignorePlacement` is `false`.<br />
|
|
15521
|
+
* `"source"`: Sorts symbols by `sortKey` if set. Otherwise, symbols are rendered in the
|
|
15522
|
+
* same order as the source data.<br />
|
|
15519
15523
|
* Default `"auto"`
|
|
15520
15524
|
* @default "auto"
|
|
15521
15525
|
*/
|
|
@@ -15531,7 +15535,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15531
15535
|
return SymbolLayerOptions;
|
|
15532
15536
|
}(LayerOptions$1));
|
|
15533
15537
|
|
|
15534
|
-
var __extends$
|
|
15538
|
+
var __extends$t = (window && window.__extends) || (function () {
|
|
15535
15539
|
var extendStatics = function (d, b) {
|
|
15536
15540
|
extendStatics = Object.setPrototypeOf ||
|
|
15537
15541
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -15562,7 +15566,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15562
15566
|
* Symbols can also be created for line and polygon data as well.
|
|
15563
15567
|
*/
|
|
15564
15568
|
var SymbolLayer = /** @class */ (function (_super) {
|
|
15565
|
-
__extends$
|
|
15569
|
+
__extends$t(SymbolLayer, _super);
|
|
15566
15570
|
/**
|
|
15567
15571
|
* Constructs a new SymbolLayer.
|
|
15568
15572
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -15704,7 +15708,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15704
15708
|
return SymbolLayer;
|
|
15705
15709
|
}(Layer));
|
|
15706
15710
|
|
|
15707
|
-
var __extends$
|
|
15711
|
+
var __extends$s = (window && window.__extends) || (function () {
|
|
15708
15712
|
var extendStatics = function (d, b) {
|
|
15709
15713
|
extendStatics = Object.setPrototypeOf ||
|
|
15710
15714
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -15735,7 +15739,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15735
15739
|
* @private
|
|
15736
15740
|
*/
|
|
15737
15741
|
var FundamentalMapSource = /** @class */ (function (_super) {
|
|
15738
|
-
__extends$
|
|
15742
|
+
__extends$s(FundamentalMapSource, _super);
|
|
15739
15743
|
/**
|
|
15740
15744
|
* Constructs a source from the contents of a layer resource file.
|
|
15741
15745
|
* @param id The source's id.
|
|
@@ -15821,7 +15825,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15821
15825
|
return FundamentalMapSource;
|
|
15822
15826
|
}(Source));
|
|
15823
15827
|
|
|
15824
|
-
var __extends$
|
|
15828
|
+
var __extends$r = (window && window.__extends) || (function () {
|
|
15825
15829
|
var extendStatics = function (d, b) {
|
|
15826
15830
|
extendStatics = Object.setPrototypeOf ||
|
|
15827
15831
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -15840,7 +15844,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15840
15844
|
* Options used when rendering raster tiled images in a TileLayer.
|
|
15841
15845
|
*/
|
|
15842
15846
|
var TileLayerOptions = /** @class */ (function (_super) {
|
|
15843
|
-
__extends$
|
|
15847
|
+
__extends$r(TileLayerOptions, _super);
|
|
15844
15848
|
function TileLayerOptions() {
|
|
15845
15849
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
15846
15850
|
/**
|
|
@@ -15896,7 +15900,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15896
15900
|
return TileLayerOptions;
|
|
15897
15901
|
}(MediaLayerOptions));
|
|
15898
15902
|
|
|
15899
|
-
var __extends$
|
|
15903
|
+
var __extends$q = (window && window.__extends) || (function () {
|
|
15900
15904
|
var extendStatics = function (d, b) {
|
|
15901
15905
|
extendStatics = Object.setPrototypeOf ||
|
|
15902
15906
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -15937,7 +15941,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15937
15941
|
* Renders raster tiled images on top of the map tiles.
|
|
15938
15942
|
*/
|
|
15939
15943
|
var TileLayer = /** @class */ (function (_super) {
|
|
15940
|
-
__extends$
|
|
15944
|
+
__extends$q(TileLayer, _super);
|
|
15941
15945
|
/**
|
|
15942
15946
|
* Constructs a new TileLayer.
|
|
15943
15947
|
* @param options The options for the tile layer.
|
|
@@ -16090,7 +16094,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16090
16094
|
return TileLayer;
|
|
16091
16095
|
}(SourceBuildingLayer));
|
|
16092
16096
|
|
|
16093
|
-
var __extends$
|
|
16097
|
+
var __extends$p = (window && window.__extends) || (function () {
|
|
16094
16098
|
var extendStatics = function (d, b) {
|
|
16095
16099
|
extendStatics = Object.setPrototypeOf ||
|
|
16096
16100
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -16109,7 +16113,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16109
16113
|
* Options used to render graphics in a WebGLLayer.
|
|
16110
16114
|
*/
|
|
16111
16115
|
var WebGLLayerOptions = /** @class */ (function (_super) {
|
|
16112
|
-
__extends$
|
|
16116
|
+
__extends$p(WebGLLayerOptions, _super);
|
|
16113
16117
|
function WebGLLayerOptions() {
|
|
16114
16118
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
16115
16119
|
/**
|
|
@@ -16121,7 +16125,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16121
16125
|
return WebGLLayerOptions;
|
|
16122
16126
|
}(LayerOptions$1));
|
|
16123
16127
|
|
|
16124
|
-
var __extends$
|
|
16128
|
+
var __extends$o = (window && window.__extends) || (function () {
|
|
16125
16129
|
var extendStatics = function (d, b) {
|
|
16126
16130
|
extendStatics = Object.setPrototypeOf ||
|
|
16127
16131
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -16140,7 +16144,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16140
16144
|
* Enables custom rendering logic with access to the WebGL context of the map.
|
|
16141
16145
|
*/
|
|
16142
16146
|
var WebGLLayer = /** @class */ (function (_super) {
|
|
16143
|
-
__extends$
|
|
16147
|
+
__extends$o(WebGLLayer, _super);
|
|
16144
16148
|
/**
|
|
16145
16149
|
* Constructs a new WebGLLayer.
|
|
16146
16150
|
* @param id The id of the layer. If not specified a random one will be generated.
|
|
@@ -16373,7 +16377,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16373
16377
|
|
|
16374
16378
|
var isElement$1 = /*@__PURE__*/getDefaultExportFromCjs(isElement_1);
|
|
16375
16379
|
|
|
16376
|
-
var __extends$
|
|
16380
|
+
var __extends$n = (window && window.__extends) || (function () {
|
|
16377
16381
|
var extendStatics = function (d, b) {
|
|
16378
16382
|
extendStatics = Object.setPrototypeOf ||
|
|
16379
16383
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -16392,7 +16396,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16392
16396
|
* The options for a popup.
|
|
16393
16397
|
*/
|
|
16394
16398
|
var PopupOptions = /** @class */ (function (_super) {
|
|
16395
|
-
__extends$
|
|
16399
|
+
__extends$n(PopupOptions, _super);
|
|
16396
16400
|
function PopupOptions() {
|
|
16397
16401
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
16398
16402
|
/**
|
|
@@ -16461,7 +16465,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16461
16465
|
return PopupOptions;
|
|
16462
16466
|
}(Options));
|
|
16463
16467
|
|
|
16464
|
-
var __extends$
|
|
16468
|
+
var __extends$m = (window && window.__extends) || (function () {
|
|
16465
16469
|
var extendStatics = function (d, b) {
|
|
16466
16470
|
extendStatics = Object.setPrototypeOf ||
|
|
16467
16471
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -16496,7 +16500,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16496
16500
|
* An information window anchored at a specified position on a map.
|
|
16497
16501
|
*/
|
|
16498
16502
|
var Popup = /** @class */ (function (_super) {
|
|
16499
|
-
__extends$
|
|
16503
|
+
__extends$m(Popup, _super);
|
|
16500
16504
|
/**
|
|
16501
16505
|
* Constructs a Popup object and initializes it with the specified options.
|
|
16502
16506
|
* @param options The options for the popup.
|
|
@@ -16970,7 +16974,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16970
16974
|
return Popup;
|
|
16971
16975
|
}(EventEmitter));
|
|
16972
16976
|
|
|
16973
|
-
var __extends$
|
|
16977
|
+
var __extends$l = (window && window.__extends) || (function () {
|
|
16974
16978
|
var extendStatics = function (d, b) {
|
|
16975
16979
|
extendStatics = Object.setPrototypeOf ||
|
|
16976
16980
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -16989,7 +16993,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16989
16993
|
* Options for rendering an HtmlMarker object
|
|
16990
16994
|
*/
|
|
16991
16995
|
var HtmlMarkerOptions = /** @class */ (function (_super) {
|
|
16992
|
-
__extends$
|
|
16996
|
+
__extends$l(HtmlMarkerOptions, _super);
|
|
16993
16997
|
function HtmlMarkerOptions() {
|
|
16994
16998
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
16995
16999
|
/**
|
|
@@ -17067,7 +17071,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17067
17071
|
return HtmlMarkerOptions;
|
|
17068
17072
|
}(Options));
|
|
17069
17073
|
|
|
17070
|
-
var __extends$
|
|
17074
|
+
var __extends$k = (window && window.__extends) || (function () {
|
|
17071
17075
|
var extendStatics = function (d, b) {
|
|
17072
17076
|
extendStatics = Object.setPrototypeOf ||
|
|
17073
17077
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -17086,7 +17090,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17086
17090
|
* This class wraps an HTML element that can be displayed on the map.
|
|
17087
17091
|
*/
|
|
17088
17092
|
var HtmlMarker = /** @class */ (function (_super) {
|
|
17089
|
-
__extends$
|
|
17093
|
+
__extends$k(HtmlMarker, _super);
|
|
17090
17094
|
/**
|
|
17091
17095
|
* Constructs a new HtmlMarker.
|
|
17092
17096
|
* @param options The options for the HtmlMarker.
|
|
@@ -17385,7 +17389,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17385
17389
|
return Media;
|
|
17386
17390
|
}());
|
|
17387
17391
|
|
|
17388
|
-
var __extends$
|
|
17392
|
+
var __extends$j = (window && window.__extends) || (function () {
|
|
17389
17393
|
var extendStatics = function (d, b) {
|
|
17390
17394
|
extendStatics = Object.setPrototypeOf ||
|
|
17391
17395
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -17404,7 +17408,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17404
17408
|
* The options for a CopyrightControl object.
|
|
17405
17409
|
*/
|
|
17406
17410
|
var CopyrightControlOptions = /** @class */ (function (_super) {
|
|
17407
|
-
__extends$
|
|
17411
|
+
__extends$j(CopyrightControlOptions, _super);
|
|
17408
17412
|
function CopyrightControlOptions() {
|
|
17409
17413
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
17410
17414
|
/**
|
|
@@ -17433,7 +17437,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17433
17437
|
return CopyrightControlOptions;
|
|
17434
17438
|
}(Options));
|
|
17435
17439
|
|
|
17436
|
-
var __extends$
|
|
17440
|
+
var __extends$i = (window && window.__extends) || (function () {
|
|
17437
17441
|
var extendStatics = function (d, b) {
|
|
17438
17442
|
extendStatics = Object.setPrototypeOf ||
|
|
17439
17443
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -17452,7 +17456,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17452
17456
|
* @private
|
|
17453
17457
|
*/
|
|
17454
17458
|
var CopyrightControl = /** @class */ (function (_super) {
|
|
17455
|
-
__extends$
|
|
17459
|
+
__extends$i(CopyrightControl, _super);
|
|
17456
17460
|
function CopyrightControl(options) {
|
|
17457
17461
|
var _this = _super.call(this) || this;
|
|
17458
17462
|
_this.textAttribution = function (options) {
|
|
@@ -17474,13 +17478,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17474
17478
|
CopyrightControl.prototype.onAdd = function (map) {
|
|
17475
17479
|
this.map = map;
|
|
17476
17480
|
this.container = this.buildContainer(map, exports.ControlStyle.auto);
|
|
17477
|
-
this.container.className = "map-copyright";
|
|
17481
|
+
this.container.className = "map-copyright without-bg";
|
|
17478
17482
|
this.copyrightDiv = this.buildCopyrightDiv();
|
|
17479
17483
|
this.copyrightDiv.className = "azure-map-copyright";
|
|
17480
17484
|
this.container.appendChild(this.copyrightDiv);
|
|
17481
|
-
if (this.options.showLogo) {
|
|
17482
|
-
this.addRemoveLogo(true);
|
|
17483
|
-
}
|
|
17484
17485
|
if (this.options.showFeedbackLink) {
|
|
17485
17486
|
this.addRemoveFeedbackDiv(true);
|
|
17486
17487
|
}
|
|
@@ -17510,12 +17511,6 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17510
17511
|
}
|
|
17511
17512
|
this.options.copyrightContent = newOptions.copyrightContent;
|
|
17512
17513
|
}
|
|
17513
|
-
if (!newOptions.showLogo && this.logoAnchor) {
|
|
17514
|
-
this.addRemoveLogo(false);
|
|
17515
|
-
}
|
|
17516
|
-
else if (newOptions.showLogo && !this.logoAnchor) {
|
|
17517
|
-
this.addRemoveLogo(true);
|
|
17518
|
-
}
|
|
17519
17514
|
if (!newOptions.showFeedbackLink && this.feedbackAnchor) {
|
|
17520
17515
|
this.addRemoveFeedbackDiv(false);
|
|
17521
17516
|
}
|
|
@@ -17541,31 +17536,138 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17541
17536
|
var link = document.createElement("a");
|
|
17542
17537
|
link.setAttribute("alt", "Provide Map Data Feedback");
|
|
17543
17538
|
link.setAttribute("aria-label", "Provide Map Data Feedback");
|
|
17539
|
+
link.innerText = "Feedback";
|
|
17544
17540
|
link.href = CopyrightControl.feedbackLink;
|
|
17545
17541
|
link.target = "_blank";
|
|
17546
17542
|
link.rel = "noopener";
|
|
17547
|
-
link.className = "azure-map-feedback";
|
|
17543
|
+
link.className = "azure-map-feedback-text";
|
|
17548
17544
|
return link;
|
|
17549
17545
|
};
|
|
17550
17546
|
CopyrightControl.prototype.addRemoveFeedbackDiv = function (add) {
|
|
17551
17547
|
var _a, _b, _c, _d;
|
|
17552
17548
|
if (add) {
|
|
17553
17549
|
this.feedbackAnchor = this.buildFeedbackLink();
|
|
17554
|
-
this.
|
|
17550
|
+
this.feedbackTooltip = buildAccessibleTooltip("Provide Map Data Feedback");
|
|
17555
17551
|
this.container.appendChild(this.feedbackAnchor);
|
|
17556
|
-
this.container.appendChild(this.
|
|
17557
|
-
positionTooltip(this.
|
|
17552
|
+
this.container.appendChild(this.feedbackTooltip);
|
|
17553
|
+
positionTooltip(this.feedbackTooltip, this.feedbackAnchor);
|
|
17558
17554
|
(_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a.events) === null || _b === void 0 ? void 0 : _b.add("moveend", this.updateFeedbackLink);
|
|
17559
17555
|
}
|
|
17560
17556
|
else {
|
|
17561
17557
|
this.feedbackAnchor.remove();
|
|
17562
|
-
this.
|
|
17563
|
-
delete this.
|
|
17558
|
+
this.feedbackTooltip.remove();
|
|
17559
|
+
delete this.feedbackTooltip;
|
|
17564
17560
|
delete this.feedbackAnchor;
|
|
17565
17561
|
(_d = (_c = this.map) === null || _c === void 0 ? void 0 : _c.events) === null || _d === void 0 ? void 0 : _d.remove("moveend", this.updateFeedbackLink);
|
|
17566
17562
|
}
|
|
17567
17563
|
};
|
|
17568
|
-
CopyrightControl.
|
|
17564
|
+
CopyrightControl.feedbackLink = "https://aka.ms/azuremaps-feedback?feedbackep=UrlAzureMapsWebSdk";
|
|
17565
|
+
return CopyrightControl;
|
|
17566
|
+
}(ControlBase));
|
|
17567
|
+
|
|
17568
|
+
var __extends$h = (window && window.__extends) || (function () {
|
|
17569
|
+
var extendStatics = function (d, b) {
|
|
17570
|
+
extendStatics = Object.setPrototypeOf ||
|
|
17571
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
17572
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
17573
|
+
return extendStatics(d, b);
|
|
17574
|
+
};
|
|
17575
|
+
return function (d, b) {
|
|
17576
|
+
if (typeof b !== "function" && b !== null)
|
|
17577
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
17578
|
+
extendStatics(d, b);
|
|
17579
|
+
function __() { this.constructor = d; }
|
|
17580
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17581
|
+
};
|
|
17582
|
+
})();
|
|
17583
|
+
/**
|
|
17584
|
+
* The options for a LogoControl object.
|
|
17585
|
+
*/
|
|
17586
|
+
var LogoControlOptions = /** @class */ (function (_super) {
|
|
17587
|
+
__extends$h(LogoControlOptions, _super);
|
|
17588
|
+
function LogoControlOptions() {
|
|
17589
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
17590
|
+
/**
|
|
17591
|
+
* If true will show the Microsoft logo.
|
|
17592
|
+
*/
|
|
17593
|
+
_this.showLogo = true;
|
|
17594
|
+
return _this;
|
|
17595
|
+
}
|
|
17596
|
+
return LogoControlOptions;
|
|
17597
|
+
}(Options));
|
|
17598
|
+
|
|
17599
|
+
var __extends$g = (window && window.__extends) || (function () {
|
|
17600
|
+
var extendStatics = function (d, b) {
|
|
17601
|
+
extendStatics = Object.setPrototypeOf ||
|
|
17602
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
17603
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
17604
|
+
return extendStatics(d, b);
|
|
17605
|
+
};
|
|
17606
|
+
return function (d, b) {
|
|
17607
|
+
if (typeof b !== "function" && b !== null)
|
|
17608
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
17609
|
+
extendStatics(d, b);
|
|
17610
|
+
function __() { this.constructor = d; }
|
|
17611
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
17612
|
+
};
|
|
17613
|
+
})();
|
|
17614
|
+
/**
|
|
17615
|
+
* A control that displays the logo on the map.
|
|
17616
|
+
* @private
|
|
17617
|
+
*/
|
|
17618
|
+
var LogoControl = /** @class */ (function (_super) {
|
|
17619
|
+
__extends$g(LogoControl, _super);
|
|
17620
|
+
/**
|
|
17621
|
+
* Construct a control
|
|
17622
|
+
*/
|
|
17623
|
+
function LogoControl(options) {
|
|
17624
|
+
var _this = _super.call(this) || this;
|
|
17625
|
+
_this.map = null;
|
|
17626
|
+
/**
|
|
17627
|
+
* Set visibility of the control based on the container width.
|
|
17628
|
+
*/
|
|
17629
|
+
_this._onResize = function () {
|
|
17630
|
+
var _a, _b;
|
|
17631
|
+
var width = ((_b = (_a = _this.map) === null || _a === void 0 ? void 0 : _a.getMapContainer()) === null || _b === void 0 ? void 0 : _b.clientWidth) || 0;
|
|
17632
|
+
_this._setVisiblity(_this.options.showLogo && width >= LogoControl.CONTAINER_MIN_WIDTH);
|
|
17633
|
+
};
|
|
17634
|
+
_this.options = new LogoControlOptions().merge(options);
|
|
17635
|
+
return _this;
|
|
17636
|
+
}
|
|
17637
|
+
/**
|
|
17638
|
+
* Initialization method for the control which is called when added to the map.
|
|
17639
|
+
* @param map The map that the control will be added to.
|
|
17640
|
+
* @param options The ControlOptions for this control.
|
|
17641
|
+
* @return An HTMLElement to be placed on the map for the control.
|
|
17642
|
+
*/
|
|
17643
|
+
LogoControl.prototype.onAdd = function (map) {
|
|
17644
|
+
var _a;
|
|
17645
|
+
this.map = map;
|
|
17646
|
+
this.container = this.buildContainer(map, exports.ControlStyle.auto);
|
|
17647
|
+
this.container.className = "map-logo-control";
|
|
17648
|
+
(_a = this.map) === null || _a === void 0 ? void 0 : _a.events.add("resize", this._onResize);
|
|
17649
|
+
this._addRemoveLogo(this.options.showLogo);
|
|
17650
|
+
return this.container;
|
|
17651
|
+
};
|
|
17652
|
+
LogoControl.prototype.onRemove = function () {
|
|
17653
|
+
var _a;
|
|
17654
|
+
_super.prototype.onRemove.call(this);
|
|
17655
|
+
(_a = this.map) === null || _a === void 0 ? void 0 : _a.events.remove("resize", this._onResize);
|
|
17656
|
+
this.map = null;
|
|
17657
|
+
delete this.container;
|
|
17658
|
+
};
|
|
17659
|
+
LogoControl.prototype.setOptions = function (options) {
|
|
17660
|
+
var newOptions = new LogoControlOptions().merge(this.options, options);
|
|
17661
|
+
if (!newOptions.showLogo && this.logoAnchor) {
|
|
17662
|
+
this._addRemoveLogo(false);
|
|
17663
|
+
}
|
|
17664
|
+
else if (newOptions.showLogo && !this.logoAnchor) {
|
|
17665
|
+
this._addRemoveLogo(true);
|
|
17666
|
+
}
|
|
17667
|
+
this.options = newOptions;
|
|
17668
|
+
};
|
|
17669
|
+
LogoControl.prototype._addRemoveLogo = function (add) {
|
|
17670
|
+
var _a, _b;
|
|
17569
17671
|
if (add) {
|
|
17570
17672
|
this.logoAnchor = document.createElement("a");
|
|
17571
17673
|
this.logoAnchor.className = "azure-map-logo";
|
|
@@ -17576,15 +17678,25 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17576
17678
|
this.logoTooltip = buildAccessibleTooltip("Visit azure.microsoft.com");
|
|
17577
17679
|
this.container.appendChild(this.logoTooltip);
|
|
17578
17680
|
positionTooltip(this.logoTooltip, this.logoAnchor);
|
|
17681
|
+
this._setVisiblity(true);
|
|
17579
17682
|
}
|
|
17580
17683
|
else {
|
|
17581
|
-
this.logoAnchor.remove();
|
|
17582
|
-
this.logoTooltip.remove();
|
|
17684
|
+
(_a = this.logoAnchor) === null || _a === void 0 ? void 0 : _a.remove();
|
|
17685
|
+
(_b = this.logoTooltip) === null || _b === void 0 ? void 0 : _b.remove();
|
|
17583
17686
|
delete this.logoAnchor;
|
|
17687
|
+
this._setVisiblity(false);
|
|
17584
17688
|
}
|
|
17585
17689
|
};
|
|
17586
|
-
|
|
17587
|
-
|
|
17690
|
+
/**
|
|
17691
|
+
* Set visibility of the control.
|
|
17692
|
+
*/
|
|
17693
|
+
LogoControl.prototype._setVisiblity = function (visible) {
|
|
17694
|
+
if (this.container) {
|
|
17695
|
+
this.container.style.display = visible ? "flex" : "none";
|
|
17696
|
+
}
|
|
17697
|
+
};
|
|
17698
|
+
LogoControl.CONTAINER_MIN_WIDTH = 480; // The minimum width of the container to show the logo, 5 copyright texts, and the feedback link.
|
|
17699
|
+
return LogoControl;
|
|
17588
17700
|
}(ControlBase));
|
|
17589
17701
|
|
|
17590
17702
|
var __assign$4 = (window && window.__assign) || function () {
|
|
@@ -19218,6 +19330,17 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19218
19330
|
_this.layers = mbLayers;
|
|
19219
19331
|
return _this;
|
|
19220
19332
|
}
|
|
19333
|
+
/**
|
|
19334
|
+
* Gets the options of the layer.
|
|
19335
|
+
*/
|
|
19336
|
+
FundamentalMapLayer.prototype.getOptions = function () {
|
|
19337
|
+
return {};
|
|
19338
|
+
};
|
|
19339
|
+
/**
|
|
19340
|
+
* Sets the options of the layer.
|
|
19341
|
+
* @param options The new options of the layer.
|
|
19342
|
+
*/
|
|
19343
|
+
FundamentalMapLayer.prototype.setOptions = function (options) { return; };
|
|
19221
19344
|
/**
|
|
19222
19345
|
* @internal
|
|
19223
19346
|
*/
|
|
@@ -19696,14 +19819,14 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19696
19819
|
/**
|
|
19697
19820
|
* Retrieve all Shapes and GeoJSON features that are visible on the map that are in a DataSource or VectorTileSource.
|
|
19698
19821
|
* Shape objects are editable, while Feature objects are not editable and either reside in a VectorTileSource or represent a cluster point.
|
|
19699
|
-
* Clusters have the following properties
|
|
19700
|
-
*
|
|
19822
|
+
* Clusters have the following properties:<br />
|
|
19823
|
+
* `cluster`: `boolean` - Indicates that the point is a cluster.
|
|
19701
19824
|
* This will be set to true if Point object represents a cluster.
|
|
19702
19825
|
* All other point objects are unlikely to have this value unless
|
|
19703
|
-
* a property with this same name was added to the Point property data from your app
|
|
19704
|
-
*
|
|
19705
|
-
*
|
|
19706
|
-
*
|
|
19826
|
+
* a property with this same name was added to the Point property data from your app.<br />
|
|
19827
|
+
* `cluster_id`: `string` - A unique id for the cluster.<br />
|
|
19828
|
+
* `point_count`: `number` - The number of points inside the cluster.<br />
|
|
19829
|
+
* `point_count_abbreviated`: `string` - An abbreviated string version of the point count. i.e. `"10K"`<br />
|
|
19707
19830
|
* Features/Shapes that are not visible or who's layer zoom range does not include the current zoom level will not be returned.
|
|
19708
19831
|
* Symbol features/Shapes that have been hidden due to text or icon collisions are not included.
|
|
19709
19832
|
* Features/Shapes from all other layers are included even if they have no contribution to the map rendering, e.g. alpha set to zero.
|
|
@@ -20371,10 +20494,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
20371
20494
|
*/
|
|
20372
20495
|
_this.duration = 1000;
|
|
20373
20496
|
/**
|
|
20374
|
-
* The type of animation
|
|
20375
|
-
*
|
|
20376
|
-
*
|
|
20377
|
-
*
|
|
20497
|
+
* The type of animation.<br />
|
|
20498
|
+
* `"jump"` is an immediate change.<br />
|
|
20499
|
+
* `"ease"` is a gradual change of the camera's settings.<br />
|
|
20500
|
+
* `"fly"` is a gradual change of the camera's settings following an arc resembling flight.<br />
|
|
20378
20501
|
* Default `"jump"`.
|
|
20379
20502
|
* @default "jump"
|
|
20380
20503
|
*/
|
|
@@ -20617,6 +20740,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
20617
20740
|
_this.pitch = 0;
|
|
20618
20741
|
/**
|
|
20619
20742
|
* The minimum zoom level that the map can be zoomed out to during the animation. Must be between 0 and 24, and less than or equal to `maxZoom`.
|
|
20743
|
+
* Setting `minZoom` below 1 may result in an empty map when the zoom level is less than 1.
|
|
20620
20744
|
* Default `1`.
|
|
20621
20745
|
* @default 1
|
|
20622
20746
|
*/
|
|
@@ -20981,15 +21105,15 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
20981
21105
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
20982
21106
|
/**
|
|
20983
21107
|
* Specifies wether extruded geometries are lit relative to the map or viewport.
|
|
20984
|
-
* Supported values
|
|
20985
|
-
*
|
|
20986
|
-
*
|
|
21108
|
+
* Supported values:<br />
|
|
21109
|
+
* `"map"`: The position of the light source is aligned to the rotation of the map.<br />
|
|
21110
|
+
* `"viewport"`: The position fo the light source is aligned to the rotation of the viewport.<br />
|
|
20987
21111
|
* Default: `"map"`
|
|
20988
21112
|
* @default "map"
|
|
20989
21113
|
*/
|
|
20990
21114
|
_this.anchor = "map";
|
|
20991
21115
|
/**
|
|
20992
|
-
* Color tint for lighting extruded geometries
|
|
21116
|
+
* Color tint for lighting extruded geometries.
|
|
20993
21117
|
* Default: `"#FFFFFF"`
|
|
20994
21118
|
* @default "#FFFFFF"
|
|
20995
21119
|
*/
|
|
@@ -22078,7 +22202,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
22078
22202
|
if (!_this.indoorState) {
|
|
22079
22203
|
return !style.name.includes('indoor');
|
|
22080
22204
|
// NOTE: azure-maps-indoor prior to 2.0.7 will not pass theme auto
|
|
22081
|
-
// the IndoorModule will request getTheme() from StyleManager and will call StyleManager.setStyleSet(theme == 'dark ? 'indoor_dark' : 'indoor') as approperaite
|
|
22205
|
+
// the IndoorModule will request getTheme() from StyleManager and will call StyleManager.setStyleSet(theme == 'dark ? 'indoor_dark' : 'indoor') as approperaite
|
|
22082
22206
|
}
|
|
22083
22207
|
else if (_this.indoorState.theme === 'auto') {
|
|
22084
22208
|
return style.name.endsWith(style.theme === 'dark' ? '_indoor_dark' : '_indoor');
|
|
@@ -22103,7 +22227,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
22103
22227
|
styleVersion: definitions.version !== undefined && definitions.version !== null
|
|
22104
22228
|
? definitions.version
|
|
22105
22229
|
: _this.serviceOptions.styleDefinitionsVersion,
|
|
22106
|
-
// thus far we don't need to differentiate based on parameter here, as stylePatch will be called on cached styles as well
|
|
22230
|
+
// thus far we don't need to differentiate based on parameter here, as stylePatch will be called on cached styles as well
|
|
22107
22231
|
//language: styleOptions.language
|
|
22108
22232
|
// add MapControlVersion to make sure we have different local cache between map control versions
|
|
22109
22233
|
mcv: version.replace(/\./g, '')
|
|
@@ -22220,7 +22344,14 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
22220
22344
|
}
|
|
22221
22345
|
if (layer) {
|
|
22222
22346
|
var sourcesToCopy = new Set(Array.from(userLayer.layer._getSourceIds())
|
|
22223
|
-
.map(function (sourceId) {
|
|
22347
|
+
.map(function (sourceId) {
|
|
22348
|
+
// If source is already present in the target style, skip copy
|
|
22349
|
+
if (style.sources[sourceId]) {
|
|
22350
|
+
return undefined;
|
|
22351
|
+
}
|
|
22352
|
+
var source = previousStyle.sources[sourceId];
|
|
22353
|
+
return source ? { source: source, id: sourceId } : undefined;
|
|
22354
|
+
})
|
|
22224
22355
|
.filter(function (source) { return source !== undefined; }));
|
|
22225
22356
|
var insertIdx = beforeLayerId ? style.layers.findIndex(function (layer) { return layer.id === beforeLayerId; }) : -1;
|
|
22226
22357
|
if (insertIdx > -1) {
|
|
@@ -22256,7 +22387,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
22256
22387
|
// FIXME: below diffing will be soon fixed on the maplibre side
|
|
22257
22388
|
// If there was a previous styledata change event attached, remove it.
|
|
22258
22389
|
// When the sprite url changes between style changes then maplibre can't perform the diff
|
|
22259
|
-
// In such cases it recalculate the style again. Removing previous attached
|
|
22390
|
+
// In such cases it recalculate the style again. Removing previous attached
|
|
22260
22391
|
// event listener makes sure that style changed event is not fired twice in these cases.
|
|
22261
22392
|
_this.map.events.remove("styledata", styleDataCallback);
|
|
22262
22393
|
_this.map.events.addOnce("styledata", styleDataCallback);
|
|
@@ -22823,6 +22954,13 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
22823
22954
|
_this.controls.add(_this.copyrightControl, {
|
|
22824
22955
|
position: exports.ControlPosition.NonFixed
|
|
22825
22956
|
});
|
|
22957
|
+
// Add logo control to occupy the bottom left corner of the map.
|
|
22958
|
+
_this.logoControl = new LogoControl({
|
|
22959
|
+
showLogo: _this.styleOptions.showLogo
|
|
22960
|
+
});
|
|
22961
|
+
_this.controls.add(_this.logoControl, {
|
|
22962
|
+
position: exports.ControlPosition.BottomLeft
|
|
22963
|
+
});
|
|
22826
22964
|
// Initialize state of map
|
|
22827
22965
|
// --> Initialize the authentication manager
|
|
22828
22966
|
var authManInit = _this.authentication ?
|
|
@@ -23030,6 +23168,9 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
23030
23168
|
pitch: cameraOptions.pitch,
|
|
23031
23169
|
around: undefined
|
|
23032
23170
|
};
|
|
23171
|
+
if (cameraOptions.minZoom < 1) {
|
|
23172
|
+
console.warn("Setting minZoom below 1 may result in an empty map when the zoom level is less than 1.");
|
|
23173
|
+
}
|
|
23033
23174
|
this.map.setMinZoom(cameraOptions.minZoom);
|
|
23034
23175
|
this.map.setMaxZoom(cameraOptions.maxZoom);
|
|
23035
23176
|
if (cameraOptions.minPitch) {
|
|
@@ -23127,6 +23268,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
23127
23268
|
// Add or remove the logo if needed.
|
|
23128
23269
|
if (newOptions.showLogo !== this.styleOptions.showLogo) {
|
|
23129
23270
|
this.copyrightControl.setOptions({ showLogo: newOptions.showLogo });
|
|
23271
|
+
this.logoControl.setOptions({ showLogo: newOptions.showLogo });
|
|
23130
23272
|
}
|
|
23131
23273
|
// Update showing tile boundaries if needed.
|
|
23132
23274
|
if (newOptions.showTileBoundaries !== this.styleOptions.showTileBoundaries) {
|