azure-maps-control 3.2.1 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atlas-core-bare-snr-min.js +1 -1
- package/dist/atlas-core-bare-snr.js +295 -160
- package/dist/atlas-core-bare.js +295 -160
- package/dist/atlas-core-bare.min.js +1 -1
- package/dist/atlas-core-snr.js +295 -160
- package/dist/atlas-core.js +295 -160
- package/dist/atlas-core.min.js +1 -1
- package/dist/atlas-esm.js +295 -160
- package/dist/atlas-esm.min.js +3 -3
- package/dist/atlas.css +45 -6
- package/dist/atlas.js +295 -160
- package/dist/atlas.min.css +1 -1
- package/dist/atlas.min.js +1 -1
- package/package.json +3 -3
- package/typings/index.d.ts +11 -1
package/dist/atlas-core-bare.js
CHANGED
|
@@ -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$1l = (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$1l(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$2 = "3.
|
|
889
|
+
var version$2 = "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$1k = (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$1k(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$1j = (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$1j(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$1i = (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$1i(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$1h = (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$1h(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$1g = (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$1g(CompassControl, _super);
|
|
2216
2216
|
/**
|
|
2217
2217
|
* Constructs a CompassControl.
|
|
2218
2218
|
* @param options The options for the control.
|
|
@@ -2397,7 +2397,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2397
2397
|
return CompassControl;
|
|
2398
2398
|
}(ControlBase));
|
|
2399
2399
|
|
|
2400
|
-
var __extends$
|
|
2400
|
+
var __extends$1f = (window && window.__extends) || (function () {
|
|
2401
2401
|
var extendStatics = function (d, b) {
|
|
2402
2402
|
extendStatics = Object.setPrototypeOf ||
|
|
2403
2403
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -2416,7 +2416,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2416
2416
|
* The options for a PitchControl object.
|
|
2417
2417
|
*/
|
|
2418
2418
|
var PitchControlOptions = /** @class */ (function (_super) {
|
|
2419
|
-
__extends$
|
|
2419
|
+
__extends$1f(PitchControlOptions, _super);
|
|
2420
2420
|
function PitchControlOptions() {
|
|
2421
2421
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
2422
2422
|
/**
|
|
@@ -2441,7 +2441,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2441
2441
|
return PitchControlOptions;
|
|
2442
2442
|
}(Options));
|
|
2443
2443
|
|
|
2444
|
-
var __extends$
|
|
2444
|
+
var __extends$1e = (window && window.__extends) || (function () {
|
|
2445
2445
|
var extendStatics = function (d, b) {
|
|
2446
2446
|
extendStatics = Object.setPrototypeOf ||
|
|
2447
2447
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -2460,7 +2460,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2460
2460
|
* A control for changing the pitch of the map.
|
|
2461
2461
|
*/
|
|
2462
2462
|
var PitchControl = /** @class */ (function (_super) {
|
|
2463
|
-
__extends$
|
|
2463
|
+
__extends$1e(PitchControl, _super);
|
|
2464
2464
|
/**
|
|
2465
2465
|
* Constructs a PitchControl.
|
|
2466
2466
|
* @param options The options for the control.
|
|
@@ -2688,7 +2688,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2688
2688
|
return PitchControl;
|
|
2689
2689
|
}(ControlBase));
|
|
2690
2690
|
|
|
2691
|
-
var __extends$
|
|
2691
|
+
var __extends$1d = (window && window.__extends) || (function () {
|
|
2692
2692
|
var extendStatics = function (d, b) {
|
|
2693
2693
|
extendStatics = Object.setPrototypeOf ||
|
|
2694
2694
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -2707,7 +2707,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2707
2707
|
* A control to display a scale bar on the map.
|
|
2708
2708
|
*/
|
|
2709
2709
|
var ScaleControl = /** @class */ (function (_super) {
|
|
2710
|
-
__extends$
|
|
2710
|
+
__extends$1d(ScaleControl, _super);
|
|
2711
2711
|
/**
|
|
2712
2712
|
* A control to displays a scale bar relative to the pixel resolution at the center of the map.
|
|
2713
2713
|
* @param options Options for defining how the control is rendered and functions.
|
|
@@ -6225,7 +6225,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6225
6225
|
|
|
6226
6226
|
var merge$1 = /*@__PURE__*/getDefaultExportFromCjs(merge_1);
|
|
6227
6227
|
|
|
6228
|
-
var __extends$
|
|
6228
|
+
var __extends$1c = (window && window.__extends) || (function () {
|
|
6229
6229
|
var extendStatics = function (d, b) {
|
|
6230
6230
|
extendStatics = Object.setPrototypeOf ||
|
|
6231
6231
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -6244,7 +6244,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6244
6244
|
* The options for a StyleControl object.
|
|
6245
6245
|
*/
|
|
6246
6246
|
var StyleControlOptions = /** @class */ (function (_super) {
|
|
6247
|
-
__extends$
|
|
6247
|
+
__extends$1c(StyleControlOptions, _super);
|
|
6248
6248
|
function StyleControlOptions() {
|
|
6249
6249
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
6250
6250
|
/**
|
|
@@ -6289,7 +6289,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6289
6289
|
return StyleControlOptions;
|
|
6290
6290
|
}(Options));
|
|
6291
6291
|
|
|
6292
|
-
var __extends$
|
|
6292
|
+
var __extends$1b = (window && window.__extends) || (function () {
|
|
6293
6293
|
var extendStatics = function (d, b) {
|
|
6294
6294
|
extendStatics = Object.setPrototypeOf ||
|
|
6295
6295
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -6360,7 +6360,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6360
6360
|
* A control for changing the style of the map.
|
|
6361
6361
|
*/
|
|
6362
6362
|
var StyleControl = /** @class */ (function (_super) {
|
|
6363
|
-
__extends$
|
|
6363
|
+
__extends$1b(StyleControl, _super);
|
|
6364
6364
|
/**
|
|
6365
6365
|
* Constructs a StyleControl.
|
|
6366
6366
|
* @param options The options for the control.
|
|
@@ -6725,7 +6725,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6725
6725
|
return StyleControl;
|
|
6726
6726
|
}(ControlBase));
|
|
6727
6727
|
|
|
6728
|
-
var __extends$
|
|
6728
|
+
var __extends$1a = (window && window.__extends) || (function () {
|
|
6729
6729
|
var extendStatics = function (d, b) {
|
|
6730
6730
|
extendStatics = Object.setPrototypeOf ||
|
|
6731
6731
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -6744,7 +6744,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6744
6744
|
* The options for setting traffic on the map.
|
|
6745
6745
|
*/
|
|
6746
6746
|
var TrafficOptions = /** @class */ (function (_super) {
|
|
6747
|
-
__extends$
|
|
6747
|
+
__extends$1a(TrafficOptions, _super);
|
|
6748
6748
|
function TrafficOptions() {
|
|
6749
6749
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
6750
6750
|
/**
|
|
@@ -6769,7 +6769,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6769
6769
|
return TrafficOptions;
|
|
6770
6770
|
}(Options));
|
|
6771
6771
|
|
|
6772
|
-
var __extends$
|
|
6772
|
+
var __extends$19 = (window && window.__extends) || (function () {
|
|
6773
6773
|
var extendStatics = function (d, b) {
|
|
6774
6774
|
extendStatics = Object.setPrototypeOf ||
|
|
6775
6775
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -6788,7 +6788,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6788
6788
|
* The options for a TrafficControl object.
|
|
6789
6789
|
*/
|
|
6790
6790
|
var TrafficControlOptions = /** @class */ (function (_super) {
|
|
6791
|
-
__extends$
|
|
6791
|
+
__extends$19(TrafficControlOptions, _super);
|
|
6792
6792
|
function TrafficControlOptions() {
|
|
6793
6793
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
6794
6794
|
/**
|
|
@@ -6808,7 +6808,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6808
6808
|
return TrafficControlOptions;
|
|
6809
6809
|
}(TrafficOptions));
|
|
6810
6810
|
|
|
6811
|
-
var __extends$
|
|
6811
|
+
var __extends$18 = (window && window.__extends) || (function () {
|
|
6812
6812
|
var extendStatics = function (d, b) {
|
|
6813
6813
|
extendStatics = Object.setPrototypeOf ||
|
|
6814
6814
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -6827,7 +6827,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6827
6827
|
* A control that toggles traffic data on the map.
|
|
6828
6828
|
*/
|
|
6829
6829
|
var TrafficControl = /** @class */ (function (_super) {
|
|
6830
|
-
__extends$
|
|
6830
|
+
__extends$18(TrafficControl, _super);
|
|
6831
6831
|
/**
|
|
6832
6832
|
* Constructs a TrafficControl
|
|
6833
6833
|
* @param options The options for the control.
|
|
@@ -6954,7 +6954,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6954
6954
|
return TrafficControl;
|
|
6955
6955
|
}(ControlBase));
|
|
6956
6956
|
|
|
6957
|
-
var __extends$
|
|
6957
|
+
var __extends$17 = (window && window.__extends) || (function () {
|
|
6958
6958
|
var extendStatics = function (d, b) {
|
|
6959
6959
|
extendStatics = Object.setPrototypeOf ||
|
|
6960
6960
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -6984,7 +6984,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6984
6984
|
* A control that display traffic legend on the map.
|
|
6985
6985
|
*/
|
|
6986
6986
|
var TrafficLegendControl = /** @class */ (function (_super) {
|
|
6987
|
-
__extends$
|
|
6987
|
+
__extends$17(TrafficLegendControl, _super);
|
|
6988
6988
|
/**
|
|
6989
6989
|
* Construct a traffic legend control
|
|
6990
6990
|
*/
|
|
@@ -7718,7 +7718,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
7718
7718
|
return Feature;
|
|
7719
7719
|
}());
|
|
7720
7720
|
|
|
7721
|
-
var __extends$
|
|
7721
|
+
var __extends$16 = (window && window.__extends) || (function () {
|
|
7722
7722
|
var extendStatics = function (d, b) {
|
|
7723
7723
|
extendStatics = Object.setPrototypeOf ||
|
|
7724
7724
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -7737,7 +7737,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
7737
7737
|
* Represent a pixel coordinate or offset. Extends an array of [x, y].
|
|
7738
7738
|
*/
|
|
7739
7739
|
var Pixel = /** @class */ (function (_super) {
|
|
7740
|
-
__extends$
|
|
7740
|
+
__extends$16(Pixel, _super);
|
|
7741
7741
|
/**
|
|
7742
7742
|
* Constructs a Pixel object and initializes it with the specified x and y coordinates.
|
|
7743
7743
|
* @param x The horizontal pixel offset.
|
|
@@ -9957,7 +9957,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
9957
9957
|
return result;
|
|
9958
9958
|
}
|
|
9959
9959
|
|
|
9960
|
-
var __extends$
|
|
9960
|
+
var __extends$15 = (window && window.__extends) || (function () {
|
|
9961
9961
|
var extendStatics = function (d, b) {
|
|
9962
9962
|
extendStatics = Object.setPrototypeOf ||
|
|
9963
9963
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -9977,7 +9977,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
9977
9977
|
* full description is detailed in [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-3.1.1}.
|
|
9978
9978
|
*/
|
|
9979
9979
|
var Position = /** @class */ (function (_super) {
|
|
9980
|
-
__extends$
|
|
9980
|
+
__extends$15(Position, _super);
|
|
9981
9981
|
/**
|
|
9982
9982
|
* Constructs a Position.
|
|
9983
9983
|
* @param longitude The position's longitude.
|
|
@@ -10040,10 +10040,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10040
10040
|
Position.fromLatLng = function (y, x, z) {
|
|
10041
10041
|
var position = [];
|
|
10042
10042
|
if (typeof y === "number") {
|
|
10043
|
-
position.push(y);
|
|
10044
10043
|
if (typeof x === "number") {
|
|
10045
10044
|
position.push(x);
|
|
10046
10045
|
}
|
|
10046
|
+
position.push(y);
|
|
10047
10047
|
if (typeof z === "number") {
|
|
10048
10048
|
position.push(z);
|
|
10049
10049
|
}
|
|
@@ -10052,10 +10052,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10052
10052
|
// Assume array is in the form [lat, lng] or [lat, lng, elv]
|
|
10053
10053
|
if (y.length >= 2 && typeof y[0] === "number" && typeof y[1] === "number") {
|
|
10054
10054
|
if (y.length >= 3 && typeof y[2] === "number") {
|
|
10055
|
-
position.push(y[
|
|
10055
|
+
position.push(y[1], y[0], y[2]);
|
|
10056
10056
|
}
|
|
10057
10057
|
else {
|
|
10058
|
-
position.push(y[
|
|
10058
|
+
position.push(y[1], y[0]);
|
|
10059
10059
|
}
|
|
10060
10060
|
}
|
|
10061
10061
|
}
|
|
@@ -10169,7 +10169,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10169
10169
|
return Polygon;
|
|
10170
10170
|
}());
|
|
10171
10171
|
|
|
10172
|
-
var __extends$
|
|
10172
|
+
var __extends$14 = (window && window.__extends) || (function () {
|
|
10173
10173
|
var extendStatics = function (d, b) {
|
|
10174
10174
|
extendStatics = Object.setPrototypeOf ||
|
|
10175
10175
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -10199,7 +10199,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10199
10199
|
* A helper class that wraps a Geometry or Feature and makes it easy to update and maintain.
|
|
10200
10200
|
*/
|
|
10201
10201
|
var Shape = /** @class */ (function (_super) {
|
|
10202
|
-
__extends$
|
|
10202
|
+
__extends$14(Shape, _super);
|
|
10203
10203
|
function Shape(data, id, properties) {
|
|
10204
10204
|
var _this = _super.call(this) || this;
|
|
10205
10205
|
var geometry;
|
|
@@ -10495,7 +10495,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10495
10495
|
return Shape;
|
|
10496
10496
|
}(EventEmitter));
|
|
10497
10497
|
|
|
10498
|
-
var __extends$
|
|
10498
|
+
var __extends$13 = (window && window.__extends) || (function () {
|
|
10499
10499
|
var extendStatics = function (d, b) {
|
|
10500
10500
|
extendStatics = Object.setPrototypeOf ||
|
|
10501
10501
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -10528,7 +10528,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10528
10528
|
* [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-5}.
|
|
10529
10529
|
*/
|
|
10530
10530
|
var BoundingBox = /** @class */ (function (_super) {
|
|
10531
|
-
__extends$
|
|
10531
|
+
__extends$13(BoundingBox, _super);
|
|
10532
10532
|
function BoundingBox(southwestPositionOrPositions, northeastPosition) {
|
|
10533
10533
|
var _this = this;
|
|
10534
10534
|
if (southwestPositionOrPositions && northeastPosition) {
|
|
@@ -11245,7 +11245,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11245
11245
|
return MultiPolygon;
|
|
11246
11246
|
}());
|
|
11247
11247
|
|
|
11248
|
-
var __extends$
|
|
11248
|
+
var __extends$12 = (window && window.__extends) || (function () {
|
|
11249
11249
|
var extendStatics = function (d, b) {
|
|
11250
11250
|
extendStatics = Object.setPrototypeOf ||
|
|
11251
11251
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -11276,7 +11276,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11276
11276
|
* The `z` dimension of `MercatorPoint` is conformal. A cube in the mercator coordinate space would be rendered as a cube.
|
|
11277
11277
|
*/
|
|
11278
11278
|
var MercatorPoint = /** @class */ (function (_super) {
|
|
11279
|
-
__extends$
|
|
11279
|
+
__extends$12(MercatorPoint, _super);
|
|
11280
11280
|
/**
|
|
11281
11281
|
* Constructs a MercatorPoint.
|
|
11282
11282
|
* @param x A points x position in mercator units.
|
|
@@ -11765,7 +11765,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11765
11765
|
simplify: simplify
|
|
11766
11766
|
});
|
|
11767
11767
|
|
|
11768
|
-
var __extends
|
|
11768
|
+
var __extends$11 = (window && window.__extends) || (function () {
|
|
11769
11769
|
var extendStatics = function (d, b) {
|
|
11770
11770
|
extendStatics = Object.setPrototypeOf ||
|
|
11771
11771
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -11784,7 +11784,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11784
11784
|
* The options for a ZoomControl object.
|
|
11785
11785
|
*/
|
|
11786
11786
|
var ZoomControlOptions = /** @class */ (function (_super) {
|
|
11787
|
-
__extends
|
|
11787
|
+
__extends$11(ZoomControlOptions, _super);
|
|
11788
11788
|
function ZoomControlOptions() {
|
|
11789
11789
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
11790
11790
|
/**
|
|
@@ -11804,7 +11804,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11804
11804
|
return ZoomControlOptions;
|
|
11805
11805
|
}(Options));
|
|
11806
11806
|
|
|
11807
|
-
var __extends$
|
|
11807
|
+
var __extends$10 = (window && window.__extends) || (function () {
|
|
11808
11808
|
var extendStatics = function (d, b) {
|
|
11809
11809
|
extendStatics = Object.setPrototypeOf ||
|
|
11810
11810
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -11823,7 +11823,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11823
11823
|
* A control for changing the zoom of the map.
|
|
11824
11824
|
*/
|
|
11825
11825
|
var ZoomControl = /** @class */ (function (_super) {
|
|
11826
|
-
__extends$
|
|
11826
|
+
__extends$10(ZoomControl, _super);
|
|
11827
11827
|
/**
|
|
11828
11828
|
* Constructs a ZoomControl.
|
|
11829
11829
|
* @param options The options for the control.
|
|
@@ -12058,7 +12058,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12058
12058
|
return AccessibleIndicator;
|
|
12059
12059
|
}());
|
|
12060
12060
|
|
|
12061
|
-
var __extends
|
|
12061
|
+
var __extends$$ = (window && window.__extends) || (function () {
|
|
12062
12062
|
var extendStatics = function (d, b) {
|
|
12063
12063
|
extendStatics = Object.setPrototypeOf ||
|
|
12064
12064
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12080,7 +12080,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12080
12080
|
* @module Object Definitions
|
|
12081
12081
|
*/
|
|
12082
12082
|
var DataSourceOptions = /** @class */ (function (_super) {
|
|
12083
|
-
__extends
|
|
12083
|
+
__extends$$(DataSourceOptions, _super);
|
|
12084
12084
|
function DataSourceOptions() {
|
|
12085
12085
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
12086
12086
|
/*
|
|
@@ -12140,7 +12140,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12140
12140
|
*/
|
|
12141
12141
|
_this.generateId = false;
|
|
12142
12142
|
/**
|
|
12143
|
-
* 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>}`.
|
|
12144
12145
|
*/
|
|
12145
12146
|
_this.promoteId = undefined;
|
|
12146
12147
|
/**
|
|
@@ -12152,7 +12153,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12152
12153
|
return DataSourceOptions;
|
|
12153
12154
|
}(Options));
|
|
12154
12155
|
|
|
12155
|
-
var __extends$
|
|
12156
|
+
var __extends$_ = (window && window.__extends) || (function () {
|
|
12156
12157
|
var extendStatics = function (d, b) {
|
|
12157
12158
|
extendStatics = Object.setPrototypeOf ||
|
|
12158
12159
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12172,7 +12173,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12172
12173
|
* A source must be added to a layer before it is visible on the map.
|
|
12173
12174
|
*/
|
|
12174
12175
|
var Source = /** @class */ (function (_super) {
|
|
12175
|
-
__extends$
|
|
12176
|
+
__extends$_(Source, _super);
|
|
12176
12177
|
function Source(id) {
|
|
12177
12178
|
var _this = _super.call(this) || this;
|
|
12178
12179
|
_this.id = id || uuid();
|
|
@@ -12211,7 +12212,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12211
12212
|
return Source;
|
|
12212
12213
|
}(EventEmitter));
|
|
12213
12214
|
|
|
12214
|
-
var __extends$
|
|
12215
|
+
var __extends$Z = (window && window.__extends) || (function () {
|
|
12215
12216
|
var extendStatics = function (d, b) {
|
|
12216
12217
|
extendStatics = Object.setPrototypeOf ||
|
|
12217
12218
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12243,7 +12244,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12243
12244
|
* The DataSource class may be used with the SymbolLayer, LineLayer, PolygonLayer, BubbleLayer, and HeatMapLayer.
|
|
12244
12245
|
*/
|
|
12245
12246
|
var DataSource = /** @class */ (function (_super) {
|
|
12246
|
-
__extends$
|
|
12247
|
+
__extends$Z(DataSource, _super);
|
|
12247
12248
|
/**
|
|
12248
12249
|
* A data source class that makes it easy to manage shapes data that will be displayed on the map.
|
|
12249
12250
|
* A data source must be added to a layer before it is visible on the map.
|
|
@@ -12698,7 +12699,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12698
12699
|
return DataSource;
|
|
12699
12700
|
}(Source));
|
|
12700
12701
|
|
|
12701
|
-
var __extends$
|
|
12702
|
+
var __extends$Y = (window && window.__extends) || (function () {
|
|
12702
12703
|
var extendStatics = function (d, b) {
|
|
12703
12704
|
extendStatics = Object.setPrototypeOf ||
|
|
12704
12705
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12720,7 +12721,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12720
12721
|
* @module Object Definitions
|
|
12721
12722
|
*/
|
|
12722
12723
|
var VectorTileSourceOptions = /** @class */ (function (_super) {
|
|
12723
|
-
__extends$
|
|
12724
|
+
__extends$Y(VectorTileSourceOptions, _super);
|
|
12724
12725
|
function VectorTileSourceOptions() {
|
|
12725
12726
|
/*
|
|
12726
12727
|
* TODO:
|
|
@@ -12773,7 +12774,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12773
12774
|
return VectorTileSourceOptions;
|
|
12774
12775
|
}(Options));
|
|
12775
12776
|
|
|
12776
|
-
var __extends$
|
|
12777
|
+
var __extends$X = (window && window.__extends) || (function () {
|
|
12777
12778
|
var extendStatics = function (d, b) {
|
|
12778
12779
|
extendStatics = Object.setPrototypeOf ||
|
|
12779
12780
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12793,7 +12794,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12793
12794
|
* Vector tile sources can be used with; SymbolLayer, LineLayer, PolygonLayer, BubbleLayer, HeatmapLayer and VectorTileLayer.
|
|
12794
12795
|
*/
|
|
12795
12796
|
var VectorTileSource = /** @class */ (function (_super) {
|
|
12796
|
-
__extends$
|
|
12797
|
+
__extends$X(VectorTileSource, _super);
|
|
12797
12798
|
function VectorTileSource(id, options) {
|
|
12798
12799
|
var _this = _super.call(this, id) || this;
|
|
12799
12800
|
_this.options = new VectorTileSourceOptions().merge(cloneDeep$1(options));
|
|
@@ -12859,7 +12860,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12859
12860
|
return VectorTileSource;
|
|
12860
12861
|
}(Source));
|
|
12861
12862
|
|
|
12862
|
-
var __extends$
|
|
12863
|
+
var __extends$W = (window && window.__extends) || (function () {
|
|
12863
12864
|
var extendStatics = function (d, b) {
|
|
12864
12865
|
extendStatics = Object.setPrototypeOf ||
|
|
12865
12866
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12880,7 +12881,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12880
12881
|
* @private
|
|
12881
12882
|
*/
|
|
12882
12883
|
var CanvasSource = /** @class */ (function (_super) {
|
|
12883
|
-
__extends$
|
|
12884
|
+
__extends$W(CanvasSource, _super);
|
|
12884
12885
|
/**
|
|
12885
12886
|
* Constructs a source from the contents of a layer resource file.
|
|
12886
12887
|
* @param id The source's id.
|
|
@@ -12915,7 +12916,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12915
12916
|
return CanvasSource;
|
|
12916
12917
|
}(Source));
|
|
12917
12918
|
|
|
12918
|
-
var __extends$
|
|
12919
|
+
var __extends$V = (window && window.__extends) || (function () {
|
|
12919
12920
|
var extendStatics = function (d, b) {
|
|
12920
12921
|
extendStatics = Object.setPrototypeOf ||
|
|
12921
12922
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12936,7 +12937,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12936
12937
|
* @private
|
|
12937
12938
|
*/
|
|
12938
12939
|
var UnknownSource = /** @class */ (function (_super) {
|
|
12939
|
-
__extends$
|
|
12940
|
+
__extends$V(UnknownSource, _super);
|
|
12940
12941
|
/**
|
|
12941
12942
|
* Constructs a source from the contents of a layer resource file.
|
|
12942
12943
|
* @param id The source's id.
|
|
@@ -12968,7 +12969,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12968
12969
|
return UnknownSource;
|
|
12969
12970
|
}(Source));
|
|
12970
12971
|
|
|
12971
|
-
var __extends$
|
|
12972
|
+
var __extends$U = (window && window.__extends) || (function () {
|
|
12972
12973
|
var extendStatics = function (d, b) {
|
|
12973
12974
|
extendStatics = Object.setPrototypeOf ||
|
|
12974
12975
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12989,7 +12990,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12989
12990
|
* @private
|
|
12990
12991
|
*/
|
|
12991
12992
|
var ImageSource = /** @class */ (function (_super) {
|
|
12992
|
-
__extends$
|
|
12993
|
+
__extends$U(ImageSource, _super);
|
|
12993
12994
|
/**
|
|
12994
12995
|
* Constructs a source from the contents of a layer resource file.
|
|
12995
12996
|
* @param id The source's id.
|
|
@@ -13023,7 +13024,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13023
13024
|
return ImageSource;
|
|
13024
13025
|
}(Source));
|
|
13025
13026
|
|
|
13026
|
-
var __extends$
|
|
13027
|
+
var __extends$T = (window && window.__extends) || (function () {
|
|
13027
13028
|
var extendStatics = function (d, b) {
|
|
13028
13029
|
extendStatics = Object.setPrototypeOf ||
|
|
13029
13030
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13044,7 +13045,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13044
13045
|
* @private
|
|
13045
13046
|
*/
|
|
13046
13047
|
var VideoSource = /** @class */ (function (_super) {
|
|
13047
|
-
__extends$
|
|
13048
|
+
__extends$T(VideoSource, _super);
|
|
13048
13049
|
/**
|
|
13049
13050
|
* Constructs a source from the contents of a layer resource file.
|
|
13050
13051
|
* @param id The source's id.
|
|
@@ -13078,7 +13079,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13078
13079
|
return VideoSource;
|
|
13079
13080
|
}(Source));
|
|
13080
13081
|
|
|
13081
|
-
var __extends$
|
|
13082
|
+
var __extends$S = (window && window.__extends) || (function () {
|
|
13082
13083
|
var extendStatics = function (d, b) {
|
|
13083
13084
|
extendStatics = Object.setPrototypeOf ||
|
|
13084
13085
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13094,7 +13095,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13094
13095
|
};
|
|
13095
13096
|
})();
|
|
13096
13097
|
var RasterTileSourceOptions = /** @class */ (function (_super) {
|
|
13097
|
-
__extends$
|
|
13098
|
+
__extends$S(RasterTileSourceOptions, _super);
|
|
13098
13099
|
function RasterTileSourceOptions() {
|
|
13099
13100
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13100
13101
|
/**
|
|
@@ -13108,7 +13109,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13108
13109
|
return RasterTileSourceOptions;
|
|
13109
13110
|
}(VectorTileSourceOptions));
|
|
13110
13111
|
|
|
13111
|
-
var __extends$
|
|
13112
|
+
var __extends$R = (window && window.__extends) || (function () {
|
|
13112
13113
|
var extendStatics = function (d, b) {
|
|
13113
13114
|
extendStatics = Object.setPrototypeOf ||
|
|
13114
13115
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13124,7 +13125,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13124
13125
|
};
|
|
13125
13126
|
})();
|
|
13126
13127
|
var ElevationTileSourceOptions = /** @class */ (function (_super) {
|
|
13127
|
-
__extends$
|
|
13128
|
+
__extends$R(ElevationTileSourceOptions, _super);
|
|
13128
13129
|
function ElevationTileSourceOptions() {
|
|
13129
13130
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13130
13131
|
/**
|
|
@@ -13140,7 +13141,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13140
13141
|
return ElevationTileSourceOptions;
|
|
13141
13142
|
}(RasterTileSourceOptions));
|
|
13142
13143
|
|
|
13143
|
-
var __extends$
|
|
13144
|
+
var __extends$Q = (window && window.__extends) || (function () {
|
|
13144
13145
|
var extendStatics = function (d, b) {
|
|
13145
13146
|
extendStatics = Object.setPrototypeOf ||
|
|
13146
13147
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13170,7 +13171,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13170
13171
|
* Publicly exposed ElevationTileSource.
|
|
13171
13172
|
*/
|
|
13172
13173
|
var ElevationTileSource = /** @class */ (function (_super) {
|
|
13173
|
-
__extends$
|
|
13174
|
+
__extends$Q(ElevationTileSource, _super);
|
|
13174
13175
|
function ElevationTileSource(id, options) {
|
|
13175
13176
|
var _this = _super.call(this, id) || this;
|
|
13176
13177
|
_this.options = new ElevationTileSourceOptions().merge(cloneDeep$1(options));
|
|
@@ -13214,7 +13215,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13214
13215
|
VideoSource: VideoSource
|
|
13215
13216
|
});
|
|
13216
13217
|
|
|
13217
|
-
var __extends$
|
|
13218
|
+
var __extends$P = (window && window.__extends) || (function () {
|
|
13218
13219
|
var extendStatics = function (d, b) {
|
|
13219
13220
|
extendStatics = Object.setPrototypeOf ||
|
|
13220
13221
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13233,7 +13234,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13233
13234
|
* Abstract class for other layer classes to extend.
|
|
13234
13235
|
*/
|
|
13235
13236
|
var Layer = /** @class */ (function (_super) {
|
|
13236
|
-
__extends$
|
|
13237
|
+
__extends$P(Layer, _super);
|
|
13237
13238
|
function Layer(id) {
|
|
13238
13239
|
var _this =
|
|
13239
13240
|
// Assign an random id using a UUID if none was specified.
|
|
@@ -13340,7 +13341,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13340
13341
|
return Layer;
|
|
13341
13342
|
}(EventEmitter));
|
|
13342
13343
|
|
|
13343
|
-
var __extends$
|
|
13344
|
+
var __extends$O = (window && window.__extends) || (function () {
|
|
13344
13345
|
var extendStatics = function (d, b) {
|
|
13345
13346
|
extendStatics = Object.setPrototypeOf ||
|
|
13346
13347
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13359,7 +13360,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13359
13360
|
* A base class which all other layer options inherit from.
|
|
13360
13361
|
*/
|
|
13361
13362
|
var LayerOptions$1 = /** @class */ (function (_super) {
|
|
13362
|
-
__extends$
|
|
13363
|
+
__extends$O(LayerOptions, _super);
|
|
13363
13364
|
function LayerOptions() {
|
|
13364
13365
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13365
13366
|
/**
|
|
@@ -13406,7 +13407,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13406
13407
|
return LayerOptions;
|
|
13407
13408
|
}(Options));
|
|
13408
13409
|
|
|
13409
|
-
var __extends$
|
|
13410
|
+
var __extends$N = (window && window.__extends) || (function () {
|
|
13410
13411
|
var extendStatics = function (d, b) {
|
|
13411
13412
|
extendStatics = Object.setPrototypeOf ||
|
|
13412
13413
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13425,7 +13426,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13425
13426
|
* Options used when rendering Point objects in a BubbleLayer.
|
|
13426
13427
|
*/
|
|
13427
13428
|
var BubbleLayerOptions = /** @class */ (function (_super) {
|
|
13428
|
-
__extends$
|
|
13429
|
+
__extends$N(BubbleLayerOptions, _super);
|
|
13429
13430
|
function BubbleLayerOptions() {
|
|
13430
13431
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13431
13432
|
/**
|
|
@@ -13533,7 +13534,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13533
13534
|
return BubbleLayerOptions;
|
|
13534
13535
|
}(LayerOptions$1));
|
|
13535
13536
|
|
|
13536
|
-
var __extends$
|
|
13537
|
+
var __extends$M = (window && window.__extends) || (function () {
|
|
13537
13538
|
var extendStatics = function (d, b) {
|
|
13538
13539
|
extendStatics = Object.setPrototypeOf ||
|
|
13539
13540
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13613,7 +13614,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13613
13614
|
* Renders Point objects as scalable circles (bubbles).
|
|
13614
13615
|
*/
|
|
13615
13616
|
var BubbleLayer = /** @class */ (function (_super) {
|
|
13616
|
-
__extends$
|
|
13617
|
+
__extends$M(BubbleLayer, _super);
|
|
13617
13618
|
/**
|
|
13618
13619
|
* Constructs a new BubbleLayer.
|
|
13619
13620
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -13888,7 +13889,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13888
13889
|
return BubbleLayer;
|
|
13889
13890
|
}(Layer));
|
|
13890
13891
|
|
|
13891
|
-
var __extends$
|
|
13892
|
+
var __extends$L = (window && window.__extends) || (function () {
|
|
13892
13893
|
var extendStatics = function (d, b) {
|
|
13893
13894
|
extendStatics = Object.setPrototypeOf ||
|
|
13894
13895
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13907,7 +13908,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13907
13908
|
* Options used when rendering Point objects in a HeatMapLayer.
|
|
13908
13909
|
*/
|
|
13909
13910
|
var HeatMapLayerOptions = /** @class */ (function (_super) {
|
|
13910
|
-
__extends$
|
|
13911
|
+
__extends$L(HeatMapLayerOptions, _super);
|
|
13911
13912
|
function HeatMapLayerOptions() {
|
|
13912
13913
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13913
13914
|
/**
|
|
@@ -13974,7 +13975,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13974
13975
|
return HeatMapLayerOptions;
|
|
13975
13976
|
}(LayerOptions$1));
|
|
13976
13977
|
|
|
13977
|
-
var __extends$
|
|
13978
|
+
var __extends$K = (window && window.__extends) || (function () {
|
|
13978
13979
|
var extendStatics = function (d, b) {
|
|
13979
13980
|
extendStatics = Object.setPrototypeOf ||
|
|
13980
13981
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13993,7 +13994,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13993
13994
|
* Represent the density of data using different colors (HeatMap).
|
|
13994
13995
|
*/
|
|
13995
13996
|
var HeatMapLayer = /** @class */ (function (_super) {
|
|
13996
|
-
__extends$
|
|
13997
|
+
__extends$K(HeatMapLayer, _super);
|
|
13997
13998
|
/**
|
|
13998
13999
|
* Constructs a new HeatMapLayer.
|
|
13999
14000
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -14097,7 +14098,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14097
14098
|
return HeatMapLayer;
|
|
14098
14099
|
}(Layer));
|
|
14099
14100
|
|
|
14100
|
-
var __extends$
|
|
14101
|
+
var __extends$J = (window && window.__extends) || (function () {
|
|
14101
14102
|
var extendStatics = function (d, b) {
|
|
14102
14103
|
extendStatics = Object.setPrototypeOf ||
|
|
14103
14104
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14116,7 +14117,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14116
14117
|
* Options used when rendering canvas, image, raster tile, and video layers
|
|
14117
14118
|
*/
|
|
14118
14119
|
var MediaLayerOptions = /** @class */ (function (_super) {
|
|
14119
|
-
__extends$
|
|
14120
|
+
__extends$J(MediaLayerOptions, _super);
|
|
14120
14121
|
function MediaLayerOptions() {
|
|
14121
14122
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
14122
14123
|
/**
|
|
@@ -14168,7 +14169,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14168
14169
|
return MediaLayerOptions;
|
|
14169
14170
|
}(LayerOptions$1));
|
|
14170
14171
|
|
|
14171
|
-
var __extends$
|
|
14172
|
+
var __extends$I = (window && window.__extends) || (function () {
|
|
14172
14173
|
var extendStatics = function (d, b) {
|
|
14173
14174
|
extendStatics = Object.setPrototypeOf ||
|
|
14174
14175
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14187,7 +14188,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14187
14188
|
* Options used when rendering Point objects in a ImageLayer.
|
|
14188
14189
|
*/
|
|
14189
14190
|
var ImageLayerOptions = /** @class */ (function (_super) {
|
|
14190
|
-
__extends$
|
|
14191
|
+
__extends$I(ImageLayerOptions, _super);
|
|
14191
14192
|
function ImageLayerOptions() {
|
|
14192
14193
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
14193
14194
|
/**
|
|
@@ -14217,7 +14218,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14217
14218
|
return ImageLayerOptions;
|
|
14218
14219
|
}(MediaLayerOptions));
|
|
14219
14220
|
|
|
14220
|
-
var __extends$
|
|
14221
|
+
var __extends$H = (window && window.__extends) || (function () {
|
|
14221
14222
|
var extendStatics = function (d, b) {
|
|
14222
14223
|
extendStatics = Object.setPrototypeOf ||
|
|
14223
14224
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14237,7 +14238,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14237
14238
|
* @internal
|
|
14238
14239
|
*/
|
|
14239
14240
|
var SourceBuildingLayer = /** @class */ (function (_super) {
|
|
14240
|
-
__extends$
|
|
14241
|
+
__extends$H(SourceBuildingLayer, _super);
|
|
14241
14242
|
function SourceBuildingLayer() {
|
|
14242
14243
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
14243
14244
|
}
|
|
@@ -14255,7 +14256,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14255
14256
|
return SourceBuildingLayer;
|
|
14256
14257
|
}(Layer));
|
|
14257
14258
|
|
|
14258
|
-
var __extends$
|
|
14259
|
+
var __extends$G = (window && window.__extends) || (function () {
|
|
14259
14260
|
var extendStatics = function (d, b) {
|
|
14260
14261
|
extendStatics = Object.setPrototypeOf ||
|
|
14261
14262
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14274,7 +14275,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14274
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.
|
|
14275
14276
|
*/
|
|
14276
14277
|
var ImageLayer = /** @class */ (function (_super) {
|
|
14277
|
-
__extends$
|
|
14278
|
+
__extends$G(ImageLayer, _super);
|
|
14278
14279
|
/**
|
|
14279
14280
|
* Constructs a new ImageLayer.
|
|
14280
14281
|
* @param id The id of the layer. If not specified a random one will be generated.
|
|
@@ -14482,7 +14483,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14482
14483
|
return ImageLayer;
|
|
14483
14484
|
}(SourceBuildingLayer));
|
|
14484
14485
|
|
|
14485
|
-
var __extends$
|
|
14486
|
+
var __extends$F = (window && window.__extends) || (function () {
|
|
14486
14487
|
var extendStatics = function (d, b) {
|
|
14487
14488
|
extendStatics = Object.setPrototypeOf ||
|
|
14488
14489
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14502,7 +14503,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14502
14503
|
* LineString, MultiLineString, Polygon, and MultiPolygon objects in a line layer.
|
|
14503
14504
|
*/
|
|
14504
14505
|
var LineLayerOptions = /** @class */ (function (_super) {
|
|
14505
|
-
__extends$
|
|
14506
|
+
__extends$F(LineLayerOptions, _super);
|
|
14506
14507
|
function LineLayerOptions() {
|
|
14507
14508
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
14508
14509
|
/**
|
|
@@ -14602,7 +14603,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14602
14603
|
return LineLayerOptions;
|
|
14603
14604
|
}(LayerOptions$1));
|
|
14604
14605
|
|
|
14605
|
-
var __extends$
|
|
14606
|
+
var __extends$E = (window && window.__extends) || (function () {
|
|
14606
14607
|
var extendStatics = function (d, b) {
|
|
14607
14608
|
extendStatics = Object.setPrototypeOf ||
|
|
14608
14609
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14633,7 +14634,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14633
14634
|
* CirclePolygon, LineString, MultiLineString, Polygon, and MultiPolygon objects.
|
|
14634
14635
|
*/
|
|
14635
14636
|
var LineLayer = /** @class */ (function (_super) {
|
|
14636
|
-
__extends$
|
|
14637
|
+
__extends$E(LineLayer, _super);
|
|
14637
14638
|
/**
|
|
14638
14639
|
* Constructs a new LineLayer.
|
|
14639
14640
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -14724,7 +14725,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14724
14725
|
return LineLayer;
|
|
14725
14726
|
}(Layer));
|
|
14726
14727
|
|
|
14727
|
-
var __extends$
|
|
14728
|
+
var __extends$D = (window && window.__extends) || (function () {
|
|
14728
14729
|
var extendStatics = function (d, b) {
|
|
14729
14730
|
extendStatics = Object.setPrototypeOf ||
|
|
14730
14731
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14743,7 +14744,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14743
14744
|
* Options used when rendering `Polygon` and `MultiPolygon` objects in a `PolygonExtrusionLayer`.
|
|
14744
14745
|
*/
|
|
14745
14746
|
var PolygonExtrusionLayerOptions = /** @class */ (function (_super) {
|
|
14746
|
-
__extends$
|
|
14747
|
+
__extends$D(PolygonExtrusionLayerOptions, _super);
|
|
14747
14748
|
function PolygonExtrusionLayerOptions() {
|
|
14748
14749
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
14749
14750
|
/**
|
|
@@ -14816,7 +14817,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14816
14817
|
return PolygonExtrusionLayerOptions;
|
|
14817
14818
|
}(LayerOptions$1));
|
|
14818
14819
|
|
|
14819
|
-
var __extends$
|
|
14820
|
+
var __extends$C = (window && window.__extends) || (function () {
|
|
14820
14821
|
var extendStatics = function (d, b) {
|
|
14821
14822
|
extendStatics = Object.setPrototypeOf ||
|
|
14822
14823
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14846,7 +14847,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14846
14847
|
* Renders extruded filled `Polygon` and `MultiPolygon` objects on the map.
|
|
14847
14848
|
*/
|
|
14848
14849
|
var PolygonExtrusionLayer = /** @class */ (function (_super) {
|
|
14849
|
-
__extends$
|
|
14850
|
+
__extends$C(PolygonExtrusionLayer, _super);
|
|
14850
14851
|
/**
|
|
14851
14852
|
* Constructs a new PolygonExtrusionLayer.
|
|
14852
14853
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -14934,7 +14935,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14934
14935
|
return PolygonExtrusionLayer;
|
|
14935
14936
|
}(Layer));
|
|
14936
14937
|
|
|
14937
|
-
var __extends$
|
|
14938
|
+
var __extends$B = (window && window.__extends) || (function () {
|
|
14938
14939
|
var extendStatics = function (d, b) {
|
|
14939
14940
|
extendStatics = Object.setPrototypeOf ||
|
|
14940
14941
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14953,7 +14954,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14953
14954
|
* Options used when rendering Polygon and MultiPolygon objects in a PolygonLayer.
|
|
14954
14955
|
*/
|
|
14955
14956
|
var PolygonLayerOptions$1 = /** @class */ (function (_super) {
|
|
14956
|
-
__extends$
|
|
14957
|
+
__extends$B(PolygonLayerOptions, _super);
|
|
14957
14958
|
function PolygonLayerOptions() {
|
|
14958
14959
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
14959
14960
|
/**
|
|
@@ -14993,7 +14994,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14993
14994
|
return PolygonLayerOptions;
|
|
14994
14995
|
}(LayerOptions$1));
|
|
14995
14996
|
|
|
14996
|
-
var __extends$
|
|
14997
|
+
var __extends$A = (window && window.__extends) || (function () {
|
|
14997
14998
|
var extendStatics = function (d, b) {
|
|
14998
14999
|
extendStatics = Object.setPrototypeOf ||
|
|
14999
15000
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -15012,7 +15013,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15012
15013
|
* Renders filled Polygon and MultiPolygon objects on the map.
|
|
15013
15014
|
*/
|
|
15014
15015
|
var PolygonLayer = /** @class */ (function (_super) {
|
|
15015
|
-
__extends$
|
|
15016
|
+
__extends$A(PolygonLayer, _super);
|
|
15016
15017
|
/**
|
|
15017
15018
|
* Constructs a new PolygonLayer.
|
|
15018
15019
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -15122,7 +15123,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15122
15123
|
return PolygonLayer;
|
|
15123
15124
|
}(Layer));
|
|
15124
15125
|
|
|
15125
|
-
var __extends$
|
|
15126
|
+
var __extends$z = (window && window.__extends) || (function () {
|
|
15126
15127
|
var extendStatics = function (d, b) {
|
|
15127
15128
|
extendStatics = Object.setPrototypeOf ||
|
|
15128
15129
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -15141,7 +15142,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15141
15142
|
* Options used to customize the icons in a SymbolLayer
|
|
15142
15143
|
*/
|
|
15143
15144
|
var IconOptions = /** @class */ (function (_super) {
|
|
15144
|
-
__extends$
|
|
15145
|
+
__extends$z(IconOptions, _super);
|
|
15145
15146
|
function IconOptions() {
|
|
15146
15147
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
15147
15148
|
/**
|
|
@@ -15251,7 +15252,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15251
15252
|
return IconOptions;
|
|
15252
15253
|
}(Options));
|
|
15253
15254
|
|
|
15254
|
-
var __extends$
|
|
15255
|
+
var __extends$y = (window && window.__extends) || (function () {
|
|
15255
15256
|
var extendStatics = function (d, b) {
|
|
15256
15257
|
extendStatics = Object.setPrototypeOf ||
|
|
15257
15258
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -15270,7 +15271,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15270
15271
|
* Options used to customize the text in a SymbolLayer
|
|
15271
15272
|
*/
|
|
15272
15273
|
var TextOptions = /** @class */ (function (_super) {
|
|
15273
|
-
__extends$
|
|
15274
|
+
__extends$y(TextOptions, _super);
|
|
15274
15275
|
function TextOptions() {
|
|
15275
15276
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
15276
15277
|
/**
|
|
@@ -15450,7 +15451,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15450
15451
|
return TextOptions;
|
|
15451
15452
|
}(Options));
|
|
15452
15453
|
|
|
15453
|
-
var __extends$
|
|
15454
|
+
var __extends$x = (window && window.__extends) || (function () {
|
|
15454
15455
|
var extendStatics = function (d, b) {
|
|
15455
15456
|
extendStatics = Object.setPrototypeOf ||
|
|
15456
15457
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -15469,7 +15470,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15469
15470
|
* Options used when rendering geometries in a SymbolLayer.
|
|
15470
15471
|
*/
|
|
15471
15472
|
var SymbolLayerOptions = /** @class */ (function (_super) {
|
|
15472
|
-
__extends$
|
|
15473
|
+
__extends$x(SymbolLayerOptions, _super);
|
|
15473
15474
|
function SymbolLayerOptions() {
|
|
15474
15475
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
15475
15476
|
/**
|
|
@@ -15534,7 +15535,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15534
15535
|
return SymbolLayerOptions;
|
|
15535
15536
|
}(LayerOptions$1));
|
|
15536
15537
|
|
|
15537
|
-
var __extends$
|
|
15538
|
+
var __extends$w = (window && window.__extends) || (function () {
|
|
15538
15539
|
var extendStatics = function (d, b) {
|
|
15539
15540
|
extendStatics = Object.setPrototypeOf ||
|
|
15540
15541
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -15565,7 +15566,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15565
15566
|
* Symbols can also be created for line and polygon data as well.
|
|
15566
15567
|
*/
|
|
15567
15568
|
var SymbolLayer = /** @class */ (function (_super) {
|
|
15568
|
-
__extends$
|
|
15569
|
+
__extends$w(SymbolLayer, _super);
|
|
15569
15570
|
/**
|
|
15570
15571
|
* Constructs a new SymbolLayer.
|
|
15571
15572
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -15707,7 +15708,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15707
15708
|
return SymbolLayer;
|
|
15708
15709
|
}(Layer));
|
|
15709
15710
|
|
|
15710
|
-
var __extends$
|
|
15711
|
+
var __extends$v = (window && window.__extends) || (function () {
|
|
15711
15712
|
var extendStatics = function (d, b) {
|
|
15712
15713
|
extendStatics = Object.setPrototypeOf ||
|
|
15713
15714
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -15738,7 +15739,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15738
15739
|
* @private
|
|
15739
15740
|
*/
|
|
15740
15741
|
var FundamentalMapSource = /** @class */ (function (_super) {
|
|
15741
|
-
__extends$
|
|
15742
|
+
__extends$v(FundamentalMapSource, _super);
|
|
15742
15743
|
/**
|
|
15743
15744
|
* Constructs a source from the contents of a layer resource file.
|
|
15744
15745
|
* @param id The source's id.
|
|
@@ -15824,7 +15825,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15824
15825
|
return FundamentalMapSource;
|
|
15825
15826
|
}(Source));
|
|
15826
15827
|
|
|
15827
|
-
var __extends$
|
|
15828
|
+
var __extends$u = (window && window.__extends) || (function () {
|
|
15828
15829
|
var extendStatics = function (d, b) {
|
|
15829
15830
|
extendStatics = Object.setPrototypeOf ||
|
|
15830
15831
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -15843,7 +15844,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15843
15844
|
* Options used when rendering raster tiled images in a TileLayer.
|
|
15844
15845
|
*/
|
|
15845
15846
|
var TileLayerOptions = /** @class */ (function (_super) {
|
|
15846
|
-
__extends$
|
|
15847
|
+
__extends$u(TileLayerOptions, _super);
|
|
15847
15848
|
function TileLayerOptions() {
|
|
15848
15849
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
15849
15850
|
/**
|
|
@@ -15899,7 +15900,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15899
15900
|
return TileLayerOptions;
|
|
15900
15901
|
}(MediaLayerOptions));
|
|
15901
15902
|
|
|
15902
|
-
var __extends$
|
|
15903
|
+
var __extends$t = (window && window.__extends) || (function () {
|
|
15903
15904
|
var extendStatics = function (d, b) {
|
|
15904
15905
|
extendStatics = Object.setPrototypeOf ||
|
|
15905
15906
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -15940,7 +15941,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15940
15941
|
* Renders raster tiled images on top of the map tiles.
|
|
15941
15942
|
*/
|
|
15942
15943
|
var TileLayer = /** @class */ (function (_super) {
|
|
15943
|
-
__extends$
|
|
15944
|
+
__extends$t(TileLayer, _super);
|
|
15944
15945
|
/**
|
|
15945
15946
|
* Constructs a new TileLayer.
|
|
15946
15947
|
* @param options The options for the tile layer.
|
|
@@ -16093,7 +16094,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16093
16094
|
return TileLayer;
|
|
16094
16095
|
}(SourceBuildingLayer));
|
|
16095
16096
|
|
|
16096
|
-
var __extends$
|
|
16097
|
+
var __extends$s = (window && window.__extends) || (function () {
|
|
16097
16098
|
var extendStatics = function (d, b) {
|
|
16098
16099
|
extendStatics = Object.setPrototypeOf ||
|
|
16099
16100
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -16112,7 +16113,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16112
16113
|
* Options used to render graphics in a WebGLLayer.
|
|
16113
16114
|
*/
|
|
16114
16115
|
var WebGLLayerOptions = /** @class */ (function (_super) {
|
|
16115
|
-
__extends$
|
|
16116
|
+
__extends$s(WebGLLayerOptions, _super);
|
|
16116
16117
|
function WebGLLayerOptions() {
|
|
16117
16118
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
16118
16119
|
/**
|
|
@@ -16124,7 +16125,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16124
16125
|
return WebGLLayerOptions;
|
|
16125
16126
|
}(LayerOptions$1));
|
|
16126
16127
|
|
|
16127
|
-
var __extends$
|
|
16128
|
+
var __extends$r = (window && window.__extends) || (function () {
|
|
16128
16129
|
var extendStatics = function (d, b) {
|
|
16129
16130
|
extendStatics = Object.setPrototypeOf ||
|
|
16130
16131
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -16143,7 +16144,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16143
16144
|
* Enables custom rendering logic with access to the WebGL context of the map.
|
|
16144
16145
|
*/
|
|
16145
16146
|
var WebGLLayer = /** @class */ (function (_super) {
|
|
16146
|
-
__extends$
|
|
16147
|
+
__extends$r(WebGLLayer, _super);
|
|
16147
16148
|
/**
|
|
16148
16149
|
* Constructs a new WebGLLayer.
|
|
16149
16150
|
* @param id The id of the layer. If not specified a random one will be generated.
|
|
@@ -16376,7 +16377,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16376
16377
|
|
|
16377
16378
|
var isElement$1 = /*@__PURE__*/getDefaultExportFromCjs(isElement_1);
|
|
16378
16379
|
|
|
16379
|
-
var __extends$
|
|
16380
|
+
var __extends$q = (window && window.__extends) || (function () {
|
|
16380
16381
|
var extendStatics = function (d, b) {
|
|
16381
16382
|
extendStatics = Object.setPrototypeOf ||
|
|
16382
16383
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -16395,7 +16396,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16395
16396
|
* The options for a popup.
|
|
16396
16397
|
*/
|
|
16397
16398
|
var PopupOptions = /** @class */ (function (_super) {
|
|
16398
|
-
__extends$
|
|
16399
|
+
__extends$q(PopupOptions, _super);
|
|
16399
16400
|
function PopupOptions() {
|
|
16400
16401
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
16401
16402
|
/**
|
|
@@ -16464,7 +16465,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16464
16465
|
return PopupOptions;
|
|
16465
16466
|
}(Options));
|
|
16466
16467
|
|
|
16467
|
-
var __extends$
|
|
16468
|
+
var __extends$p = (window && window.__extends) || (function () {
|
|
16468
16469
|
var extendStatics = function (d, b) {
|
|
16469
16470
|
extendStatics = Object.setPrototypeOf ||
|
|
16470
16471
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -16499,7 +16500,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16499
16500
|
* An information window anchored at a specified position on a map.
|
|
16500
16501
|
*/
|
|
16501
16502
|
var Popup = /** @class */ (function (_super) {
|
|
16502
|
-
__extends$
|
|
16503
|
+
__extends$p(Popup, _super);
|
|
16503
16504
|
/**
|
|
16504
16505
|
* Constructs a Popup object and initializes it with the specified options.
|
|
16505
16506
|
* @param options The options for the popup.
|
|
@@ -16973,7 +16974,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16973
16974
|
return Popup;
|
|
16974
16975
|
}(EventEmitter));
|
|
16975
16976
|
|
|
16976
|
-
var __extends$
|
|
16977
|
+
var __extends$o = (window && window.__extends) || (function () {
|
|
16977
16978
|
var extendStatics = function (d, b) {
|
|
16978
16979
|
extendStatics = Object.setPrototypeOf ||
|
|
16979
16980
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -16992,7 +16993,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16992
16993
|
* Options for rendering an HtmlMarker object
|
|
16993
16994
|
*/
|
|
16994
16995
|
var HtmlMarkerOptions = /** @class */ (function (_super) {
|
|
16995
|
-
__extends$
|
|
16996
|
+
__extends$o(HtmlMarkerOptions, _super);
|
|
16996
16997
|
function HtmlMarkerOptions() {
|
|
16997
16998
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
16998
16999
|
/**
|
|
@@ -17070,7 +17071,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17070
17071
|
return HtmlMarkerOptions;
|
|
17071
17072
|
}(Options));
|
|
17072
17073
|
|
|
17073
|
-
var __extends$
|
|
17074
|
+
var __extends$n = (window && window.__extends) || (function () {
|
|
17074
17075
|
var extendStatics = function (d, b) {
|
|
17075
17076
|
extendStatics = Object.setPrototypeOf ||
|
|
17076
17077
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -17089,7 +17090,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17089
17090
|
* This class wraps an HTML element that can be displayed on the map.
|
|
17090
17091
|
*/
|
|
17091
17092
|
var HtmlMarker = /** @class */ (function (_super) {
|
|
17092
|
-
__extends$
|
|
17093
|
+
__extends$n(HtmlMarker, _super);
|
|
17093
17094
|
/**
|
|
17094
17095
|
* Constructs a new HtmlMarker.
|
|
17095
17096
|
* @param options The options for the HtmlMarker.
|
|
@@ -17388,7 +17389,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17388
17389
|
return Media;
|
|
17389
17390
|
}());
|
|
17390
17391
|
|
|
17391
|
-
var __extends$
|
|
17392
|
+
var __extends$m = (window && window.__extends) || (function () {
|
|
17392
17393
|
var extendStatics = function (d, b) {
|
|
17393
17394
|
extendStatics = Object.setPrototypeOf ||
|
|
17394
17395
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -17407,7 +17408,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17407
17408
|
* The options for a CopyrightControl object.
|
|
17408
17409
|
*/
|
|
17409
17410
|
var CopyrightControlOptions = /** @class */ (function (_super) {
|
|
17410
|
-
__extends$
|
|
17411
|
+
__extends$m(CopyrightControlOptions, _super);
|
|
17411
17412
|
function CopyrightControlOptions() {
|
|
17412
17413
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
17413
17414
|
/**
|
|
@@ -17436,7 +17437,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17436
17437
|
return CopyrightControlOptions;
|
|
17437
17438
|
}(Options));
|
|
17438
17439
|
|
|
17439
|
-
var __extends$
|
|
17440
|
+
var __extends$l = (window && window.__extends) || (function () {
|
|
17440
17441
|
var extendStatics = function (d, b) {
|
|
17441
17442
|
extendStatics = Object.setPrototypeOf ||
|
|
17442
17443
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -17455,7 +17456,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17455
17456
|
* @private
|
|
17456
17457
|
*/
|
|
17457
17458
|
var CopyrightControl = /** @class */ (function (_super) {
|
|
17458
|
-
__extends$
|
|
17459
|
+
__extends$l(CopyrightControl, _super);
|
|
17459
17460
|
function CopyrightControl(options) {
|
|
17460
17461
|
var _this = _super.call(this) || this;
|
|
17461
17462
|
_this.textAttribution = function (options) {
|
|
@@ -17477,13 +17478,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17477
17478
|
CopyrightControl.prototype.onAdd = function (map) {
|
|
17478
17479
|
this.map = map;
|
|
17479
17480
|
this.container = this.buildContainer(map, exports.ControlStyle.auto);
|
|
17480
|
-
this.container.className = "map-copyright";
|
|
17481
|
+
this.container.className = "map-copyright without-bg";
|
|
17481
17482
|
this.copyrightDiv = this.buildCopyrightDiv();
|
|
17482
17483
|
this.copyrightDiv.className = "azure-map-copyright";
|
|
17483
17484
|
this.container.appendChild(this.copyrightDiv);
|
|
17484
|
-
if (this.options.showLogo) {
|
|
17485
|
-
this.addRemoveLogo(true);
|
|
17486
|
-
}
|
|
17487
17485
|
if (this.options.showFeedbackLink) {
|
|
17488
17486
|
this.addRemoveFeedbackDiv(true);
|
|
17489
17487
|
}
|
|
@@ -17513,12 +17511,6 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17513
17511
|
}
|
|
17514
17512
|
this.options.copyrightContent = newOptions.copyrightContent;
|
|
17515
17513
|
}
|
|
17516
|
-
if (!newOptions.showLogo && this.logoAnchor) {
|
|
17517
|
-
this.addRemoveLogo(false);
|
|
17518
|
-
}
|
|
17519
|
-
else if (newOptions.showLogo && !this.logoAnchor) {
|
|
17520
|
-
this.addRemoveLogo(true);
|
|
17521
|
-
}
|
|
17522
17514
|
if (!newOptions.showFeedbackLink && this.feedbackAnchor) {
|
|
17523
17515
|
this.addRemoveFeedbackDiv(false);
|
|
17524
17516
|
}
|
|
@@ -17544,31 +17536,138 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17544
17536
|
var link = document.createElement("a");
|
|
17545
17537
|
link.setAttribute("alt", "Provide Map Data Feedback");
|
|
17546
17538
|
link.setAttribute("aria-label", "Provide Map Data Feedback");
|
|
17539
|
+
link.innerText = "Feedback";
|
|
17547
17540
|
link.href = CopyrightControl.feedbackLink;
|
|
17548
17541
|
link.target = "_blank";
|
|
17549
17542
|
link.rel = "noopener";
|
|
17550
|
-
link.className = "azure-map-feedback";
|
|
17543
|
+
link.className = "azure-map-feedback-text";
|
|
17551
17544
|
return link;
|
|
17552
17545
|
};
|
|
17553
17546
|
CopyrightControl.prototype.addRemoveFeedbackDiv = function (add) {
|
|
17554
17547
|
var _a, _b, _c, _d;
|
|
17555
17548
|
if (add) {
|
|
17556
17549
|
this.feedbackAnchor = this.buildFeedbackLink();
|
|
17557
|
-
this.
|
|
17550
|
+
this.feedbackTooltip = buildAccessibleTooltip("Provide Map Data Feedback");
|
|
17558
17551
|
this.container.appendChild(this.feedbackAnchor);
|
|
17559
|
-
this.container.appendChild(this.
|
|
17560
|
-
positionTooltip(this.
|
|
17552
|
+
this.container.appendChild(this.feedbackTooltip);
|
|
17553
|
+
positionTooltip(this.feedbackTooltip, this.feedbackAnchor);
|
|
17561
17554
|
(_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a.events) === null || _b === void 0 ? void 0 : _b.add("moveend", this.updateFeedbackLink);
|
|
17562
17555
|
}
|
|
17563
17556
|
else {
|
|
17564
17557
|
this.feedbackAnchor.remove();
|
|
17565
|
-
this.
|
|
17566
|
-
delete this.
|
|
17558
|
+
this.feedbackTooltip.remove();
|
|
17559
|
+
delete this.feedbackTooltip;
|
|
17567
17560
|
delete this.feedbackAnchor;
|
|
17568
17561
|
(_d = (_c = this.map) === null || _c === void 0 ? void 0 : _c.events) === null || _d === void 0 ? void 0 : _d.remove("moveend", this.updateFeedbackLink);
|
|
17569
17562
|
}
|
|
17570
17563
|
};
|
|
17571
|
-
CopyrightControl.
|
|
17564
|
+
CopyrightControl.feedbackLink = "https://aka.ms/azuremaps-feedback?feedbackep=UrlAzureMapsWebSdk";
|
|
17565
|
+
return CopyrightControl;
|
|
17566
|
+
}(ControlBase));
|
|
17567
|
+
|
|
17568
|
+
var __extends$k = (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$k(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$j = (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$j(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;
|
|
17572
17671
|
if (add) {
|
|
17573
17672
|
this.logoAnchor = document.createElement("a");
|
|
17574
17673
|
this.logoAnchor.className = "azure-map-logo";
|
|
@@ -17579,15 +17678,25 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17579
17678
|
this.logoTooltip = buildAccessibleTooltip("Visit azure.microsoft.com");
|
|
17580
17679
|
this.container.appendChild(this.logoTooltip);
|
|
17581
17680
|
positionTooltip(this.logoTooltip, this.logoAnchor);
|
|
17681
|
+
this._setVisiblity(true);
|
|
17582
17682
|
}
|
|
17583
17683
|
else {
|
|
17584
|
-
this.logoAnchor.remove();
|
|
17585
|
-
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();
|
|
17586
17686
|
delete this.logoAnchor;
|
|
17687
|
+
this._setVisiblity(false);
|
|
17587
17688
|
}
|
|
17588
17689
|
};
|
|
17589
|
-
|
|
17590
|
-
|
|
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;
|
|
17591
17700
|
}(ControlBase));
|
|
17592
17701
|
|
|
17593
17702
|
/**
|
|
@@ -42882,6 +42991,17 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
42882
42991
|
_this.layers = mbLayers;
|
|
42883
42992
|
return _this;
|
|
42884
42993
|
}
|
|
42994
|
+
/**
|
|
42995
|
+
* Gets the options of the layer.
|
|
42996
|
+
*/
|
|
42997
|
+
FundamentalMapLayer.prototype.getOptions = function () {
|
|
42998
|
+
return {};
|
|
42999
|
+
};
|
|
43000
|
+
/**
|
|
43001
|
+
* Sets the options of the layer.
|
|
43002
|
+
* @param options The new options of the layer.
|
|
43003
|
+
*/
|
|
43004
|
+
FundamentalMapLayer.prototype.setOptions = function (options) { return; };
|
|
42885
43005
|
/**
|
|
42886
43006
|
* @internal
|
|
42887
43007
|
*/
|
|
@@ -45743,7 +45863,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
45743
45863
|
if (!_this.indoorState) {
|
|
45744
45864
|
return !style.name.includes('indoor');
|
|
45745
45865
|
// NOTE: azure-maps-indoor prior to 2.0.7 will not pass theme auto
|
|
45746
|
-
// the IndoorModule will request getTheme() from StyleManager and will call StyleManager.setStyleSet(theme == 'dark ? 'indoor_dark' : 'indoor') as approperaite
|
|
45866
|
+
// the IndoorModule will request getTheme() from StyleManager and will call StyleManager.setStyleSet(theme == 'dark ? 'indoor_dark' : 'indoor') as approperaite
|
|
45747
45867
|
}
|
|
45748
45868
|
else if (_this.indoorState.theme === 'auto') {
|
|
45749
45869
|
return style.name.endsWith(style.theme === 'dark' ? '_indoor_dark' : '_indoor');
|
|
@@ -45768,7 +45888,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
45768
45888
|
styleVersion: definitions.version !== undefined && definitions.version !== null
|
|
45769
45889
|
? definitions.version
|
|
45770
45890
|
: _this.serviceOptions.styleDefinitionsVersion,
|
|
45771
|
-
// thus far we don't need to differentiate based on parameter here, as stylePatch will be called on cached styles as well
|
|
45891
|
+
// thus far we don't need to differentiate based on parameter here, as stylePatch will be called on cached styles as well
|
|
45772
45892
|
//language: styleOptions.language
|
|
45773
45893
|
// add MapControlVersion to make sure we have different local cache between map control versions
|
|
45774
45894
|
mcv: version$2.replace(/\./g, '')
|
|
@@ -45885,7 +46005,14 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
45885
46005
|
}
|
|
45886
46006
|
if (layer) {
|
|
45887
46007
|
var sourcesToCopy = new Set(Array.from(userLayer.layer._getSourceIds())
|
|
45888
|
-
.map(function (sourceId) {
|
|
46008
|
+
.map(function (sourceId) {
|
|
46009
|
+
// If source is already present in the target style, skip copy
|
|
46010
|
+
if (style.sources[sourceId]) {
|
|
46011
|
+
return undefined;
|
|
46012
|
+
}
|
|
46013
|
+
var source = previousStyle.sources[sourceId];
|
|
46014
|
+
return source ? { source: source, id: sourceId } : undefined;
|
|
46015
|
+
})
|
|
45889
46016
|
.filter(function (source) { return source !== undefined; }));
|
|
45890
46017
|
var insertIdx = beforeLayerId ? style.layers.findIndex(function (layer) { return layer.id === beforeLayerId; }) : -1;
|
|
45891
46018
|
if (insertIdx > -1) {
|
|
@@ -45921,7 +46048,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
45921
46048
|
// FIXME: below diffing will be soon fixed on the maplibre side
|
|
45922
46049
|
// If there was a previous styledata change event attached, remove it.
|
|
45923
46050
|
// When the sprite url changes between style changes then maplibre can't perform the diff
|
|
45924
|
-
// In such cases it recalculate the style again. Removing previous attached
|
|
46051
|
+
// In such cases it recalculate the style again. Removing previous attached
|
|
45925
46052
|
// event listener makes sure that style changed event is not fired twice in these cases.
|
|
45926
46053
|
_this.map.events.remove("styledata", styleDataCallback);
|
|
45927
46054
|
_this.map.events.addOnce("styledata", styleDataCallback);
|
|
@@ -46492,6 +46619,13 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
46492
46619
|
_this.controls.add(_this.copyrightControl, {
|
|
46493
46620
|
position: exports.ControlPosition.NonFixed
|
|
46494
46621
|
});
|
|
46622
|
+
// Add logo control to occupy the bottom left corner of the map.
|
|
46623
|
+
_this.logoControl = new LogoControl({
|
|
46624
|
+
showLogo: _this.styleOptions.showLogo
|
|
46625
|
+
});
|
|
46626
|
+
_this.controls.add(_this.logoControl, {
|
|
46627
|
+
position: exports.ControlPosition.BottomLeft
|
|
46628
|
+
});
|
|
46495
46629
|
// Initialize state of map
|
|
46496
46630
|
// --> Initialize the authentication manager
|
|
46497
46631
|
var authManInit = _this.authentication ?
|
|
@@ -46801,6 +46935,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
46801
46935
|
// Add or remove the logo if needed.
|
|
46802
46936
|
if (newOptions.showLogo !== this.styleOptions.showLogo) {
|
|
46803
46937
|
this.copyrightControl.setOptions({ showLogo: newOptions.showLogo });
|
|
46938
|
+
this.logoControl.setOptions({ showLogo: newOptions.showLogo });
|
|
46804
46939
|
}
|
|
46805
46940
|
// Update showing tile boundaries if needed.
|
|
46806
46941
|
if (newOptions.showTileBoundaries !== this.styleOptions.showTileBoundaries) {
|