azure-maps-control 2.3.5 → 2.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atlas-core-bare-snr.js +285 -197
- package/dist/atlas-core-bare.js +287 -199
- package/dist/atlas-core-bare.min.js +1 -1
- package/dist/atlas-core-snr.js +285 -197
- package/dist/atlas-core.js +287 -199
- package/dist/atlas-core.min.js +1 -1
- package/dist/atlas.css +3 -2
- package/dist/atlas.js +287 -199
- package/dist/atlas.min.css +1 -1
- package/dist/atlas.min.js +1 -1
- package/package.json +1 -1
- package/typings/index.d.ts +81 -3
package/dist/atlas-core-bare.js
CHANGED
|
@@ -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
|
|
|
@@ -18008,7 +18097,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
18008
18097
|
return FlowServiceDelegate;
|
|
18009
18098
|
}());
|
|
18010
18099
|
|
|
18011
|
-
var __extends$
|
|
18100
|
+
var __extends$V = (window && window.__extends) || (function () {
|
|
18012
18101
|
var extendStatics = function (d, b) {
|
|
18013
18102
|
extendStatics = Object.setPrototypeOf ||
|
|
18014
18103
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -18027,7 +18116,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
18027
18116
|
* @private
|
|
18028
18117
|
*/
|
|
18029
18118
|
var Incident = /** @class */ (function (_super) {
|
|
18030
|
-
__extends$
|
|
18119
|
+
__extends$V(Incident, _super);
|
|
18031
18120
|
function Incident(data, point, localizedStrings) {
|
|
18032
18121
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1;
|
|
18033
18122
|
var _this = this;
|
|
@@ -18522,7 +18611,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
18522
18611
|
return IncidentServiceDelegate;
|
|
18523
18612
|
}());
|
|
18524
18613
|
|
|
18525
|
-
var __extends$
|
|
18614
|
+
var __extends$W = (window && window.__extends) || (function () {
|
|
18526
18615
|
var extendStatics = function (d, b) {
|
|
18527
18616
|
extendStatics = Object.setPrototypeOf ||
|
|
18528
18617
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -18541,7 +18630,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
18541
18630
|
* The options for enabling/disabling user interaction with the map.
|
|
18542
18631
|
*/
|
|
18543
18632
|
var UserInteractionOptions = /** @class */ (function (_super) {
|
|
18544
|
-
__extends$
|
|
18633
|
+
__extends$W(UserInteractionOptions, _super);
|
|
18545
18634
|
function UserInteractionOptions() {
|
|
18546
18635
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
18547
18636
|
/**
|
|
@@ -25674,7 +25763,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
25674
25763
|
return ImageSpriteManager;
|
|
25675
25764
|
}());
|
|
25676
25765
|
|
|
25677
|
-
var __extends$
|
|
25766
|
+
var __extends$X = (window && window.__extends) || (function () {
|
|
25678
25767
|
var extendStatics = function (d, b) {
|
|
25679
25768
|
extendStatics = Object.setPrototypeOf ||
|
|
25680
25769
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -25706,7 +25795,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
25706
25795
|
* @private
|
|
25707
25796
|
*/
|
|
25708
25797
|
var FundamentalMapLayer = /** @class */ (function (_super) {
|
|
25709
|
-
__extends$
|
|
25798
|
+
__extends$X(FundamentalMapLayer, _super);
|
|
25710
25799
|
/**
|
|
25711
25800
|
* Constructs a base layer used to represent the base, transit, and labels layers.
|
|
25712
25801
|
* @param mbLayers The stylesheet used to define the style sources and style layers.
|
|
@@ -26482,7 +26571,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
26482
26571
|
return PopupManager;
|
|
26483
26572
|
}());
|
|
26484
26573
|
|
|
26485
|
-
var __extends$
|
|
26574
|
+
var __extends$Y = (window && window.__extends) || (function () {
|
|
26486
26575
|
var extendStatics = function (d, b) {
|
|
26487
26576
|
extendStatics = Object.setPrototypeOf ||
|
|
26488
26577
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -26513,7 +26602,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
26513
26602
|
* @private
|
|
26514
26603
|
*/
|
|
26515
26604
|
var FundamentalMapSource = /** @class */ (function (_super) {
|
|
26516
|
-
__extends$
|
|
26605
|
+
__extends$Y(FundamentalMapSource, _super);
|
|
26517
26606
|
/**
|
|
26518
26607
|
* Constructs a source from the contents of a layer resource file.
|
|
26519
26608
|
* @param id The source's id.
|
|
@@ -26656,59 +26745,59 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
26656
26745
|
var features = this.map._getMap().querySourceFeatures(sourceID, { sourceLayer: sourceLayer, filter: filter });
|
|
26657
26746
|
return this.map.sources._mapFeaturesToShapes(features, true, this.sources.get(sourceID));
|
|
26658
26747
|
};
|
|
26659
|
-
|
|
26660
|
-
|
|
26661
|
-
|
|
26662
|
-
|
|
26663
|
-
|
|
26664
|
-
|
|
26665
|
-
|
|
26666
|
-
|
|
26667
|
-
|
|
26668
|
-
|
|
26669
|
-
|
|
26670
|
-
|
|
26671
|
-
|
|
26672
|
-
|
|
26673
|
-
|
|
26674
|
-
|
|
26675
|
-
|
|
26676
|
-
|
|
26677
|
-
|
|
26678
|
-
|
|
26679
|
-
|
|
26680
|
-
|
|
26681
|
-
|
|
26682
|
-
|
|
26683
|
-
|
|
26684
|
-
|
|
26685
|
-
|
|
26686
|
-
|
|
26687
|
-
|
|
26688
|
-
|
|
26689
|
-
|
|
26690
|
-
|
|
26691
|
-
|
|
26692
|
-
|
|
26693
|
-
|
|
26694
|
-
|
|
26695
|
-
|
|
26696
|
-
|
|
26697
|
-
|
|
26698
|
-
|
|
26699
|
-
|
|
26700
|
-
|
|
26701
|
-
|
|
26702
|
-
|
|
26703
|
-
|
|
26704
|
-
|
|
26705
|
-
|
|
26706
|
-
|
|
26707
|
-
|
|
26708
|
-
|
|
26709
|
-
|
|
26710
|
-
|
|
26711
|
-
|
|
26748
|
+
/**
|
|
26749
|
+
* Gets the state of a feature
|
|
26750
|
+
* @param feature the ID of the feature
|
|
26751
|
+
* @param source the ID of the source
|
|
26752
|
+
* @param sourceLayer the ID of the layer
|
|
26753
|
+
*/
|
|
26754
|
+
SourceManager.prototype.getFeatureState = function (feature, source, sourceLayer) {
|
|
26755
|
+
var featureId;
|
|
26756
|
+
if (typeof feature === "string") {
|
|
26757
|
+
featureId = feature;
|
|
26758
|
+
}
|
|
26759
|
+
else {
|
|
26760
|
+
featureId = feature instanceof Shape ? feature.getId() : feature.id;
|
|
26761
|
+
}
|
|
26762
|
+
var featureSource = typeof source === "string" ? source : source.getId();
|
|
26763
|
+
return this.map._getMap().getFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer });
|
|
26764
|
+
};
|
|
26765
|
+
/**
|
|
26766
|
+
* Removes the state or a single key value of the state of a feature.
|
|
26767
|
+
* @param feature the ID of the feature
|
|
26768
|
+
* @param source the ID of the source
|
|
26769
|
+
* @param sourceLayer the ID of the layer
|
|
26770
|
+
* @param key the key in the feature state to update
|
|
26771
|
+
*/
|
|
26772
|
+
SourceManager.prototype.removeFeatureState = function (feature, source, sourceLayer, key) {
|
|
26773
|
+
var featureId;
|
|
26774
|
+
if (typeof feature === "string") {
|
|
26775
|
+
featureId = feature;
|
|
26776
|
+
}
|
|
26777
|
+
else {
|
|
26778
|
+
featureId = feature instanceof Shape ? feature.getId() : feature.id;
|
|
26779
|
+
}
|
|
26780
|
+
var featureSource = typeof source === "string" ? source : source.getId();
|
|
26781
|
+
this.map._getMap().removeFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer }, key);
|
|
26782
|
+
};
|
|
26783
|
+
/**
|
|
26784
|
+
* Sets the state of the feature by passing in a key value pair object.
|
|
26785
|
+
* @param feature the ID of the feature
|
|
26786
|
+
* @param source the ID of the source
|
|
26787
|
+
* @param sourceLayer the ID of the layer
|
|
26788
|
+
* @param key the key in the feature state to update
|
|
26789
|
+
*/
|
|
26790
|
+
SourceManager.prototype.setFeatureState = function (feature, source, state, sourceLayer) {
|
|
26791
|
+
var featureId;
|
|
26792
|
+
if (typeof feature === "string") {
|
|
26793
|
+
featureId = feature;
|
|
26794
|
+
}
|
|
26795
|
+
else {
|
|
26796
|
+
featureId = feature instanceof Shape ? feature.getId() : feature.id;
|
|
26797
|
+
}
|
|
26798
|
+
var featureSource = typeof source === "string" ? source : source.getId();
|
|
26799
|
+
this.map._getMap().setFeatureState({ id: featureId, source: featureSource, sourceLayer: sourceLayer }, state);
|
|
26800
|
+
};
|
|
26712
26801
|
/**
|
|
26713
26802
|
* @internal
|
|
26714
26803
|
*/
|
|
@@ -26909,7 +26998,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
26909
26998
|
return SourceManager;
|
|
26910
26999
|
}());
|
|
26911
27000
|
|
|
26912
|
-
var __extends$
|
|
27001
|
+
var __extends$Z = (window && window.__extends) || (function () {
|
|
26913
27002
|
var extendStatics = function (d, b) {
|
|
26914
27003
|
extendStatics = Object.setPrototypeOf ||
|
|
26915
27004
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -26928,7 +27017,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
26928
27017
|
* The options for animating changes to the map control's camera.
|
|
26929
27018
|
*/
|
|
26930
27019
|
var AnimationOptions = /** @class */ (function (_super) {
|
|
26931
|
-
__extends$
|
|
27020
|
+
__extends$Z(AnimationOptions, _super);
|
|
26932
27021
|
function AnimationOptions() {
|
|
26933
27022
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
26934
27023
|
/**
|
|
@@ -26952,7 +27041,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
26952
27041
|
return AnimationOptions;
|
|
26953
27042
|
}(Options));
|
|
26954
27043
|
|
|
26955
|
-
var __extends$
|
|
27044
|
+
var __extends$_ = (window && window.__extends) || (function () {
|
|
26956
27045
|
var extendStatics = function (d, b) {
|
|
26957
27046
|
extendStatics = Object.setPrototypeOf ||
|
|
26958
27047
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -26971,7 +27060,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
26971
27060
|
* Represent the amount of padding in pixels to add to the side of a BoundingBox when setting the camera of a map.
|
|
26972
27061
|
*/
|
|
26973
27062
|
var Padding = /** @class */ (function (_super) {
|
|
26974
|
-
__extends$
|
|
27063
|
+
__extends$_(Padding, _super);
|
|
26975
27064
|
function Padding() {
|
|
26976
27065
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
26977
27066
|
/**
|
|
@@ -27003,7 +27092,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27003
27092
|
return Padding;
|
|
27004
27093
|
}(Options));
|
|
27005
27094
|
|
|
27006
|
-
var __extends
|
|
27095
|
+
var __extends$$ = (window && window.__extends) || (function () {
|
|
27007
27096
|
var extendStatics = function (d, b) {
|
|
27008
27097
|
extendStatics = Object.setPrototypeOf ||
|
|
27009
27098
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -27054,7 +27143,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27054
27143
|
* The options for setting the bounds of the map control's camera.
|
|
27055
27144
|
*/
|
|
27056
27145
|
var CameraBoundsOptions = /** @class */ (function (_super) {
|
|
27057
|
-
__extends
|
|
27146
|
+
__extends$$(CameraBoundsOptions, _super);
|
|
27058
27147
|
function CameraBoundsOptions() {
|
|
27059
27148
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
27060
27149
|
/**
|
|
@@ -27125,7 +27214,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27125
27214
|
return CameraBoundsOptions;
|
|
27126
27215
|
}(Options));
|
|
27127
27216
|
|
|
27128
|
-
var __extends
|
|
27217
|
+
var __extends$10 = (window && window.__extends) || (function () {
|
|
27129
27218
|
var extendStatics = function (d, b) {
|
|
27130
27219
|
extendStatics = Object.setPrototypeOf ||
|
|
27131
27220
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -27144,7 +27233,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27144
27233
|
* The options for setting the map control's camera.
|
|
27145
27234
|
*/
|
|
27146
27235
|
var CameraOptions = /** @class */ (function (_super) {
|
|
27147
|
-
__extends
|
|
27236
|
+
__extends$10(CameraOptions, _super);
|
|
27148
27237
|
function CameraOptions() {
|
|
27149
27238
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
27150
27239
|
/**
|
|
@@ -27203,7 +27292,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27203
27292
|
return CameraOptions;
|
|
27204
27293
|
}(Options));
|
|
27205
27294
|
|
|
27206
|
-
var __extends$
|
|
27295
|
+
var __extends$11 = (window && window.__extends) || (function () {
|
|
27207
27296
|
var extendStatics = function (d, b) {
|
|
27208
27297
|
extendStatics = Object.setPrototypeOf ||
|
|
27209
27298
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -27222,7 +27311,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27222
27311
|
* The options for a layer of the map.
|
|
27223
27312
|
*/
|
|
27224
27313
|
var LayerOptions$1 = /** @class */ (function (_super) {
|
|
27225
|
-
__extends$
|
|
27314
|
+
__extends$11(LayerOptions, _super);
|
|
27226
27315
|
function LayerOptions() {
|
|
27227
27316
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
27228
27317
|
/**
|
|
@@ -27255,7 +27344,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27255
27344
|
return LayerOptions;
|
|
27256
27345
|
}(Options));
|
|
27257
27346
|
|
|
27258
|
-
var __extends$
|
|
27347
|
+
var __extends$12 = (window && window.__extends) || (function () {
|
|
27259
27348
|
var extendStatics = function (d, b) {
|
|
27260
27349
|
extendStatics = Object.setPrototypeOf ||
|
|
27261
27350
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -27275,7 +27364,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27275
27364
|
* @deprecated Use BubbleLayerOptions with atlas.layer.BubbleLayer instead.
|
|
27276
27365
|
*/
|
|
27277
27366
|
var CircleLayerOptions = /** @class */ (function (_super) {
|
|
27278
|
-
__extends$
|
|
27367
|
+
__extends$12(CircleLayerOptions, _super);
|
|
27279
27368
|
function CircleLayerOptions() {
|
|
27280
27369
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
27281
27370
|
/**
|
|
@@ -27307,7 +27396,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27307
27396
|
return CircleLayerOptions;
|
|
27308
27397
|
}(LayerOptions$1));
|
|
27309
27398
|
|
|
27310
|
-
var __extends$
|
|
27399
|
+
var __extends$13 = (window && window.__extends) || (function () {
|
|
27311
27400
|
var extendStatics = function (d, b) {
|
|
27312
27401
|
extendStatics = Object.setPrototypeOf ||
|
|
27313
27402
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -27327,7 +27416,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27327
27416
|
* @deprecated Use LineLayerOptions with atlas.layer.LineLayer instead.
|
|
27328
27417
|
*/
|
|
27329
27418
|
var LinestringLayerOptions = /** @class */ (function (_super) {
|
|
27330
|
-
__extends$
|
|
27419
|
+
__extends$13(LinestringLayerOptions, _super);
|
|
27331
27420
|
function LinestringLayerOptions() {
|
|
27332
27421
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
27333
27422
|
/**
|
|
@@ -27363,7 +27452,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27363
27452
|
return LinestringLayerOptions;
|
|
27364
27453
|
}(LayerOptions$1));
|
|
27365
27454
|
|
|
27366
|
-
var __extends$
|
|
27455
|
+
var __extends$14 = (window && window.__extends) || (function () {
|
|
27367
27456
|
var extendStatics = function (d, b) {
|
|
27368
27457
|
extendStatics = Object.setPrototypeOf ||
|
|
27369
27458
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -27383,7 +27472,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27383
27472
|
* @deprecated Use SymbolLayerOptions with atlas.layer.SymbolLayer instead.
|
|
27384
27473
|
*/
|
|
27385
27474
|
var PinLayerOptions = /** @class */ (function (_super) {
|
|
27386
|
-
__extends$
|
|
27475
|
+
__extends$14(PinLayerOptions, _super);
|
|
27387
27476
|
function PinLayerOptions() {
|
|
27388
27477
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
27389
27478
|
/**
|
|
@@ -27433,7 +27522,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27433
27522
|
return PinLayerOptions;
|
|
27434
27523
|
}(LayerOptions$1));
|
|
27435
27524
|
|
|
27436
|
-
var __extends$
|
|
27525
|
+
var __extends$15 = (window && window.__extends) || (function () {
|
|
27437
27526
|
var extendStatics = function (d, b) {
|
|
27438
27527
|
extendStatics = Object.setPrototypeOf ||
|
|
27439
27528
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -27453,7 +27542,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27453
27542
|
* @deprecated Use new PolygonLayerOptions with atlas.layer.PolygonLayer instead.
|
|
27454
27543
|
*/
|
|
27455
27544
|
var PolygonLayerOptions$1 = /** @class */ (function (_super) {
|
|
27456
|
-
__extends$
|
|
27545
|
+
__extends$15(PolygonLayerOptions, _super);
|
|
27457
27546
|
function PolygonLayerOptions() {
|
|
27458
27547
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
27459
27548
|
/**
|
|
@@ -27476,7 +27565,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27476
27565
|
return PolygonLayerOptions;
|
|
27477
27566
|
}(LayerOptions$1));
|
|
27478
27567
|
|
|
27479
|
-
var __extends$
|
|
27568
|
+
var __extends$16 = (window && window.__extends) || (function () {
|
|
27480
27569
|
var extendStatics = function (d, b) {
|
|
27481
27570
|
extendStatics = Object.setPrototypeOf ||
|
|
27482
27571
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -27496,7 +27585,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27496
27585
|
* @deprecated Use TileLayerOptions with atlas.layer.TileLayer instead.
|
|
27497
27586
|
*/
|
|
27498
27587
|
var RasterLayerOptions = /** @class */ (function (_super) {
|
|
27499
|
-
__extends$
|
|
27588
|
+
__extends$16(RasterLayerOptions, _super);
|
|
27500
27589
|
function RasterLayerOptions() {
|
|
27501
27590
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
27502
27591
|
/**
|
|
@@ -27508,7 +27597,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27508
27597
|
return RasterLayerOptions;
|
|
27509
27598
|
}(LayerOptions$1));
|
|
27510
27599
|
|
|
27511
|
-
var __extends$
|
|
27600
|
+
var __extends$17 = (window && window.__extends) || (function () {
|
|
27512
27601
|
var extendStatics = function (d, b) {
|
|
27513
27602
|
extendStatics = Object.setPrototypeOf ||
|
|
27514
27603
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -27527,7 +27616,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27527
27616
|
* The options for the map's lighting.
|
|
27528
27617
|
*/
|
|
27529
27618
|
var LightOptions = /** @class */ (function (_super) {
|
|
27530
|
-
__extends$
|
|
27619
|
+
__extends$17(LightOptions, _super);
|
|
27531
27620
|
function LightOptions() {
|
|
27532
27621
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
27533
27622
|
/**
|
|
@@ -27567,7 +27656,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27567
27656
|
return LightOptions;
|
|
27568
27657
|
}(Options));
|
|
27569
27658
|
|
|
27570
|
-
var __extends$
|
|
27659
|
+
var __extends$18 = (window && window.__extends) || (function () {
|
|
27571
27660
|
var extendStatics = function (d, b) {
|
|
27572
27661
|
extendStatics = Object.setPrototypeOf ||
|
|
27573
27662
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -27618,7 +27707,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27618
27707
|
* The options for the map's style.
|
|
27619
27708
|
*/
|
|
27620
27709
|
var StyleOptions = /** @class */ (function (_super) {
|
|
27621
|
-
__extends$
|
|
27710
|
+
__extends$18(StyleOptions, _super);
|
|
27622
27711
|
function StyleOptions() {
|
|
27623
27712
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
27624
27713
|
/**
|
|
@@ -27780,7 +27869,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27780
27869
|
return StyleOptions;
|
|
27781
27870
|
}(Options));
|
|
27782
27871
|
|
|
27783
|
-
var __extends$
|
|
27872
|
+
var __extends$19 = (window && window.__extends) || (function () {
|
|
27784
27873
|
var extendStatics = function (d, b) {
|
|
27785
27874
|
extendStatics = Object.setPrototypeOf ||
|
|
27786
27875
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -27850,7 +27939,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27850
27939
|
* Global properties used in all atlas service requests.
|
|
27851
27940
|
*/
|
|
27852
27941
|
var ServiceOptions = /** @class */ (function (_super) {
|
|
27853
|
-
__extends$
|
|
27942
|
+
__extends$19(ServiceOptions, _super);
|
|
27854
27943
|
function ServiceOptions() {
|
|
27855
27944
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
27856
27945
|
/**
|
|
@@ -27919,10 +28008,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27919
28008
|
*/
|
|
27920
28009
|
_this["enable-accessibility"] = _this.enableAccessibility;
|
|
27921
28010
|
/**
|
|
27922
|
-
* Enable fallback to geocoder for
|
|
28011
|
+
* Enable the fallback to the REST API geocoder for detecting location accessibility if extracting location from vector data fails.
|
|
28012
|
+
* Disabling this option will prevent the generation of geocode API requests but may lead to a lack of location information for screen readers.
|
|
27923
28013
|
* default: true
|
|
27924
28014
|
* @default true
|
|
27925
|
-
* @internal
|
|
27926
28015
|
*/
|
|
27927
28016
|
_this.enableAccessibilityLocationFallback = true;
|
|
27928
28017
|
/**
|
|
@@ -28690,14 +28779,13 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
28690
28779
|
return !previousStyle
|
|
28691
28780
|
? nextStyle
|
|
28692
28781
|
: this.map.layers._getUserLayers().reduce(function (style, userLayer) {
|
|
28782
|
+
var _a, _b;
|
|
28693
28783
|
if (userLayer.layer instanceof WebGLLayer) {
|
|
28694
28784
|
// mapbox custom layers cannot be serialized and preserved,
|
|
28695
28785
|
// return to continue to the next user layer.
|
|
28696
28786
|
return style;
|
|
28697
28787
|
}
|
|
28698
|
-
var
|
|
28699
|
-
? layerGroupLayers[userLayer.before][0]
|
|
28700
|
-
: undefined;
|
|
28788
|
+
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;
|
|
28701
28789
|
var layer = previousStyle.layers.find(function (layer) { return layer.id === userLayer.layer.getId(); });
|
|
28702
28790
|
// when setStyle diff attempt is unsuccesful, _load will be called on the style that may have already injected user layers -> clean it up
|
|
28703
28791
|
var existingLayerIdx = nextStyle.layers.findIndex(function (layer) { return layer.id === userLayer.layer.getId(); });
|
|
@@ -28708,7 +28796,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
28708
28796
|
var sourcesToCopy = new Set(Array.from(userLayer.layer._getSourceIds())
|
|
28709
28797
|
.map(function (sourceId) { return previousStyle.sources[sourceId] ? { source: previousStyle.sources[sourceId], id: sourceId } : undefined; })
|
|
28710
28798
|
.filter(function (source) { return source !== undefined; }));
|
|
28711
|
-
var insertIdx =
|
|
28799
|
+
var insertIdx = beforeLayerId ? style.layers.findIndex(function (layer) { return layer.id === beforeLayerId; }) : -1;
|
|
28712
28800
|
if (insertIdx > -1) {
|
|
28713
28801
|
style.layers.splice(insertIdx, 0, layer);
|
|
28714
28802
|
}
|
|
@@ -29101,7 +29189,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
29101
29189
|
return AccessibleIndicatorManager;
|
|
29102
29190
|
}());
|
|
29103
29191
|
|
|
29104
|
-
var __extends$
|
|
29192
|
+
var __extends$1a = (window && window.__extends) || (function () {
|
|
29105
29193
|
var extendStatics = function (d, b) {
|
|
29106
29194
|
extendStatics = Object.setPrototypeOf ||
|
|
29107
29195
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
@@ -29199,7 +29287,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
29199
29287
|
* The control for a visual and interactive web map.
|
|
29200
29288
|
*/
|
|
29201
29289
|
var Map$2 = /** @class */ (function (_super) {
|
|
29202
|
-
__extends$
|
|
29290
|
+
__extends$1a(Map, _super);
|
|
29203
29291
|
/**
|
|
29204
29292
|
* Displays a map in the specified container.
|
|
29205
29293
|
* @param container The id of the element where the map should be displayed.
|