azure-maps-control 2.3.5 → 2.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atlas-core-bare-snr.js +285 -197
- package/dist/atlas-core-bare.js +287 -199
- package/dist/atlas-core-bare.min.js +1 -1
- package/dist/atlas-core-snr.js +285 -197
- package/dist/atlas-core.js +287 -199
- package/dist/atlas-core.min.js +1 -1
- package/dist/atlas.css +3 -2
- package/dist/atlas.js +287 -199
- package/dist/atlas.min.css +1 -1
- package/dist/atlas.min.js +1 -1
- package/package.json +1 -1
- package/typings/index.d.ts +81 -3
|
@@ -265,7 +265,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
265
265
|
return Url;
|
|
266
266
|
}());
|
|
267
267
|
|
|
268
|
-
var version = "2.3.
|
|
268
|
+
var version = "2.3.7";
|
|
269
269
|
|
|
270
270
|
/**
|
|
271
271
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -1184,6 +1184,74 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
1184
1184
|
return PitchControl;
|
|
1185
1185
|
}(ControlBase));
|
|
1186
1186
|
|
|
1187
|
+
var __extends$7 = (window && window.__extends) || (function () {
|
|
1188
|
+
var extendStatics = function (d, b) {
|
|
1189
|
+
extendStatics = Object.setPrototypeOf ||
|
|
1190
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
1191
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
1192
|
+
return extendStatics(d, b);
|
|
1193
|
+
};
|
|
1194
|
+
return function (d, b) {
|
|
1195
|
+
if (typeof b !== "function" && b !== null)
|
|
1196
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
1197
|
+
extendStatics(d, b);
|
|
1198
|
+
function __() { this.constructor = d; }
|
|
1199
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1200
|
+
};
|
|
1201
|
+
})();
|
|
1202
|
+
/**
|
|
1203
|
+
* A control to display a scale bar on the map.
|
|
1204
|
+
*/
|
|
1205
|
+
var ScaleControl = /** @class */ (function (_super) {
|
|
1206
|
+
__extends$7(ScaleControl, _super);
|
|
1207
|
+
/**
|
|
1208
|
+
* A control to displays a scale bar relative to the pixel resolution at the center of the map.
|
|
1209
|
+
* @param options Options for defining how the control is rendered and functions.
|
|
1210
|
+
*/
|
|
1211
|
+
function ScaleControl(options) {
|
|
1212
|
+
var _this = _super.call(this) || this;
|
|
1213
|
+
_this.map = null;
|
|
1214
|
+
_this.control = new mapboxgl__default.ScaleControl({
|
|
1215
|
+
maxWidth: options === null || options === void 0 ? void 0 : options.maxWidth,
|
|
1216
|
+
unit: options === null || options === void 0 ? void 0 : options.unit
|
|
1217
|
+
});
|
|
1218
|
+
return _this;
|
|
1219
|
+
}
|
|
1220
|
+
/**
|
|
1221
|
+
* Initialization method for the control which is called when added to the map.
|
|
1222
|
+
* @param map The map that the control will be added to.
|
|
1223
|
+
* @param options The ControlOptions for this control.
|
|
1224
|
+
* @return An HTMLElement to be placed on the map for the control.
|
|
1225
|
+
*/
|
|
1226
|
+
ScaleControl.prototype.onAdd = function (map, options) {
|
|
1227
|
+
var _a, _b, _c;
|
|
1228
|
+
this.map = map;
|
|
1229
|
+
(_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a._getMap()) === null || _b === void 0 ? void 0 : _b.addControl(this.control);
|
|
1230
|
+
var container = this.buildContainer(map, exports.ControlStyle.auto, "Scale Bar");
|
|
1231
|
+
container.appendChild((_c = this.control) === null || _c === void 0 ? void 0 : _c._container);
|
|
1232
|
+
return container;
|
|
1233
|
+
};
|
|
1234
|
+
/**
|
|
1235
|
+
* Method that is called when the control is removed from the map. Should perform any necessary cleanup for the
|
|
1236
|
+
* control.
|
|
1237
|
+
*/
|
|
1238
|
+
ScaleControl.prototype.onRemove = function () {
|
|
1239
|
+
var _a, _b;
|
|
1240
|
+
_super.prototype.onRemove.call(this);
|
|
1241
|
+
(_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a._getMap()) === null || _b === void 0 ? void 0 : _b.removeControl(this.control);
|
|
1242
|
+
this.map = null;
|
|
1243
|
+
};
|
|
1244
|
+
/**
|
|
1245
|
+
* Set the scale's unit of the distance
|
|
1246
|
+
* @param unit - Unit of the distance (`"imperial"`, `"metric"` or `"nautical"`).
|
|
1247
|
+
*/
|
|
1248
|
+
ScaleControl.prototype.setUnit = function (unit) {
|
|
1249
|
+
var _a;
|
|
1250
|
+
(_a = this.control) === null || _a === void 0 ? void 0 : _a.setUnit(unit);
|
|
1251
|
+
};
|
|
1252
|
+
return ScaleControl;
|
|
1253
|
+
}(ControlBase));
|
|
1254
|
+
|
|
1187
1255
|
/**
|
|
1188
1256
|
* Removes all key-value entries from the list cache.
|
|
1189
1257
|
*
|
|
@@ -4286,7 +4354,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
4286
4354
|
|
|
4287
4355
|
var merge_1 = merge;
|
|
4288
4356
|
|
|
4289
|
-
var __extends$
|
|
4357
|
+
var __extends$8 = (window && window.__extends) || (function () {
|
|
4290
4358
|
var extendStatics = function (d, b) {
|
|
4291
4359
|
extendStatics = Object.setPrototypeOf ||
|
|
4292
4360
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -4305,7 +4373,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
4305
4373
|
* The options for a StyleControl object.
|
|
4306
4374
|
*/
|
|
4307
4375
|
var StyleControlOptions = /** @class */ (function (_super) {
|
|
4308
|
-
__extends$
|
|
4376
|
+
__extends$8(StyleControlOptions, _super);
|
|
4309
4377
|
function StyleControlOptions() {
|
|
4310
4378
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
4311
4379
|
/**
|
|
@@ -4350,7 +4418,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
4350
4418
|
return StyleControlOptions;
|
|
4351
4419
|
}(Options));
|
|
4352
4420
|
|
|
4353
|
-
var __extends$
|
|
4421
|
+
var __extends$9 = (window && window.__extends) || (function () {
|
|
4354
4422
|
var extendStatics = function (d, b) {
|
|
4355
4423
|
extendStatics = Object.setPrototypeOf ||
|
|
4356
4424
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -4421,7 +4489,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
4421
4489
|
* A control for changing the style of the map.
|
|
4422
4490
|
*/
|
|
4423
4491
|
var StyleControl = /** @class */ (function (_super) {
|
|
4424
|
-
__extends$
|
|
4492
|
+
__extends$9(StyleControl, _super);
|
|
4425
4493
|
/**
|
|
4426
4494
|
* Constructs a StyleControl.
|
|
4427
4495
|
* @param options The options for the control.
|
|
@@ -4780,7 +4848,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
4780
4848
|
return StyleControl;
|
|
4781
4849
|
}(ControlBase));
|
|
4782
4850
|
|
|
4783
|
-
var __extends$
|
|
4851
|
+
var __extends$a = (window && window.__extends) || (function () {
|
|
4784
4852
|
var extendStatics = function (d, b) {
|
|
4785
4853
|
extendStatics = Object.setPrototypeOf ||
|
|
4786
4854
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -4799,7 +4867,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
4799
4867
|
* The options for setting traffic on the map.
|
|
4800
4868
|
*/
|
|
4801
4869
|
var TrafficOptions = /** @class */ (function (_super) {
|
|
4802
|
-
__extends$
|
|
4870
|
+
__extends$a(TrafficOptions, _super);
|
|
4803
4871
|
function TrafficOptions() {
|
|
4804
4872
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
4805
4873
|
/**
|
|
@@ -4824,7 +4892,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
4824
4892
|
return TrafficOptions;
|
|
4825
4893
|
}(Options));
|
|
4826
4894
|
|
|
4827
|
-
var __extends$
|
|
4895
|
+
var __extends$b = (window && window.__extends) || (function () {
|
|
4828
4896
|
var extendStatics = function (d, b) {
|
|
4829
4897
|
extendStatics = Object.setPrototypeOf ||
|
|
4830
4898
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -4843,7 +4911,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
4843
4911
|
* The options for a TrafficControl object.
|
|
4844
4912
|
*/
|
|
4845
4913
|
var TrafficControlOptions = /** @class */ (function (_super) {
|
|
4846
|
-
__extends$
|
|
4914
|
+
__extends$b(TrafficControlOptions, _super);
|
|
4847
4915
|
function TrafficControlOptions() {
|
|
4848
4916
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
4849
4917
|
/**
|
|
@@ -4863,7 +4931,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
4863
4931
|
return TrafficControlOptions;
|
|
4864
4932
|
}(TrafficOptions));
|
|
4865
4933
|
|
|
4866
|
-
var __extends$
|
|
4934
|
+
var __extends$c = (window && window.__extends) || (function () {
|
|
4867
4935
|
var extendStatics = function (d, b) {
|
|
4868
4936
|
extendStatics = Object.setPrototypeOf ||
|
|
4869
4937
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -4882,7 +4950,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
4882
4950
|
* A control that toggles traffic data on the map.
|
|
4883
4951
|
*/
|
|
4884
4952
|
var TrafficControl = /** @class */ (function (_super) {
|
|
4885
|
-
__extends$
|
|
4953
|
+
__extends$c(TrafficControl, _super);
|
|
4886
4954
|
/**
|
|
4887
4955
|
* Constructs a TrafficControl
|
|
4888
4956
|
* @param options The options for the control.
|
|
@@ -5006,7 +5074,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
5006
5074
|
return TrafficControl;
|
|
5007
5075
|
}(ControlBase));
|
|
5008
5076
|
|
|
5009
|
-
var __extends$
|
|
5077
|
+
var __extends$d = (window && window.__extends) || (function () {
|
|
5010
5078
|
var extendStatics = function (d, b) {
|
|
5011
5079
|
extendStatics = Object.setPrototypeOf ||
|
|
5012
5080
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -5036,7 +5104,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
5036
5104
|
* A control that display traffic legend on the map.
|
|
5037
5105
|
*/
|
|
5038
5106
|
var TrafficLegendControl = /** @class */ (function (_super) {
|
|
5039
|
-
__extends$
|
|
5107
|
+
__extends$d(TrafficLegendControl, _super);
|
|
5040
5108
|
/**
|
|
5041
5109
|
* Construct a traffic legend control
|
|
5042
5110
|
*/
|
|
@@ -5856,7 +5924,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
5856
5924
|
return Feature;
|
|
5857
5925
|
}());
|
|
5858
5926
|
|
|
5859
|
-
var __extends$
|
|
5927
|
+
var __extends$e = (window && window.__extends) || (function () {
|
|
5860
5928
|
var extendStatics = function (d, b) {
|
|
5861
5929
|
extendStatics = Object.setPrototypeOf ||
|
|
5862
5930
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -5875,7 +5943,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
5875
5943
|
* Represent a pixel coordinate or offset. Extends an array of [x, y].
|
|
5876
5944
|
*/
|
|
5877
5945
|
var Pixel = /** @class */ (function (_super) {
|
|
5878
|
-
__extends$
|
|
5946
|
+
__extends$e(Pixel, _super);
|
|
5879
5947
|
/**
|
|
5880
5948
|
* Constructs a Pixel object and initializes it with the specified x and y coordinates.
|
|
5881
5949
|
* @param x The horizontal pixel offset.
|
|
@@ -8095,7 +8163,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
8095
8163
|
return result;
|
|
8096
8164
|
}
|
|
8097
8165
|
|
|
8098
|
-
var __extends$
|
|
8166
|
+
var __extends$f = (window && window.__extends) || (function () {
|
|
8099
8167
|
var extendStatics = function (d, b) {
|
|
8100
8168
|
extendStatics = Object.setPrototypeOf ||
|
|
8101
8169
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -8115,7 +8183,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
8115
8183
|
* full description is detailed in [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-3.1.1}.
|
|
8116
8184
|
*/
|
|
8117
8185
|
var Position = /** @class */ (function (_super) {
|
|
8118
|
-
__extends$
|
|
8186
|
+
__extends$f(Position, _super);
|
|
8119
8187
|
/**
|
|
8120
8188
|
* Constructs a Position.
|
|
8121
8189
|
* @param longitude The position's longitude.
|
|
@@ -8307,7 +8375,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
8307
8375
|
return Polygon;
|
|
8308
8376
|
}());
|
|
8309
8377
|
|
|
8310
|
-
var __extends$
|
|
8378
|
+
var __extends$g = (window && window.__extends) || (function () {
|
|
8311
8379
|
var extendStatics = function (d, b) {
|
|
8312
8380
|
extendStatics = Object.setPrototypeOf ||
|
|
8313
8381
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -8337,7 +8405,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
8337
8405
|
* A helper class that wraps a Geometry or Feature and makes it easy to update and maintain.
|
|
8338
8406
|
*/
|
|
8339
8407
|
var Shape = /** @class */ (function (_super) {
|
|
8340
|
-
__extends$
|
|
8408
|
+
__extends$g(Shape, _super);
|
|
8341
8409
|
function Shape(data, id, properties) {
|
|
8342
8410
|
var _this = _super.call(this) || this;
|
|
8343
8411
|
var geometry;
|
|
@@ -8633,7 +8701,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
8633
8701
|
return Shape;
|
|
8634
8702
|
}(EventEmitter));
|
|
8635
8703
|
|
|
8636
|
-
var __extends$
|
|
8704
|
+
var __extends$h = (window && window.__extends) || (function () {
|
|
8637
8705
|
var extendStatics = function (d, b) {
|
|
8638
8706
|
extendStatics = Object.setPrototypeOf ||
|
|
8639
8707
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -8666,7 +8734,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
8666
8734
|
* [RFC 7946]{@link https://tools.ietf.org/html/rfc7946#section-5}.
|
|
8667
8735
|
*/
|
|
8668
8736
|
var BoundingBox = /** @class */ (function (_super) {
|
|
8669
|
-
__extends$
|
|
8737
|
+
__extends$h(BoundingBox, _super);
|
|
8670
8738
|
function BoundingBox(southwestPositionOrPositions, northeastPosition) {
|
|
8671
8739
|
var _this = this;
|
|
8672
8740
|
if (southwestPositionOrPositions && northeastPosition) {
|
|
@@ -9383,7 +9451,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
9383
9451
|
return MultiPolygon;
|
|
9384
9452
|
}());
|
|
9385
9453
|
|
|
9386
|
-
var __extends$
|
|
9454
|
+
var __extends$i = (window && window.__extends) || (function () {
|
|
9387
9455
|
var extendStatics = function (d, b) {
|
|
9388
9456
|
extendStatics = Object.setPrototypeOf ||
|
|
9389
9457
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -9414,7 +9482,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
9414
9482
|
* The `z` dimension of `MercatorPoint` is conformal. A cube in the mercator coordinate space would be rendered as a cube.
|
|
9415
9483
|
*/
|
|
9416
9484
|
var MercatorPoint = /** @class */ (function (_super) {
|
|
9417
|
-
__extends$
|
|
9485
|
+
__extends$i(MercatorPoint, _super);
|
|
9418
9486
|
/**
|
|
9419
9487
|
* Constructs a MercatorPoint.
|
|
9420
9488
|
* @param x A points x position in mercator units.
|
|
@@ -9913,7 +9981,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
9913
9981
|
simplify: simplify
|
|
9914
9982
|
});
|
|
9915
9983
|
|
|
9916
|
-
var __extends$
|
|
9984
|
+
var __extends$j = (window && window.__extends) || (function () {
|
|
9917
9985
|
var extendStatics = function (d, b) {
|
|
9918
9986
|
extendStatics = Object.setPrototypeOf ||
|
|
9919
9987
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -9932,7 +10000,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
9932
10000
|
* The options for a ZoomControl object.
|
|
9933
10001
|
*/
|
|
9934
10002
|
var ZoomControlOptions = /** @class */ (function (_super) {
|
|
9935
|
-
__extends$
|
|
10003
|
+
__extends$j(ZoomControlOptions, _super);
|
|
9936
10004
|
function ZoomControlOptions() {
|
|
9937
10005
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
9938
10006
|
/**
|
|
@@ -9952,7 +10020,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
9952
10020
|
return ZoomControlOptions;
|
|
9953
10021
|
}(Options));
|
|
9954
10022
|
|
|
9955
|
-
var __extends$
|
|
10023
|
+
var __extends$k = (window && window.__extends) || (function () {
|
|
9956
10024
|
var extendStatics = function (d, b) {
|
|
9957
10025
|
extendStatics = Object.setPrototypeOf ||
|
|
9958
10026
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -9971,7 +10039,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
9971
10039
|
* A control for changing the zoom of the map.
|
|
9972
10040
|
*/
|
|
9973
10041
|
var ZoomControl = /** @class */ (function (_super) {
|
|
9974
|
-
__extends$
|
|
10042
|
+
__extends$k(ZoomControl, _super);
|
|
9975
10043
|
/**
|
|
9976
10044
|
* Constructs a ZoomControl.
|
|
9977
10045
|
* @param options The options for the control.
|
|
@@ -10093,6 +10161,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10093
10161
|
PitchControl: PitchControl,
|
|
10094
10162
|
CompassControl: CompassControl,
|
|
10095
10163
|
ZoomControl: ZoomControl,
|
|
10164
|
+
ScaleControl: ScaleControl,
|
|
10096
10165
|
StyleControl: StyleControl,
|
|
10097
10166
|
TrafficControl: TrafficControl,
|
|
10098
10167
|
TrafficLegendControl: TrafficLegendControl
|
|
@@ -10203,7 +10272,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10203
10272
|
return AccessibleIndicator;
|
|
10204
10273
|
}());
|
|
10205
10274
|
|
|
10206
|
-
var __extends$
|
|
10275
|
+
var __extends$l = (window && window.__extends) || (function () {
|
|
10207
10276
|
var extendStatics = function (d, b) {
|
|
10208
10277
|
extendStatics = Object.setPrototypeOf ||
|
|
10209
10278
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -10225,7 +10294,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10225
10294
|
* @module Object Definitions
|
|
10226
10295
|
*/
|
|
10227
10296
|
var DataSourceOptions = /** @class */ (function (_super) {
|
|
10228
|
-
__extends$
|
|
10297
|
+
__extends$l(DataSourceOptions, _super);
|
|
10229
10298
|
function DataSourceOptions() {
|
|
10230
10299
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
10231
10300
|
/*
|
|
@@ -10280,7 +10349,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10280
10349
|
return DataSourceOptions;
|
|
10281
10350
|
}(Options));
|
|
10282
10351
|
|
|
10283
|
-
var __extends$
|
|
10352
|
+
var __extends$m = (window && window.__extends) || (function () {
|
|
10284
10353
|
var extendStatics = function (d, b) {
|
|
10285
10354
|
extendStatics = Object.setPrototypeOf ||
|
|
10286
10355
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -10300,7 +10369,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10300
10369
|
* A source must be added to a layer before it is visible on the map.
|
|
10301
10370
|
*/
|
|
10302
10371
|
var Source = /** @class */ (function (_super) {
|
|
10303
|
-
__extends$
|
|
10372
|
+
__extends$m(Source, _super);
|
|
10304
10373
|
function Source(id) {
|
|
10305
10374
|
var _this = _super.call(this) || this;
|
|
10306
10375
|
_this.id = id || uuidRandom();
|
|
@@ -10339,7 +10408,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10339
10408
|
return Source;
|
|
10340
10409
|
}(EventEmitter));
|
|
10341
10410
|
|
|
10342
|
-
var __extends$
|
|
10411
|
+
var __extends$n = (window && window.__extends) || (function () {
|
|
10343
10412
|
var extendStatics = function (d, b) {
|
|
10344
10413
|
extendStatics = Object.setPrototypeOf ||
|
|
10345
10414
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -10371,7 +10440,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10371
10440
|
* The DataSource class may be used with the SymbolLayer, LineLayer, PolygonLayer, BubbleLayer, and HeatMapLayer.
|
|
10372
10441
|
*/
|
|
10373
10442
|
var DataSource = /** @class */ (function (_super) {
|
|
10374
|
-
__extends$
|
|
10443
|
+
__extends$n(DataSource, _super);
|
|
10375
10444
|
/**
|
|
10376
10445
|
* A data source class that makes it easy to manage shapes data that will be displayed on the map.
|
|
10377
10446
|
* A data source must be added to a layer before it is visible on the map.
|
|
@@ -10818,7 +10887,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10818
10887
|
return DataSource;
|
|
10819
10888
|
}(Source));
|
|
10820
10889
|
|
|
10821
|
-
var __extends$
|
|
10890
|
+
var __extends$o = (window && window.__extends) || (function () {
|
|
10822
10891
|
var extendStatics = function (d, b) {
|
|
10823
10892
|
extendStatics = Object.setPrototypeOf ||
|
|
10824
10893
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -10840,7 +10909,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10840
10909
|
* @module Object Definitions
|
|
10841
10910
|
*/
|
|
10842
10911
|
var VectorTileSourceOptions = /** @class */ (function (_super) {
|
|
10843
|
-
__extends$
|
|
10912
|
+
__extends$o(VectorTileSourceOptions, _super);
|
|
10844
10913
|
function VectorTileSourceOptions() {
|
|
10845
10914
|
/*
|
|
10846
10915
|
* TODO:
|
|
@@ -10893,7 +10962,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10893
10962
|
return VectorTileSourceOptions;
|
|
10894
10963
|
}(Options));
|
|
10895
10964
|
|
|
10896
|
-
var __extends$
|
|
10965
|
+
var __extends$p = (window && window.__extends) || (function () {
|
|
10897
10966
|
var extendStatics = function (d, b) {
|
|
10898
10967
|
extendStatics = Object.setPrototypeOf ||
|
|
10899
10968
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -10913,7 +10982,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10913
10982
|
* Vector tile sources can be used with; SymbolLayer, LineLayer, PolygonLayer, BubbleLayer, HeatmapLayer and VectorTileLayer.
|
|
10914
10983
|
*/
|
|
10915
10984
|
var VectorTileSource = /** @class */ (function (_super) {
|
|
10916
|
-
__extends$
|
|
10985
|
+
__extends$p(VectorTileSource, _super);
|
|
10917
10986
|
function VectorTileSource(id, options) {
|
|
10918
10987
|
var _this = _super.call(this, id) || this;
|
|
10919
10988
|
_this.options = new VectorTileSourceOptions().merge(cloneDeep_1(options));
|
|
@@ -10988,7 +11057,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
10988
11057
|
VectorTileSource: VectorTileSource
|
|
10989
11058
|
});
|
|
10990
11059
|
|
|
10991
|
-
var __extends$
|
|
11060
|
+
var __extends$q = (window && window.__extends) || (function () {
|
|
10992
11061
|
var extendStatics = function (d, b) {
|
|
10993
11062
|
extendStatics = Object.setPrototypeOf ||
|
|
10994
11063
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -11007,7 +11076,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11007
11076
|
* Abstract class for other layer classes to extend.
|
|
11008
11077
|
*/
|
|
11009
11078
|
var Layer = /** @class */ (function (_super) {
|
|
11010
|
-
__extends$
|
|
11079
|
+
__extends$q(Layer, _super);
|
|
11011
11080
|
function Layer(id) {
|
|
11012
11081
|
var _this =
|
|
11013
11082
|
// Assign an random id using a UUID if none was specified.
|
|
@@ -11114,7 +11183,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11114
11183
|
return Layer;
|
|
11115
11184
|
}(EventEmitter));
|
|
11116
11185
|
|
|
11117
|
-
var __extends$
|
|
11186
|
+
var __extends$r = (window && window.__extends) || (function () {
|
|
11118
11187
|
var extendStatics = function (d, b) {
|
|
11119
11188
|
extendStatics = Object.setPrototypeOf ||
|
|
11120
11189
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -11133,7 +11202,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11133
11202
|
* A base class which all other layer options inherit from.
|
|
11134
11203
|
*/
|
|
11135
11204
|
var LayerOptions = /** @class */ (function (_super) {
|
|
11136
|
-
__extends$
|
|
11205
|
+
__extends$r(LayerOptions, _super);
|
|
11137
11206
|
function LayerOptions() {
|
|
11138
11207
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
11139
11208
|
/**
|
|
@@ -11180,7 +11249,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11180
11249
|
return LayerOptions;
|
|
11181
11250
|
}(Options));
|
|
11182
11251
|
|
|
11183
|
-
var __extends$
|
|
11252
|
+
var __extends$s = (window && window.__extends) || (function () {
|
|
11184
11253
|
var extendStatics = function (d, b) {
|
|
11185
11254
|
extendStatics = Object.setPrototypeOf ||
|
|
11186
11255
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -11199,7 +11268,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11199
11268
|
* Options used when rendering Point objects in a BubbleLayer.
|
|
11200
11269
|
*/
|
|
11201
11270
|
var BubbleLayerOptions = /** @class */ (function (_super) {
|
|
11202
|
-
__extends$
|
|
11271
|
+
__extends$s(BubbleLayerOptions, _super);
|
|
11203
11272
|
function BubbleLayerOptions() {
|
|
11204
11273
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
11205
11274
|
/**
|
|
@@ -11307,7 +11376,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11307
11376
|
return BubbleLayerOptions;
|
|
11308
11377
|
}(LayerOptions));
|
|
11309
11378
|
|
|
11310
|
-
var __extends$
|
|
11379
|
+
var __extends$t = (window && window.__extends) || (function () {
|
|
11311
11380
|
var extendStatics = function (d, b) {
|
|
11312
11381
|
extendStatics = Object.setPrototypeOf ||
|
|
11313
11382
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -11383,7 +11452,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11383
11452
|
* Renders Point objects as scalable circles (bubbles).
|
|
11384
11453
|
*/
|
|
11385
11454
|
var BubbleLayer = /** @class */ (function (_super) {
|
|
11386
|
-
__extends$
|
|
11455
|
+
__extends$t(BubbleLayer, _super);
|
|
11387
11456
|
/**
|
|
11388
11457
|
* Constructs a new BubbleLayer.
|
|
11389
11458
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -11658,7 +11727,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11658
11727
|
return BubbleLayer;
|
|
11659
11728
|
}(Layer));
|
|
11660
11729
|
|
|
11661
|
-
var __extends$
|
|
11730
|
+
var __extends$u = (window && window.__extends) || (function () {
|
|
11662
11731
|
var extendStatics = function (d, b) {
|
|
11663
11732
|
extendStatics = Object.setPrototypeOf ||
|
|
11664
11733
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -11677,7 +11746,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11677
11746
|
* Options used when rendering Point objects in a HeatMapLayer.
|
|
11678
11747
|
*/
|
|
11679
11748
|
var HeatMapLayerOptions = /** @class */ (function (_super) {
|
|
11680
|
-
__extends$
|
|
11749
|
+
__extends$u(HeatMapLayerOptions, _super);
|
|
11681
11750
|
function HeatMapLayerOptions() {
|
|
11682
11751
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
11683
11752
|
/**
|
|
@@ -11744,7 +11813,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11744
11813
|
return HeatMapLayerOptions;
|
|
11745
11814
|
}(LayerOptions));
|
|
11746
11815
|
|
|
11747
|
-
var __extends$
|
|
11816
|
+
var __extends$v = (window && window.__extends) || (function () {
|
|
11748
11817
|
var extendStatics = function (d, b) {
|
|
11749
11818
|
extendStatics = Object.setPrototypeOf ||
|
|
11750
11819
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -11763,7 +11832,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11763
11832
|
* Represent the density of data using different colors (HeatMap).
|
|
11764
11833
|
*/
|
|
11765
11834
|
var HeatMapLayer = /** @class */ (function (_super) {
|
|
11766
|
-
__extends$
|
|
11835
|
+
__extends$v(HeatMapLayer, _super);
|
|
11767
11836
|
/**
|
|
11768
11837
|
* Constructs a new HeatMapLayer.
|
|
11769
11838
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -11867,7 +11936,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11867
11936
|
return HeatMapLayer;
|
|
11868
11937
|
}(Layer));
|
|
11869
11938
|
|
|
11870
|
-
var __extends$
|
|
11939
|
+
var __extends$w = (window && window.__extends) || (function () {
|
|
11871
11940
|
var extendStatics = function (d, b) {
|
|
11872
11941
|
extendStatics = Object.setPrototypeOf ||
|
|
11873
11942
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -11886,7 +11955,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11886
11955
|
* Options used when rendering canvas, image, raster tile, and video layers
|
|
11887
11956
|
*/
|
|
11888
11957
|
var MediaLayerOptions = /** @class */ (function (_super) {
|
|
11889
|
-
__extends$
|
|
11958
|
+
__extends$w(MediaLayerOptions, _super);
|
|
11890
11959
|
function MediaLayerOptions() {
|
|
11891
11960
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
11892
11961
|
/**
|
|
@@ -11938,7 +12007,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11938
12007
|
return MediaLayerOptions;
|
|
11939
12008
|
}(LayerOptions));
|
|
11940
12009
|
|
|
11941
|
-
var __extends$
|
|
12010
|
+
var __extends$x = (window && window.__extends) || (function () {
|
|
11942
12011
|
var extendStatics = function (d, b) {
|
|
11943
12012
|
extendStatics = Object.setPrototypeOf ||
|
|
11944
12013
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -11957,7 +12026,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11957
12026
|
* Options used when rendering Point objects in a ImageLayer.
|
|
11958
12027
|
*/
|
|
11959
12028
|
var ImageLayerOptions = /** @class */ (function (_super) {
|
|
11960
|
-
__extends$
|
|
12029
|
+
__extends$x(ImageLayerOptions, _super);
|
|
11961
12030
|
function ImageLayerOptions() {
|
|
11962
12031
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
11963
12032
|
/**
|
|
@@ -11987,7 +12056,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
11987
12056
|
return ImageLayerOptions;
|
|
11988
12057
|
}(MediaLayerOptions));
|
|
11989
12058
|
|
|
11990
|
-
var __extends$
|
|
12059
|
+
var __extends$y = (window && window.__extends) || (function () {
|
|
11991
12060
|
var extendStatics = function (d, b) {
|
|
11992
12061
|
extendStatics = Object.setPrototypeOf ||
|
|
11993
12062
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12007,7 +12076,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12007
12076
|
* @internal
|
|
12008
12077
|
*/
|
|
12009
12078
|
var SourceBuildingLayer = /** @class */ (function (_super) {
|
|
12010
|
-
__extends$
|
|
12079
|
+
__extends$y(SourceBuildingLayer, _super);
|
|
12011
12080
|
function SourceBuildingLayer() {
|
|
12012
12081
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
12013
12082
|
}
|
|
@@ -12022,7 +12091,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12022
12091
|
return SourceBuildingLayer;
|
|
12023
12092
|
}(Layer));
|
|
12024
12093
|
|
|
12025
|
-
var __extends$
|
|
12094
|
+
var __extends$z = (window && window.__extends) || (function () {
|
|
12026
12095
|
var extendStatics = function (d, b) {
|
|
12027
12096
|
extendStatics = Object.setPrototypeOf ||
|
|
12028
12097
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12041,7 +12110,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12041
12110
|
* Overlays an image on the map with each corner anchored to a coordinate on the map. Also known as a ground or image overlay.
|
|
12042
12111
|
*/
|
|
12043
12112
|
var ImageLayer = /** @class */ (function (_super) {
|
|
12044
|
-
__extends$
|
|
12113
|
+
__extends$z(ImageLayer, _super);
|
|
12045
12114
|
/**
|
|
12046
12115
|
* Constructs a new ImageLayer.
|
|
12047
12116
|
* @param id The id of the layer. If not specified a random one will be generated.
|
|
@@ -12244,7 +12313,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12244
12313
|
return ImageLayer;
|
|
12245
12314
|
}(SourceBuildingLayer));
|
|
12246
12315
|
|
|
12247
|
-
var __extends$
|
|
12316
|
+
var __extends$A = (window && window.__extends) || (function () {
|
|
12248
12317
|
var extendStatics = function (d, b) {
|
|
12249
12318
|
extendStatics = Object.setPrototypeOf ||
|
|
12250
12319
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12264,7 +12333,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12264
12333
|
* LineString, MultiLineString, Polygon, and MultiPolygon objects in a line layer.
|
|
12265
12334
|
*/
|
|
12266
12335
|
var LineLayerOptions = /** @class */ (function (_super) {
|
|
12267
|
-
__extends$
|
|
12336
|
+
__extends$A(LineLayerOptions, _super);
|
|
12268
12337
|
function LineLayerOptions() {
|
|
12269
12338
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
12270
12339
|
/**
|
|
@@ -12364,7 +12433,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12364
12433
|
return LineLayerOptions;
|
|
12365
12434
|
}(LayerOptions));
|
|
12366
12435
|
|
|
12367
|
-
var __extends$
|
|
12436
|
+
var __extends$B = (window && window.__extends) || (function () {
|
|
12368
12437
|
var extendStatics = function (d, b) {
|
|
12369
12438
|
extendStatics = Object.setPrototypeOf ||
|
|
12370
12439
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12395,7 +12464,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12395
12464
|
* CirclePolygon, LineString, MultiLineString, Polygon, and MultiPolygon objects.
|
|
12396
12465
|
*/
|
|
12397
12466
|
var LineLayer = /** @class */ (function (_super) {
|
|
12398
|
-
__extends$
|
|
12467
|
+
__extends$B(LineLayer, _super);
|
|
12399
12468
|
/**
|
|
12400
12469
|
* Constructs a new LineLayer.
|
|
12401
12470
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -12486,7 +12555,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12486
12555
|
return LineLayer;
|
|
12487
12556
|
}(Layer));
|
|
12488
12557
|
|
|
12489
|
-
var __extends$
|
|
12558
|
+
var __extends$C = (window && window.__extends) || (function () {
|
|
12490
12559
|
var extendStatics = function (d, b) {
|
|
12491
12560
|
extendStatics = Object.setPrototypeOf ||
|
|
12492
12561
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12505,7 +12574,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12505
12574
|
* Options used when rendering `Polygon` and `MultiPolygon` objects in a `PolygonExtrusionLayer`.
|
|
12506
12575
|
*/
|
|
12507
12576
|
var PolygonExtrusionLayerOptions = /** @class */ (function (_super) {
|
|
12508
|
-
__extends$
|
|
12577
|
+
__extends$C(PolygonExtrusionLayerOptions, _super);
|
|
12509
12578
|
function PolygonExtrusionLayerOptions() {
|
|
12510
12579
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
12511
12580
|
/**
|
|
@@ -12578,7 +12647,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12578
12647
|
return PolygonExtrusionLayerOptions;
|
|
12579
12648
|
}(LayerOptions));
|
|
12580
12649
|
|
|
12581
|
-
var __extends$
|
|
12650
|
+
var __extends$D = (window && window.__extends) || (function () {
|
|
12582
12651
|
var extendStatics = function (d, b) {
|
|
12583
12652
|
extendStatics = Object.setPrototypeOf ||
|
|
12584
12653
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12608,7 +12677,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12608
12677
|
* Renders extruded filled `Polygon` and `MultiPolygon` objects on the map.
|
|
12609
12678
|
*/
|
|
12610
12679
|
var PolygonExtrusionLayer = /** @class */ (function (_super) {
|
|
12611
|
-
__extends$
|
|
12680
|
+
__extends$D(PolygonExtrusionLayer, _super);
|
|
12612
12681
|
/**
|
|
12613
12682
|
* Constructs a new PolygonExtrusionLayer.
|
|
12614
12683
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -12696,7 +12765,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12696
12765
|
return PolygonExtrusionLayer;
|
|
12697
12766
|
}(Layer));
|
|
12698
12767
|
|
|
12699
|
-
var __extends$
|
|
12768
|
+
var __extends$E = (window && window.__extends) || (function () {
|
|
12700
12769
|
var extendStatics = function (d, b) {
|
|
12701
12770
|
extendStatics = Object.setPrototypeOf ||
|
|
12702
12771
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12747,7 +12816,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12747
12816
|
* Options used when rendering Polygon and MultiPolygon objects in a PolygonLayer.
|
|
12748
12817
|
*/
|
|
12749
12818
|
var PolygonLayerOptions = /** @class */ (function (_super) {
|
|
12750
|
-
__extends$
|
|
12819
|
+
__extends$E(PolygonLayerOptions, _super);
|
|
12751
12820
|
function PolygonLayerOptions() {
|
|
12752
12821
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
12753
12822
|
/**
|
|
@@ -12776,6 +12845,12 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12776
12845
|
* Name of image in sprite to use for drawing image fills. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512).
|
|
12777
12846
|
*/
|
|
12778
12847
|
_this.fillPattern = undefined;
|
|
12848
|
+
/**
|
|
12849
|
+
* Whether or not the fill should be antialiased.
|
|
12850
|
+
* Default `true`.
|
|
12851
|
+
* @default true
|
|
12852
|
+
*/
|
|
12853
|
+
_this.fillAntialias = true;
|
|
12779
12854
|
return _this;
|
|
12780
12855
|
}
|
|
12781
12856
|
/**
|
|
@@ -12825,7 +12900,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12825
12900
|
return PolygonLayerOptions;
|
|
12826
12901
|
}(LayerOptions));
|
|
12827
12902
|
|
|
12828
|
-
var __extends$
|
|
12903
|
+
var __extends$F = (window && window.__extends) || (function () {
|
|
12829
12904
|
var extendStatics = function (d, b) {
|
|
12830
12905
|
extendStatics = Object.setPrototypeOf ||
|
|
12831
12906
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12844,7 +12919,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12844
12919
|
* Renders filled Polygon and MultiPolygon objects on the map.
|
|
12845
12920
|
*/
|
|
12846
12921
|
var PolygonLayer = /** @class */ (function (_super) {
|
|
12847
|
-
__extends$
|
|
12922
|
+
__extends$F(PolygonLayer, _super);
|
|
12848
12923
|
/**
|
|
12849
12924
|
* Constructs a new PolygonLayer.
|
|
12850
12925
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -12892,6 +12967,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12892
12967
|
this._updatePaintProperty("fill-color", newOptions.fillColor, this.options.fillColor);
|
|
12893
12968
|
this._updatePaintProperty("fill-opacity", newOptions.fillOpacity, this.options.fillOpacity);
|
|
12894
12969
|
this._updatePaintProperty("fill-pattern", newOptions.fillPattern, this.options.fillPattern);
|
|
12970
|
+
this._updatePaintProperty("fill-antialias", newOptions.fillAntialias, this.options.fillAntialias);
|
|
12895
12971
|
}
|
|
12896
12972
|
this.options = newOptions;
|
|
12897
12973
|
};
|
|
@@ -12909,7 +12985,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12909
12985
|
visibility: this.options.visible ? "visible" : "none"
|
|
12910
12986
|
},
|
|
12911
12987
|
paint: {
|
|
12912
|
-
"fill-opacity": this.options.fillOpacity
|
|
12988
|
+
"fill-opacity": this.options.fillOpacity,
|
|
12989
|
+
"fill-antialias": this.options.fillAntialias,
|
|
12913
12990
|
},
|
|
12914
12991
|
minzoom: this.options.minZoom,
|
|
12915
12992
|
maxzoom: this.options.maxZoom
|
|
@@ -12950,7 +13027,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12950
13027
|
return PolygonLayer;
|
|
12951
13028
|
}(Layer));
|
|
12952
13029
|
|
|
12953
|
-
var __extends$
|
|
13030
|
+
var __extends$G = (window && window.__extends) || (function () {
|
|
12954
13031
|
var extendStatics = function (d, b) {
|
|
12955
13032
|
extendStatics = Object.setPrototypeOf ||
|
|
12956
13033
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -12969,7 +13046,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
12969
13046
|
* Options used to customize the icons in a SymbolLayer
|
|
12970
13047
|
*/
|
|
12971
13048
|
var IconOptions = /** @class */ (function (_super) {
|
|
12972
|
-
__extends$
|
|
13049
|
+
__extends$G(IconOptions, _super);
|
|
12973
13050
|
function IconOptions() {
|
|
12974
13051
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
12975
13052
|
/**
|
|
@@ -13079,7 +13156,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13079
13156
|
return IconOptions;
|
|
13080
13157
|
}(Options));
|
|
13081
13158
|
|
|
13082
|
-
var __extends$
|
|
13159
|
+
var __extends$H = (window && window.__extends) || (function () {
|
|
13083
13160
|
var extendStatics = function (d, b) {
|
|
13084
13161
|
extendStatics = Object.setPrototypeOf ||
|
|
13085
13162
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13098,7 +13175,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13098
13175
|
* Options used to customize the text in a SymbolLayer
|
|
13099
13176
|
*/
|
|
13100
13177
|
var TextOptions = /** @class */ (function (_super) {
|
|
13101
|
-
__extends$
|
|
13178
|
+
__extends$H(TextOptions, _super);
|
|
13102
13179
|
function TextOptions() {
|
|
13103
13180
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13104
13181
|
/**
|
|
@@ -13278,7 +13355,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13278
13355
|
return TextOptions;
|
|
13279
13356
|
}(Options));
|
|
13280
13357
|
|
|
13281
|
-
var __extends$
|
|
13358
|
+
var __extends$I = (window && window.__extends) || (function () {
|
|
13282
13359
|
var extendStatics = function (d, b) {
|
|
13283
13360
|
extendStatics = Object.setPrototypeOf ||
|
|
13284
13361
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13297,7 +13374,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13297
13374
|
* Options used when rendering geometries in a SymbolLayer.
|
|
13298
13375
|
*/
|
|
13299
13376
|
var SymbolLayerOptions = /** @class */ (function (_super) {
|
|
13300
|
-
__extends$
|
|
13377
|
+
__extends$I(SymbolLayerOptions, _super);
|
|
13301
13378
|
function SymbolLayerOptions() {
|
|
13302
13379
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13303
13380
|
/**
|
|
@@ -13362,7 +13439,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13362
13439
|
return SymbolLayerOptions;
|
|
13363
13440
|
}(LayerOptions));
|
|
13364
13441
|
|
|
13365
|
-
var __extends$
|
|
13442
|
+
var __extends$J = (window && window.__extends) || (function () {
|
|
13366
13443
|
var extendStatics = function (d, b) {
|
|
13367
13444
|
extendStatics = Object.setPrototypeOf ||
|
|
13368
13445
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13393,7 +13470,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13393
13470
|
* Symbols can also be created for line and polygon data as well.
|
|
13394
13471
|
*/
|
|
13395
13472
|
var SymbolLayer = /** @class */ (function (_super) {
|
|
13396
|
-
__extends$
|
|
13473
|
+
__extends$J(SymbolLayer, _super);
|
|
13397
13474
|
/**
|
|
13398
13475
|
* Constructs a new SymbolLayer.
|
|
13399
13476
|
* @param source The id or instance of a data source which the layer will render.
|
|
@@ -13535,7 +13612,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13535
13612
|
return SymbolLayer;
|
|
13536
13613
|
}(Layer));
|
|
13537
13614
|
|
|
13538
|
-
var __extends$
|
|
13615
|
+
var __extends$K = (window && window.__extends) || (function () {
|
|
13539
13616
|
var extendStatics = function (d, b) {
|
|
13540
13617
|
extendStatics = Object.setPrototypeOf ||
|
|
13541
13618
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13554,7 +13631,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13554
13631
|
* Options used when rendering raster tiled images in a TileLayer.
|
|
13555
13632
|
*/
|
|
13556
13633
|
var TileLayerOptions = /** @class */ (function (_super) {
|
|
13557
|
-
__extends$
|
|
13634
|
+
__extends$K(TileLayerOptions, _super);
|
|
13558
13635
|
function TileLayerOptions() {
|
|
13559
13636
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13560
13637
|
/**
|
|
@@ -13610,7 +13687,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13610
13687
|
return TileLayerOptions;
|
|
13611
13688
|
}(MediaLayerOptions));
|
|
13612
13689
|
|
|
13613
|
-
var __extends$
|
|
13690
|
+
var __extends$L = (window && window.__extends) || (function () {
|
|
13614
13691
|
var extendStatics = function (d, b) {
|
|
13615
13692
|
extendStatics = Object.setPrototypeOf ||
|
|
13616
13693
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13651,7 +13728,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13651
13728
|
* Renders raster tiled images on top of the map tiles.
|
|
13652
13729
|
*/
|
|
13653
13730
|
var TileLayer = /** @class */ (function (_super) {
|
|
13654
|
-
__extends$
|
|
13731
|
+
__extends$L(TileLayer, _super);
|
|
13655
13732
|
/**
|
|
13656
13733
|
* Constructs a new TileLayer.
|
|
13657
13734
|
* @param options The options for the tile layer.
|
|
@@ -13794,7 +13871,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13794
13871
|
return TileLayer;
|
|
13795
13872
|
}(SourceBuildingLayer));
|
|
13796
13873
|
|
|
13797
|
-
var __extends$
|
|
13874
|
+
var __extends$M = (window && window.__extends) || (function () {
|
|
13798
13875
|
var extendStatics = function (d, b) {
|
|
13799
13876
|
extendStatics = Object.setPrototypeOf ||
|
|
13800
13877
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13813,7 +13890,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13813
13890
|
* Options used to render graphics in a WebGLLayer.
|
|
13814
13891
|
*/
|
|
13815
13892
|
var WebGLLayerOptions = /** @class */ (function (_super) {
|
|
13816
|
-
__extends$
|
|
13893
|
+
__extends$M(WebGLLayerOptions, _super);
|
|
13817
13894
|
function WebGLLayerOptions() {
|
|
13818
13895
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13819
13896
|
/**
|
|
@@ -13825,7 +13902,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13825
13902
|
return WebGLLayerOptions;
|
|
13826
13903
|
}(LayerOptions));
|
|
13827
13904
|
|
|
13828
|
-
var __extends$
|
|
13905
|
+
var __extends$N = (window && window.__extends) || (function () {
|
|
13829
13906
|
var extendStatics = function (d, b) {
|
|
13830
13907
|
extendStatics = Object.setPrototypeOf ||
|
|
13831
13908
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -13844,7 +13921,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13844
13921
|
* Enables custom rendering logic with access to the WebGL context of the map.
|
|
13845
13922
|
*/
|
|
13846
13923
|
var WebGLLayer = /** @class */ (function (_super) {
|
|
13847
|
-
__extends$
|
|
13924
|
+
__extends$N(WebGLLayer, _super);
|
|
13848
13925
|
/**
|
|
13849
13926
|
* Constructs a new WebGLLayer.
|
|
13850
13927
|
* @param id The id of the layer. If not specified a random one will be generated.
|
|
@@ -14074,7 +14151,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14074
14151
|
|
|
14075
14152
|
var isElement_1 = isElement;
|
|
14076
14153
|
|
|
14077
|
-
var __extends$
|
|
14154
|
+
var __extends$O = (window && window.__extends) || (function () {
|
|
14078
14155
|
var extendStatics = function (d, b) {
|
|
14079
14156
|
extendStatics = Object.setPrototypeOf ||
|
|
14080
14157
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14093,7 +14170,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14093
14170
|
* The options for a popup.
|
|
14094
14171
|
*/
|
|
14095
14172
|
var PopupOptions = /** @class */ (function (_super) {
|
|
14096
|
-
__extends$
|
|
14173
|
+
__extends$O(PopupOptions, _super);
|
|
14097
14174
|
function PopupOptions() {
|
|
14098
14175
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
14099
14176
|
/**
|
|
@@ -14162,7 +14239,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14162
14239
|
return PopupOptions;
|
|
14163
14240
|
}(Options));
|
|
14164
14241
|
|
|
14165
|
-
var __extends$
|
|
14242
|
+
var __extends$P = (window && window.__extends) || (function () {
|
|
14166
14243
|
var extendStatics = function (d, b) {
|
|
14167
14244
|
extendStatics = Object.setPrototypeOf ||
|
|
14168
14245
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14197,7 +14274,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14197
14274
|
* An information window anchored at a specified position on a map.
|
|
14198
14275
|
*/
|
|
14199
14276
|
var Popup = /** @class */ (function (_super) {
|
|
14200
|
-
__extends$
|
|
14277
|
+
__extends$P(Popup, _super);
|
|
14201
14278
|
/**
|
|
14202
14279
|
* Constructs a Popup object and initializes it with the specified options.
|
|
14203
14280
|
* @param options The options for the popup.
|
|
@@ -14668,7 +14745,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14668
14745
|
return Popup;
|
|
14669
14746
|
}(EventEmitter));
|
|
14670
14747
|
|
|
14671
|
-
var __extends$
|
|
14748
|
+
var __extends$Q = (window && window.__extends) || (function () {
|
|
14672
14749
|
var extendStatics = function (d, b) {
|
|
14673
14750
|
extendStatics = Object.setPrototypeOf ||
|
|
14674
14751
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14687,7 +14764,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14687
14764
|
* Options for rendering an HtmlMarker object
|
|
14688
14765
|
*/
|
|
14689
14766
|
var HtmlMarkerOptions = /** @class */ (function (_super) {
|
|
14690
|
-
__extends$
|
|
14767
|
+
__extends$Q(HtmlMarkerOptions, _super);
|
|
14691
14768
|
function HtmlMarkerOptions() {
|
|
14692
14769
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
14693
14770
|
/**
|
|
@@ -14765,7 +14842,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14765
14842
|
return HtmlMarkerOptions;
|
|
14766
14843
|
}(Options));
|
|
14767
14844
|
|
|
14768
|
-
var __extends$
|
|
14845
|
+
var __extends$R = (window && window.__extends) || (function () {
|
|
14769
14846
|
var extendStatics = function (d, b) {
|
|
14770
14847
|
extendStatics = Object.setPrototypeOf ||
|
|
14771
14848
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -14784,7 +14861,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14784
14861
|
* This class wraps an HTML element that can be displayed on the map.
|
|
14785
14862
|
*/
|
|
14786
14863
|
var HtmlMarker = /** @class */ (function (_super) {
|
|
14787
|
-
__extends$
|
|
14864
|
+
__extends$R(HtmlMarker, _super);
|
|
14788
14865
|
/**
|
|
14789
14866
|
* Constructs a new HtmlMarker.
|
|
14790
14867
|
* @param options The options for the HtmlMarker.
|
|
@@ -15509,7 +15586,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15509
15586
|
return UserAgent;
|
|
15510
15587
|
}());
|
|
15511
15588
|
|
|
15512
|
-
var __extends$
|
|
15589
|
+
var __extends$S = (window && window.__extends) || (function () {
|
|
15513
15590
|
var extendStatics = function (d, b) {
|
|
15514
15591
|
extendStatics = Object.setPrototypeOf ||
|
|
15515
15592
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -15575,7 +15652,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15575
15652
|
* Options for specifying how the map control should authenticate with the Azure Maps services.
|
|
15576
15653
|
*/
|
|
15577
15654
|
var AuthenticationOptions = /** @class */ (function (_super) {
|
|
15578
|
-
__extends$
|
|
15655
|
+
__extends$S(AuthenticationOptions, _super);
|
|
15579
15656
|
function AuthenticationOptions() {
|
|
15580
15657
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
15581
15658
|
/**
|
|
@@ -16176,7 +16253,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16176
16253
|
return Media;
|
|
16177
16254
|
}());
|
|
16178
16255
|
|
|
16179
|
-
var __extends$
|
|
16256
|
+
var __extends$T = (window && window.__extends) || (function () {
|
|
16180
16257
|
var extendStatics = function (d, b) {
|
|
16181
16258
|
extendStatics = Object.setPrototypeOf ||
|
|
16182
16259
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -16195,7 +16272,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16195
16272
|
* The options for a CopyrightControl object.
|
|
16196
16273
|
*/
|
|
16197
16274
|
var CopyrightControlOptions = /** @class */ (function (_super) {
|
|
16198
|
-
__extends$
|
|
16275
|
+
__extends$T(CopyrightControlOptions, _super);
|
|
16199
16276
|
function CopyrightControlOptions() {
|
|
16200
16277
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
16201
16278
|
/**
|
|
@@ -16224,7 +16301,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16224
16301
|
return CopyrightControlOptions;
|
|
16225
16302
|
}(Options));
|
|
16226
16303
|
|
|
16227
|
-
var __extends$
|
|
16304
|
+
var __extends$U = (window && window.__extends) || (function () {
|
|
16228
16305
|
var extendStatics = function (d, b) {
|
|
16229
16306
|
extendStatics = Object.setPrototypeOf ||
|
|
16230
16307
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -16243,7 +16320,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16243
16320
|
* @private
|
|
16244
16321
|
*/
|
|
16245
16322
|
var CopyrightControl = /** @class */ (function (_super) {
|
|
16246
|
-
__extends$
|
|
16323
|
+
__extends$U(CopyrightControl, _super);
|
|
16247
16324
|
function CopyrightControl(options) {
|
|
16248
16325
|
var _this = _super.call(this) || this;
|
|
16249
16326
|
_this.textAttribution = function (options) {
|
|
@@ -16251,10 +16328,18 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16251
16328
|
.filter(function (message) { return message; })
|
|
16252
16329
|
.join("");
|
|
16253
16330
|
};
|
|
16331
|
+
// Append latitude, longitude and zoom level to feedback link.
|
|
16332
|
+
_this.updateFeedbackLink = function () {
|
|
16333
|
+
if (_this.feedbackAnchor && _this.map) {
|
|
16334
|
+
var _a = _this.map.getCamera(), center = _a.center, zoom = _a.zoom;
|
|
16335
|
+
_this.feedbackAnchor.href = CopyrightControl.feedbackLink + "&cp=" + center[1] + "~" + center[0] + "&lvl=" + (zoom + 1);
|
|
16336
|
+
}
|
|
16337
|
+
};
|
|
16254
16338
|
_this.options = new CopyrightControlOptions().merge(options);
|
|
16255
16339
|
return _this;
|
|
16256
16340
|
}
|
|
16257
16341
|
CopyrightControl.prototype.onAdd = function (map) {
|
|
16342
|
+
this.map = map;
|
|
16258
16343
|
this.container = this.buildContainer(map, exports.ControlStyle.auto);
|
|
16259
16344
|
this.container.className = "map-copyright";
|
|
16260
16345
|
this.copyrightDiv = this.buildCopyrightDiv();
|
|
@@ -16321,27 +16406,30 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16321
16406
|
};
|
|
16322
16407
|
CopyrightControl.prototype.buildFeedbackLink = function () {
|
|
16323
16408
|
var link = document.createElement("a");
|
|
16324
|
-
link.setAttribute("alt", "
|
|
16325
|
-
link.setAttribute("aria-label", "
|
|
16326
|
-
link.href =
|
|
16409
|
+
link.setAttribute("alt", "Provide Map Data Feedback");
|
|
16410
|
+
link.setAttribute("aria-label", "Provide Map Data Feedback");
|
|
16411
|
+
link.href = CopyrightControl.feedbackLink;
|
|
16327
16412
|
link.target = "_blank";
|
|
16328
16413
|
link.rel = "noopener";
|
|
16329
16414
|
link.className = "azure-map-feedback";
|
|
16330
16415
|
return link;
|
|
16331
16416
|
};
|
|
16332
16417
|
CopyrightControl.prototype.addRemoveFeedbackDiv = function (add) {
|
|
16418
|
+
var _a, _b, _c, _d;
|
|
16333
16419
|
if (add) {
|
|
16334
16420
|
this.feedbackAnchor = this.buildFeedbackLink();
|
|
16335
|
-
this.tooltip = buildAccessibleTooltip("
|
|
16421
|
+
this.tooltip = buildAccessibleTooltip("Provide Map Data Feedback");
|
|
16336
16422
|
this.container.appendChild(this.feedbackAnchor);
|
|
16337
16423
|
this.container.appendChild(this.tooltip);
|
|
16338
16424
|
positionTooltip(this.tooltip, this.feedbackAnchor);
|
|
16425
|
+
(_b = (_a = this.map) === null || _a === void 0 ? void 0 : _a.events) === null || _b === void 0 ? void 0 : _b.add("moveend", this.updateFeedbackLink);
|
|
16339
16426
|
}
|
|
16340
16427
|
else {
|
|
16341
16428
|
this.feedbackAnchor.remove();
|
|
16342
16429
|
this.tooltip.remove();
|
|
16343
16430
|
delete this.tooltip;
|
|
16344
16431
|
delete this.feedbackAnchor;
|
|
16432
|
+
(_d = (_c = this.map) === null || _c === void 0 ? void 0 : _c.events) === null || _d === void 0 ? void 0 : _d.remove("moveend", this.updateFeedbackLink);
|
|
16345
16433
|
}
|
|
16346
16434
|
};
|
|
16347
16435
|
CopyrightControl.prototype.addRemoveLogo = function (add) {
|
|
@@ -16362,6 +16450,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16362
16450
|
delete this.logoAnchor;
|
|
16363
16451
|
}
|
|
16364
16452
|
};
|
|
16453
|
+
CopyrightControl.feedbackLink = "https://aka.ms/azuremapsdatafeedback?feedbackep=UrlAzureMapsWebSdk";
|
|
16365
16454
|
return CopyrightControl;
|
|
16366
16455
|
}(ControlBase));
|
|
16367
16456
|
|
|
@@ -16603,7 +16692,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16603
16692
|
return FlowServiceDelegate;
|
|
16604
16693
|
}());
|
|
16605
16694
|
|
|
16606
|
-
var __extends$
|
|
16695
|
+
var __extends$V = (window && window.__extends) || (function () {
|
|
16607
16696
|
var extendStatics = function (d, b) {
|
|
16608
16697
|
extendStatics = Object.setPrototypeOf ||
|
|
16609
16698
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -16622,7 +16711,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16622
16711
|
* The options for enabling/disabling user interaction with the map.
|
|
16623
16712
|
*/
|
|
16624
16713
|
var UserInteractionOptions = /** @class */ (function (_super) {
|
|
16625
|
-
__extends$
|
|
16714
|
+
__extends$V(UserInteractionOptions, _super);
|
|
16626
16715
|
function UserInteractionOptions() {
|
|
16627
16716
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
16628
16717
|
/**
|
|
@@ -17951,7 +18040,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17951
18040
|
return ImageSpriteManager;
|
|
17952
18041
|
}());
|
|
17953
18042
|
|
|
17954
|
-
var __extends$
|
|
18043
|
+
var __extends$W = (window && window.__extends) || (function () {
|
|
17955
18044
|
var extendStatics = function (d, b) {
|
|
17956
18045
|
extendStatics = Object.setPrototypeOf ||
|
|
17957
18046
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -17983,7 +18072,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17983
18072
|
* @private
|
|
17984
18073
|
*/
|
|
17985
18074
|
var FundamentalMapLayer = /** @class */ (function (_super) {
|
|
17986
|
-
__extends$
|
|
18075
|
+
__extends$W(FundamentalMapLayer, _super);
|
|
17987
18076
|
/**
|
|
17988
18077
|
* Constructs a base layer used to represent the base, transit, and labels layers.
|
|
17989
18078
|
* @param mbLayers The stylesheet used to define the style sources and style layers.
|
|
@@ -18759,7 +18848,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
18759
18848
|
return PopupManager;
|
|
18760
18849
|
}());
|
|
18761
18850
|
|
|
18762
|
-
var __extends$
|
|
18851
|
+
var __extends$X = (window && window.__extends) || (function () {
|
|
18763
18852
|
var extendStatics = function (d, b) {
|
|
18764
18853
|
extendStatics = Object.setPrototypeOf ||
|
|
18765
18854
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -18790,7 +18879,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
18790
18879
|
* @private
|
|
18791
18880
|
*/
|
|
18792
18881
|
var FundamentalMapSource = /** @class */ (function (_super) {
|
|
18793
|
-
__extends$
|
|
18882
|
+
__extends$X(FundamentalMapSource, _super);
|
|
18794
18883
|
/**
|
|
18795
18884
|
* Constructs a source from the contents of a layer resource file.
|
|
18796
18885
|
* @param id The source's id.
|
|
@@ -18933,59 +19022,59 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
18933
19022
|
var features = this.map._getMap().querySourceFeatures(sourceID, { sourceLayer: sourceLayer, filter: filter });
|
|
18934
19023
|
return this.map.sources._mapFeaturesToShapes(features, true, this.sources.get(sourceID));
|
|
18935
19024
|
};
|
|
18936
|
-
|
|
18937
|
-
|
|
18938
|
-
|
|
18939
|
-
|
|
18940
|
-
|
|
18941
|
-
|
|
18942
|
-
|
|
18943
|
-
|
|
18944
|
-
|
|
18945
|
-
|
|
18946
|
-
|
|
18947
|
-
|
|
18948
|
-
|
|
18949
|
-
|
|
18950
|
-
|
|
18951
|
-
|
|
18952
|
-
|
|
18953
|
-
|
|
18954
|
-
|
|
18955
|
-
|
|
18956
|
-
|
|
18957
|
-
|
|
18958
|
-
|
|
18959
|
-
|
|
18960
|
-
|
|
18961
|
-
|
|
18962
|
-
|
|
18963
|
-
|
|
18964
|
-
|
|
18965
|
-
|
|
18966
|
-
|
|
18967
|
-
|
|
18968
|
-
|
|
18969
|
-
|
|
18970
|
-
|
|
18971
|
-
|
|
18972
|
-
|
|
18973
|
-
|
|
18974
|
-
|
|
18975
|
-
|
|
18976
|
-
|
|
18977
|
-
|
|
18978
|
-
|
|
18979
|
-
|
|
18980
|
-
|
|
18981
|
-
|
|
18982
|
-
|
|
18983
|
-
|
|
18984
|
-
|
|
18985
|
-
|
|
18986
|
-
|
|
18987
|
-
|
|
18988
|
-
|
|
19025
|
+
/**
|
|
19026
|
+
* Gets the state of a feature
|
|
19027
|
+
* @param feature the ID of the feature
|
|
19028
|
+
* @param source the ID of the source
|
|
19029
|
+
* @param sourceLayer the ID of the layer
|
|
19030
|
+
*/
|
|
19031
|
+
SourceManager.prototype.getFeatureState = function (feature, source, sourceLayer) {
|
|
19032
|
+
var featureId;
|
|
19033
|
+
if (typeof feature === "string") {
|
|
19034
|
+
featureId = feature;
|
|
19035
|
+
}
|
|
19036
|
+
else {
|
|
19037
|
+
featureId = feature instanceof Shape ? feature.getId() : feature.id;
|
|
19038
|
+
}
|
|
19039
|
+
var featureSource = typeof source === "string" ? source : source.getId();
|
|
19040
|
+
return this.map._getMap().getFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer });
|
|
19041
|
+
};
|
|
19042
|
+
/**
|
|
19043
|
+
* Removes the state or a single key value of the state of a feature.
|
|
19044
|
+
* @param feature the ID of the feature
|
|
19045
|
+
* @param source the ID of the source
|
|
19046
|
+
* @param sourceLayer the ID of the layer
|
|
19047
|
+
* @param key the key in the feature state to update
|
|
19048
|
+
*/
|
|
19049
|
+
SourceManager.prototype.removeFeatureState = function (feature, source, sourceLayer, key) {
|
|
19050
|
+
var featureId;
|
|
19051
|
+
if (typeof feature === "string") {
|
|
19052
|
+
featureId = feature;
|
|
19053
|
+
}
|
|
19054
|
+
else {
|
|
19055
|
+
featureId = feature instanceof Shape ? feature.getId() : feature.id;
|
|
19056
|
+
}
|
|
19057
|
+
var featureSource = typeof source === "string" ? source : source.getId();
|
|
19058
|
+
this.map._getMap().removeFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer }, key);
|
|
19059
|
+
};
|
|
19060
|
+
/**
|
|
19061
|
+
* Sets the state of the feature by passing in a key value pair object.
|
|
19062
|
+
* @param feature the ID of the feature
|
|
19063
|
+
* @param source the ID of the source
|
|
19064
|
+
* @param sourceLayer the ID of the layer
|
|
19065
|
+
* @param key the key in the feature state to update
|
|
19066
|
+
*/
|
|
19067
|
+
SourceManager.prototype.setFeatureState = function (feature, source, state, sourceLayer) {
|
|
19068
|
+
var featureId;
|
|
19069
|
+
if (typeof feature === "string") {
|
|
19070
|
+
featureId = feature;
|
|
19071
|
+
}
|
|
19072
|
+
else {
|
|
19073
|
+
featureId = feature instanceof Shape ? feature.getId() : feature.id;
|
|
19074
|
+
}
|
|
19075
|
+
var featureSource = typeof source === "string" ? source : source.getId();
|
|
19076
|
+
this.map._getMap().setFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer }, state);
|
|
19077
|
+
};
|
|
18989
19078
|
/**
|
|
18990
19079
|
* @internal
|
|
18991
19080
|
*/
|
|
@@ -19186,7 +19275,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19186
19275
|
return SourceManager;
|
|
19187
19276
|
}());
|
|
19188
19277
|
|
|
19189
|
-
var __extends$
|
|
19278
|
+
var __extends$Y = (window && window.__extends) || (function () {
|
|
19190
19279
|
var extendStatics = function (d, b) {
|
|
19191
19280
|
extendStatics = Object.setPrototypeOf ||
|
|
19192
19281
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -19205,7 +19294,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19205
19294
|
* The options for animating changes to the map control's camera.
|
|
19206
19295
|
*/
|
|
19207
19296
|
var AnimationOptions = /** @class */ (function (_super) {
|
|
19208
|
-
__extends$
|
|
19297
|
+
__extends$Y(AnimationOptions, _super);
|
|
19209
19298
|
function AnimationOptions() {
|
|
19210
19299
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
19211
19300
|
/**
|
|
@@ -19229,7 +19318,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19229
19318
|
return AnimationOptions;
|
|
19230
19319
|
}(Options));
|
|
19231
19320
|
|
|
19232
|
-
var __extends$
|
|
19321
|
+
var __extends$Z = (window && window.__extends) || (function () {
|
|
19233
19322
|
var extendStatics = function (d, b) {
|
|
19234
19323
|
extendStatics = Object.setPrototypeOf ||
|
|
19235
19324
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -19248,7 +19337,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19248
19337
|
* Represent the amount of padding in pixels to add to the side of a BoundingBox when setting the camera of a map.
|
|
19249
19338
|
*/
|
|
19250
19339
|
var Padding = /** @class */ (function (_super) {
|
|
19251
|
-
__extends$
|
|
19340
|
+
__extends$Z(Padding, _super);
|
|
19252
19341
|
function Padding() {
|
|
19253
19342
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
19254
19343
|
/**
|
|
@@ -19280,7 +19369,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19280
19369
|
return Padding;
|
|
19281
19370
|
}(Options));
|
|
19282
19371
|
|
|
19283
|
-
var __extends$
|
|
19372
|
+
var __extends$_ = (window && window.__extends) || (function () {
|
|
19284
19373
|
var extendStatics = function (d, b) {
|
|
19285
19374
|
extendStatics = Object.setPrototypeOf ||
|
|
19286
19375
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -19331,7 +19420,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19331
19420
|
* The options for setting the bounds of the map control's camera.
|
|
19332
19421
|
*/
|
|
19333
19422
|
var CameraBoundsOptions = /** @class */ (function (_super) {
|
|
19334
|
-
__extends$
|
|
19423
|
+
__extends$_(CameraBoundsOptions, _super);
|
|
19335
19424
|
function CameraBoundsOptions() {
|
|
19336
19425
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
19337
19426
|
/**
|
|
@@ -19402,7 +19491,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19402
19491
|
return CameraBoundsOptions;
|
|
19403
19492
|
}(Options));
|
|
19404
19493
|
|
|
19405
|
-
var __extends
|
|
19494
|
+
var __extends$$ = (window && window.__extends) || (function () {
|
|
19406
19495
|
var extendStatics = function (d, b) {
|
|
19407
19496
|
extendStatics = Object.setPrototypeOf ||
|
|
19408
19497
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -19421,7 +19510,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19421
19510
|
* The options for setting the map control's camera.
|
|
19422
19511
|
*/
|
|
19423
19512
|
var CameraOptions = /** @class */ (function (_super) {
|
|
19424
|
-
__extends
|
|
19513
|
+
__extends$$(CameraOptions, _super);
|
|
19425
19514
|
function CameraOptions() {
|
|
19426
19515
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
19427
19516
|
/**
|
|
@@ -19480,7 +19569,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19480
19569
|
return CameraOptions;
|
|
19481
19570
|
}(Options));
|
|
19482
19571
|
|
|
19483
|
-
var __extends
|
|
19572
|
+
var __extends$10 = (window && window.__extends) || (function () {
|
|
19484
19573
|
var extendStatics = function (d, b) {
|
|
19485
19574
|
extendStatics = Object.setPrototypeOf ||
|
|
19486
19575
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -19499,7 +19588,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19499
19588
|
* The options for a layer of the map.
|
|
19500
19589
|
*/
|
|
19501
19590
|
var LayerOptions$1 = /** @class */ (function (_super) {
|
|
19502
|
-
__extends
|
|
19591
|
+
__extends$10(LayerOptions, _super);
|
|
19503
19592
|
function LayerOptions() {
|
|
19504
19593
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
19505
19594
|
/**
|
|
@@ -19532,7 +19621,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19532
19621
|
return LayerOptions;
|
|
19533
19622
|
}(Options));
|
|
19534
19623
|
|
|
19535
|
-
var __extends$
|
|
19624
|
+
var __extends$11 = (window && window.__extends) || (function () {
|
|
19536
19625
|
var extendStatics = function (d, b) {
|
|
19537
19626
|
extendStatics = Object.setPrototypeOf ||
|
|
19538
19627
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -19552,7 +19641,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19552
19641
|
* @deprecated Use BubbleLayerOptions with atlas.layer.BubbleLayer instead.
|
|
19553
19642
|
*/
|
|
19554
19643
|
var CircleLayerOptions = /** @class */ (function (_super) {
|
|
19555
|
-
__extends$
|
|
19644
|
+
__extends$11(CircleLayerOptions, _super);
|
|
19556
19645
|
function CircleLayerOptions() {
|
|
19557
19646
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
19558
19647
|
/**
|
|
@@ -19584,7 +19673,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19584
19673
|
return CircleLayerOptions;
|
|
19585
19674
|
}(LayerOptions$1));
|
|
19586
19675
|
|
|
19587
|
-
var __extends$
|
|
19676
|
+
var __extends$12 = (window && window.__extends) || (function () {
|
|
19588
19677
|
var extendStatics = function (d, b) {
|
|
19589
19678
|
extendStatics = Object.setPrototypeOf ||
|
|
19590
19679
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -19604,7 +19693,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19604
19693
|
* @deprecated Use LineLayerOptions with atlas.layer.LineLayer instead.
|
|
19605
19694
|
*/
|
|
19606
19695
|
var LinestringLayerOptions = /** @class */ (function (_super) {
|
|
19607
|
-
__extends$
|
|
19696
|
+
__extends$12(LinestringLayerOptions, _super);
|
|
19608
19697
|
function LinestringLayerOptions() {
|
|
19609
19698
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
19610
19699
|
/**
|
|
@@ -19640,7 +19729,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19640
19729
|
return LinestringLayerOptions;
|
|
19641
19730
|
}(LayerOptions$1));
|
|
19642
19731
|
|
|
19643
|
-
var __extends$
|
|
19732
|
+
var __extends$13 = (window && window.__extends) || (function () {
|
|
19644
19733
|
var extendStatics = function (d, b) {
|
|
19645
19734
|
extendStatics = Object.setPrototypeOf ||
|
|
19646
19735
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -19660,7 +19749,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19660
19749
|
* @deprecated Use SymbolLayerOptions with atlas.layer.SymbolLayer instead.
|
|
19661
19750
|
*/
|
|
19662
19751
|
var PinLayerOptions = /** @class */ (function (_super) {
|
|
19663
|
-
__extends$
|
|
19752
|
+
__extends$13(PinLayerOptions, _super);
|
|
19664
19753
|
function PinLayerOptions() {
|
|
19665
19754
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
19666
19755
|
/**
|
|
@@ -19710,7 +19799,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19710
19799
|
return PinLayerOptions;
|
|
19711
19800
|
}(LayerOptions$1));
|
|
19712
19801
|
|
|
19713
|
-
var __extends$
|
|
19802
|
+
var __extends$14 = (window && window.__extends) || (function () {
|
|
19714
19803
|
var extendStatics = function (d, b) {
|
|
19715
19804
|
extendStatics = Object.setPrototypeOf ||
|
|
19716
19805
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -19730,7 +19819,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19730
19819
|
* @deprecated Use new PolygonLayerOptions with atlas.layer.PolygonLayer instead.
|
|
19731
19820
|
*/
|
|
19732
19821
|
var PolygonLayerOptions$1 = /** @class */ (function (_super) {
|
|
19733
|
-
__extends$
|
|
19822
|
+
__extends$14(PolygonLayerOptions, _super);
|
|
19734
19823
|
function PolygonLayerOptions() {
|
|
19735
19824
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
19736
19825
|
/**
|
|
@@ -19753,7 +19842,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19753
19842
|
return PolygonLayerOptions;
|
|
19754
19843
|
}(LayerOptions$1));
|
|
19755
19844
|
|
|
19756
|
-
var __extends$
|
|
19845
|
+
var __extends$15 = (window && window.__extends) || (function () {
|
|
19757
19846
|
var extendStatics = function (d, b) {
|
|
19758
19847
|
extendStatics = Object.setPrototypeOf ||
|
|
19759
19848
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -19773,7 +19862,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19773
19862
|
* @deprecated Use TileLayerOptions with atlas.layer.TileLayer instead.
|
|
19774
19863
|
*/
|
|
19775
19864
|
var RasterLayerOptions = /** @class */ (function (_super) {
|
|
19776
|
-
__extends$
|
|
19865
|
+
__extends$15(RasterLayerOptions, _super);
|
|
19777
19866
|
function RasterLayerOptions() {
|
|
19778
19867
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
19779
19868
|
/**
|
|
@@ -19785,7 +19874,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19785
19874
|
return RasterLayerOptions;
|
|
19786
19875
|
}(LayerOptions$1));
|
|
19787
19876
|
|
|
19788
|
-
var __extends$
|
|
19877
|
+
var __extends$16 = (window && window.__extends) || (function () {
|
|
19789
19878
|
var extendStatics = function (d, b) {
|
|
19790
19879
|
extendStatics = Object.setPrototypeOf ||
|
|
19791
19880
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -19804,7 +19893,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19804
19893
|
* The options for the map's lighting.
|
|
19805
19894
|
*/
|
|
19806
19895
|
var LightOptions = /** @class */ (function (_super) {
|
|
19807
|
-
__extends$
|
|
19896
|
+
__extends$16(LightOptions, _super);
|
|
19808
19897
|
function LightOptions() {
|
|
19809
19898
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
19810
19899
|
/**
|
|
@@ -19844,7 +19933,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19844
19933
|
return LightOptions;
|
|
19845
19934
|
}(Options));
|
|
19846
19935
|
|
|
19847
|
-
var __extends$
|
|
19936
|
+
var __extends$17 = (window && window.__extends) || (function () {
|
|
19848
19937
|
var extendStatics = function (d, b) {
|
|
19849
19938
|
extendStatics = Object.setPrototypeOf ||
|
|
19850
19939
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -19895,7 +19984,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19895
19984
|
* The options for the map's style.
|
|
19896
19985
|
*/
|
|
19897
19986
|
var StyleOptions = /** @class */ (function (_super) {
|
|
19898
|
-
__extends$
|
|
19987
|
+
__extends$17(StyleOptions, _super);
|
|
19899
19988
|
function StyleOptions() {
|
|
19900
19989
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
19901
19990
|
/**
|
|
@@ -20057,7 +20146,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
20057
20146
|
return StyleOptions;
|
|
20058
20147
|
}(Options));
|
|
20059
20148
|
|
|
20060
|
-
var __extends$
|
|
20149
|
+
var __extends$18 = (window && window.__extends) || (function () {
|
|
20061
20150
|
var extendStatics = function (d, b) {
|
|
20062
20151
|
extendStatics = Object.setPrototypeOf ||
|
|
20063
20152
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -20127,7 +20216,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
20127
20216
|
* Global properties used in all atlas service requests.
|
|
20128
20217
|
*/
|
|
20129
20218
|
var ServiceOptions = /** @class */ (function (_super) {
|
|
20130
|
-
__extends$
|
|
20219
|
+
__extends$18(ServiceOptions, _super);
|
|
20131
20220
|
function ServiceOptions() {
|
|
20132
20221
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
20133
20222
|
/**
|
|
@@ -20196,10 +20285,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
20196
20285
|
*/
|
|
20197
20286
|
_this["enable-accessibility"] = _this.enableAccessibility;
|
|
20198
20287
|
/**
|
|
20199
|
-
* Enable fallback to geocoder for
|
|
20288
|
+
* Enable the fallback to the REST API geocoder for detecting location accessibility if extracting location from vector data fails.
|
|
20289
|
+
* Disabling this option will prevent the generation of geocode API requests but may lead to a lack of location information for screen readers.
|
|
20200
20290
|
* default: true
|
|
20201
20291
|
* @default true
|
|
20202
|
-
* @internal
|
|
20203
20292
|
*/
|
|
20204
20293
|
_this.enableAccessibilityLocationFallback = true;
|
|
20205
20294
|
/**
|
|
@@ -20967,14 +21056,13 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
20967
21056
|
return !previousStyle
|
|
20968
21057
|
? nextStyle
|
|
20969
21058
|
: this.map.layers._getUserLayers().reduce(function (style, userLayer) {
|
|
21059
|
+
var _a, _b;
|
|
20970
21060
|
if (userLayer.layer instanceof WebGLLayer) {
|
|
20971
21061
|
// mapbox custom layers cannot be serialized and preserved,
|
|
20972
21062
|
// return to continue to the next user layer.
|
|
20973
21063
|
return style;
|
|
20974
21064
|
}
|
|
20975
|
-
var
|
|
20976
|
-
? layerGroupLayers[userLayer.before][0]
|
|
20977
|
-
: undefined;
|
|
21065
|
+
var beforeLayerId = ((_b = (_a = layerGroupLayers === null || layerGroupLayers === void 0 ? void 0 : layerGroupLayers[userLayer.before]) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.id) || userLayer.before;
|
|
20978
21066
|
var layer = previousStyle.layers.find(function (layer) { return layer.id === userLayer.layer.getId(); });
|
|
20979
21067
|
// when setStyle diff attempt is unsuccesful, _load will be called on the style that may have already injected user layers -> clean it up
|
|
20980
21068
|
var existingLayerIdx = nextStyle.layers.findIndex(function (layer) { return layer.id === userLayer.layer.getId(); });
|
|
@@ -20985,7 +21073,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
20985
21073
|
var sourcesToCopy = new Set(Array.from(userLayer.layer._getSourceIds())
|
|
20986
21074
|
.map(function (sourceId) { return previousStyle.sources[sourceId] ? { source: previousStyle.sources[sourceId], id: sourceId } : undefined; })
|
|
20987
21075
|
.filter(function (source) { return source !== undefined; }));
|
|
20988
|
-
var insertIdx =
|
|
21076
|
+
var insertIdx = beforeLayerId ? style.layers.findIndex(function (layer) { return layer.id === beforeLayerId; }) : -1;
|
|
20989
21077
|
if (insertIdx > -1) {
|
|
20990
21078
|
style.layers.splice(insertIdx, 0, layer);
|
|
20991
21079
|
}
|
|
@@ -21378,7 +21466,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
21378
21466
|
return AccessibleIndicatorManager;
|
|
21379
21467
|
}());
|
|
21380
21468
|
|
|
21381
|
-
var __extends$
|
|
21469
|
+
var __extends$19 = (window && window.__extends) || (function () {
|
|
21382
21470
|
var extendStatics = function (d, b) {
|
|
21383
21471
|
extendStatics = Object.setPrototypeOf ||
|
|
21384
21472
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -21476,7 +21564,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
21476
21564
|
* The control for a visual and interactive web map.
|
|
21477
21565
|
*/
|
|
21478
21566
|
var Map$2 = /** @class */ (function (_super) {
|
|
21479
|
-
__extends$
|
|
21567
|
+
__extends$19(Map, _super);
|
|
21480
21568
|
/**
|
|
21481
21569
|
* Displays a map in the specified container.
|
|
21482
21570
|
* @param container The id of the element where the map should be displayed.
|