azure-maps-control 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atlas-core-bare-snr-min.js +1 -1
- package/dist/atlas-core-bare-snr.js +125 -118
- package/dist/atlas-core-bare.js +125 -118
- package/dist/atlas-core-bare.min.js +1 -1
- package/dist/atlas-core-snr.js +548 -375
- package/dist/atlas-core.js +548 -375
- package/dist/atlas-core.min.js +3 -3
- package/dist/atlas-esm.js +548 -375
- package/dist/atlas-esm.min.js +3 -3
- package/dist/atlas.js +548 -375
- package/dist/atlas.min.js +3 -3
- package/package.json +98 -98
- package/thirdpartynotices.txt +0 -0
- package/typings/index.d.ts +474 -474
|
@@ -886,7 +886,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
886
886
|
return UserAgent;
|
|
887
887
|
}());
|
|
888
888
|
|
|
889
|
-
var version = "3.2.
|
|
889
|
+
var version = "3.2.1";
|
|
890
890
|
|
|
891
891
|
/**
|
|
892
892
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -2311,6 +2311,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2311
2311
|
var grid = document.createElement("div");
|
|
2312
2312
|
grid.classList.add("sub-container");
|
|
2313
2313
|
grid.classList.add("hidden-accessible-element");
|
|
2314
|
+
grid.setAttribute("aria-hidden", "true");
|
|
2314
2315
|
var rotationRightButton = this.constructRightRotationButton(map);
|
|
2315
2316
|
var rotationLeftButton = this.constructLeftRotationButton(map);
|
|
2316
2317
|
var tooltipLeft = buildAccessibleTooltip("Rotate Left");
|
|
@@ -2606,6 +2607,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
2606
2607
|
var grid = document.createElement("div");
|
|
2607
2608
|
grid.classList.add("sub-container");
|
|
2608
2609
|
grid.classList.add("hidden-accessible-element");
|
|
2610
|
+
grid.setAttribute("aria-hidden", "true");
|
|
2609
2611
|
this.pitchIncrementButton = this.constructPitchIncrementButton(map);
|
|
2610
2612
|
this.pitchDecrementButton = this.constructPitchDecrementButton(map);
|
|
2611
2613
|
var tooltipIncrement = buildAccessibleTooltip("Increase Pitch");
|
|
@@ -6246,9 +6248,9 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6246
6248
|
function StyleControlOptions() {
|
|
6247
6249
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
6248
6250
|
/**
|
|
6249
|
-
* The layout to display the styles in
|
|
6250
|
-
*
|
|
6251
|
-
*
|
|
6251
|
+
* The layout to display the styles in.<br />
|
|
6252
|
+
* `"icons"`: A row of clickable icons for each style.<br />
|
|
6253
|
+
* `"list"`: A scrollable list with the icons and names for each style.<br />
|
|
6252
6254
|
* Default `"icons"`
|
|
6253
6255
|
* @default "icons"
|
|
6254
6256
|
*/
|
|
@@ -6653,6 +6655,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6653
6655
|
}
|
|
6654
6656
|
styleOpsGrid.setAttribute("aria-label", "Style Options");
|
|
6655
6657
|
styleOpsGrid.classList.add("hidden-accessible-element");
|
|
6658
|
+
styleOpsGrid.setAttribute("aria-hidden", "true");
|
|
6656
6659
|
// Once the map's style definition is initialized create a map between style names and icons.
|
|
6657
6660
|
// If a style is one of those to be shown by the style picker also create it's element.
|
|
6658
6661
|
this.map.styles.definitions().then(function (definitions) { return __awaiter$3(_this, void 0, void 0, function () {
|
|
@@ -6745,13 +6748,13 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
6745
6748
|
function TrafficOptions() {
|
|
6746
6749
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
6747
6750
|
/**
|
|
6748
|
-
* The type of traffic flow to display
|
|
6749
|
-
*
|
|
6750
|
-
*
|
|
6751
|
-
*
|
|
6752
|
-
*
|
|
6753
|
-
* false to stop displaying the traffic flow
|
|
6754
|
-
* default `"none"
|
|
6751
|
+
* The type of traffic flow to display:<br />
|
|
6752
|
+
* `"none"` is to display no traffic flow data<br />
|
|
6753
|
+
* `"relative"` is the speed of the road relative to free-flow<br />
|
|
6754
|
+
* @deprecated `"absolute"` is the absolute speed of the road<br />
|
|
6755
|
+
* @deprecated `"relative-delay"` displays relative speed only where they differ from free-flow;
|
|
6756
|
+
* false to stop displaying the traffic flow.<br />
|
|
6757
|
+
* default `"none"`
|
|
6755
6758
|
* @default "none"
|
|
6756
6759
|
*/
|
|
6757
6760
|
_this.flow = "none";
|
|
@@ -13125,9 +13128,9 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13125
13128
|
function ElevationTileSourceOptions() {
|
|
13126
13129
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
13127
13130
|
/**
|
|
13128
|
-
* DEM tiles encoding format. Supported: `mapbox` or `terrarium
|
|
13129
|
-
*
|
|
13130
|
-
*
|
|
13131
|
+
* DEM tiles encoding format. Supported: `mapbox` or `terrarium`.<br />
|
|
13132
|
+
* `"terrarium": Terrarium format PNG tiles. See https://aws.amazon.com/es/public-datasets/terrain/ for more info.<br />
|
|
13133
|
+
* `"mapbox": Mapbox Terrain RGB tiles. See https://www.mapbox.com/help/access-elevation-data/#mapbox-terrain-rgb for more info.<br />
|
|
13131
13134
|
* default `mapbox`
|
|
13132
13135
|
* @default mapbox
|
|
13133
13136
|
*/
|
|
@@ -13473,9 +13476,9 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
13473
13476
|
*/
|
|
13474
13477
|
_this.strokeWidth = 2;
|
|
13475
13478
|
/**
|
|
13476
|
-
* Specifies the orientation of circle when map is pitched
|
|
13477
|
-
*
|
|
13478
|
-
*
|
|
13479
|
+
* Specifies the orientation of circle when map is pitched.<br />
|
|
13480
|
+
* `"map"`: The circle is aligned to the plane of the map.<br />
|
|
13481
|
+
* `"viewport"`: The circle is aligned to the plane of the viewport.<br />
|
|
13479
13482
|
* Default: `"viewport"`
|
|
13480
13483
|
* @default "viewport"
|
|
13481
13484
|
*/
|
|
@@ -14513,24 +14516,24 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14513
14516
|
*/
|
|
14514
14517
|
_this.sourceLayer = undefined;
|
|
14515
14518
|
/**
|
|
14516
|
-
* Specifies how the ends of the lines are rendered
|
|
14517
|
-
*
|
|
14518
|
-
*
|
|
14519
|
-
* at a radius of one-half of the lines width and centered on the endpoint of the line
|
|
14520
|
-
*
|
|
14521
|
-
* at a distance of one-half of the line width
|
|
14519
|
+
* Specifies how the ends of the lines are rendered.<br />
|
|
14520
|
+
* `"butt"`: A cap with a squared-off end which is drawn to the exact endpoint of the line.<br />
|
|
14521
|
+
* `"round"`: A cap with a rounded end which is drawn beyond the endpoint of the line
|
|
14522
|
+
* at a radius of one-half of the lines width and centered on the endpoint of the line.<br />
|
|
14523
|
+
* `"square"`: A cap with a squared-off end which is drawn beyond the endpoint of the line
|
|
14524
|
+
* at a distance of one-half of the line width.<br />
|
|
14522
14525
|
* Default `"round"`.
|
|
14523
14526
|
* @default "round"
|
|
14524
14527
|
*/
|
|
14525
14528
|
_this.lineCap = "round";
|
|
14526
14529
|
/**
|
|
14527
|
-
* Specifies how the joints in the lines are rendered
|
|
14528
|
-
*
|
|
14529
|
-
* at a distance of one-half of the lines width
|
|
14530
|
-
*
|
|
14531
|
-
* at a radius of one-half of the lines width and centered on the endpoint of the line
|
|
14532
|
-
*
|
|
14533
|
-
* beyond the endpoint of the path until they meet
|
|
14530
|
+
* Specifies how the joints in the lines are rendered.<br />
|
|
14531
|
+
* `"bevel"`: A join with a squared-off end which is drawn beyond the endpoint of the line
|
|
14532
|
+
* at a distance of one-half of the lines width.<br />
|
|
14533
|
+
* `"round"`: A join with a rounded end which is drawn beyond the endpoint of the line
|
|
14534
|
+
* at a radius of one-half of the lines width and centered on the endpoint of the line.<br />
|
|
14535
|
+
* `"miter"`: A join with a sharp, angled corner which is drawn with the outer sides
|
|
14536
|
+
* beyond the endpoint of the path until they meet.<br />
|
|
14534
14537
|
* Default `"round"`.
|
|
14535
14538
|
* @default "round"
|
|
14536
14539
|
*/
|
|
@@ -14581,9 +14584,9 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14581
14584
|
*/
|
|
14582
14585
|
_this.translate = new Pixel(0, 0);
|
|
14583
14586
|
/**
|
|
14584
|
-
* Specifies the frame of reference for `translate
|
|
14585
|
-
*
|
|
14586
|
-
*
|
|
14587
|
+
* Specifies the frame of reference for `translate`.<br />
|
|
14588
|
+
* `"map"`: Lines are translated relative to the map.<br />
|
|
14589
|
+
* `"viewport"`: Lines are translated relative to the viewport<br />
|
|
14587
14590
|
* Default: `"map"`
|
|
14588
14591
|
* @default "map"
|
|
14589
14592
|
*/
|
|
@@ -14795,9 +14798,9 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
14795
14798
|
*/
|
|
14796
14799
|
_this.translate = new Pixel(0, 0);
|
|
14797
14800
|
/**
|
|
14798
|
-
* Specifies the frame of reference for `translate
|
|
14799
|
-
*
|
|
14800
|
-
*
|
|
14801
|
+
* Specifies the frame of reference for `translate`.<br />
|
|
14802
|
+
* `"map"`: Polygons are translated relative to the map.<br />
|
|
14803
|
+
* `"viewport"`: Polygons are translated relative to the viewport.<br />
|
|
14801
14804
|
* Default: `"map"`
|
|
14802
14805
|
* @default "map"
|
|
14803
14806
|
*/
|
|
@@ -15150,16 +15153,16 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15150
15153
|
*/
|
|
15151
15154
|
_this.allowOverlap = false;
|
|
15152
15155
|
/**
|
|
15153
|
-
* Specifies which part of the icon is placed closest to the icons anchor position on the map
|
|
15154
|
-
*
|
|
15155
|
-
*
|
|
15156
|
-
*
|
|
15157
|
-
*
|
|
15158
|
-
*
|
|
15159
|
-
*
|
|
15160
|
-
*
|
|
15161
|
-
*
|
|
15162
|
-
*
|
|
15156
|
+
* Specifies which part of the icon is placed closest to the icons anchor position on the map.<br />
|
|
15157
|
+
* `"center"`: The center of the icon is placed closest to the anchor.<br />
|
|
15158
|
+
* `"left"`: The left side of the icon is placed closest to the anchor.<br />
|
|
15159
|
+
* `"right"`: The right side of the icon is placed closest to the anchor.<br />
|
|
15160
|
+
* `"top"`: The top of the icon is placed closest to the anchor.<br />
|
|
15161
|
+
* `"bottom"`: The bottom of the icon is placed closest to the anchor.<br />
|
|
15162
|
+
* `"top-left"`: The top left corner of the icon is placed closest to the anchor.<br />
|
|
15163
|
+
* `"top-right"`: The top right corner of the icon is placed closest to the anchor.<br />
|
|
15164
|
+
* `"bottom-left"`: The bottom left corner of the icon is placed closest to the anchor.<br />
|
|
15165
|
+
* `"bottom-right"`: The bottom right corner of the icon is placed closest to the anchor.<br />
|
|
15163
15166
|
* Default `"bottom"`.
|
|
15164
15167
|
* @default "bottom"
|
|
15165
15168
|
*/
|
|
@@ -15204,10 +15207,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15204
15207
|
*/
|
|
15205
15208
|
_this.padding = 2;
|
|
15206
15209
|
/**
|
|
15207
|
-
* Specifies the orientation of the icon when the map is pitched
|
|
15208
|
-
*
|
|
15209
|
-
*
|
|
15210
|
-
*
|
|
15210
|
+
* Specifies the orientation of the icon when the map is pitched.<br />
|
|
15211
|
+
* `"auto"`: Automatically matches the value of `rotationAlignment`.<br />
|
|
15212
|
+
* `"map"`: The icon is aligned to the plane of the map.<br />
|
|
15213
|
+
* `"viewport"`: The icon is aligned to the plane of the viewport<br />
|
|
15211
15214
|
* Default `"auto"`
|
|
15212
15215
|
* @default "auto"
|
|
15213
15216
|
*/
|
|
@@ -15220,12 +15223,12 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15220
15223
|
_this.rotation = 0;
|
|
15221
15224
|
/**
|
|
15222
15225
|
* In combination with the placement property of a SymbolLayerOptions
|
|
15223
|
-
* this determines the rotation behavior of icons
|
|
15224
|
-
*
|
|
15225
|
-
* When placement is "line" this is equivalent to "map"
|
|
15226
|
-
*
|
|
15227
|
-
* When placement is "line" aligns the icons' x-axes with the line
|
|
15228
|
-
*
|
|
15226
|
+
* this determines the rotation behavior of icons.<br />
|
|
15227
|
+
* `"auto"`: When placement is "point" this is equivalent to "viewport".
|
|
15228
|
+
* When placement is "line" this is equivalent to "map".<br />
|
|
15229
|
+
* `"map"`: When placement is "point" aligns icons east-west.
|
|
15230
|
+
* When placement is "line" aligns the icons' x-axes with the line.<br />
|
|
15231
|
+
* `"viewport"`: Icons' x-axes will align with the x-axis of the viewport.<br />
|
|
15229
15232
|
* Default `"auto"`.
|
|
15230
15233
|
* @default "auto"
|
|
15231
15234
|
*/
|
|
@@ -15278,16 +15281,16 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15278
15281
|
*/
|
|
15279
15282
|
_this.allowOverlap = false;
|
|
15280
15283
|
/**
|
|
15281
|
-
* Specifies which part of the icon is placed closest to the icons anchor position on the map
|
|
15282
|
-
*
|
|
15283
|
-
*
|
|
15284
|
-
*
|
|
15285
|
-
*
|
|
15286
|
-
*
|
|
15287
|
-
*
|
|
15288
|
-
*
|
|
15289
|
-
*
|
|
15290
|
-
*
|
|
15284
|
+
* Specifies which part of the icon is placed closest to the icons anchor position on the map.<br />
|
|
15285
|
+
* `"center"`: The center of the icon is placed closest to the anchor.<br />
|
|
15286
|
+
* `"left"`: The left side of the icon is placed closest to the anchor.<br />
|
|
15287
|
+
* `"right"`: The right side of the icon is placed closest to the anchor.<br />
|
|
15288
|
+
* `"top"`: The top of the icon is placed closest to the anchor.<br />
|
|
15289
|
+
* `"bottom"`: The bottom of the icon is placed closest to the anchor.<br />
|
|
15290
|
+
* `"top-left"`: The top left corner of the icon is placed closest to the anchor.<br />
|
|
15291
|
+
* `"top-right"`: The top right corner of the icon is placed closest to the anchor.<br />
|
|
15292
|
+
* `"bottom-left"`: The bottom left corner of the icon is placed closest to the anchor.<br />
|
|
15293
|
+
* `"bottom-right"`: The bottom right corner of the icon is placed closest to the anchor.<br />
|
|
15291
15294
|
* Default `"center"`.
|
|
15292
15295
|
* @default "center"
|
|
15293
15296
|
*/
|
|
@@ -15317,11 +15320,11 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15317
15320
|
*/
|
|
15318
15321
|
_this.ignorePlacement = false;
|
|
15319
15322
|
/**
|
|
15320
|
-
* Text justification options
|
|
15321
|
-
*
|
|
15322
|
-
*
|
|
15323
|
-
*
|
|
15324
|
-
*
|
|
15323
|
+
* Text justification options.<br />
|
|
15324
|
+
* `"auto"`: The text is aligned towards the anchor position.<br />
|
|
15325
|
+
* `"left"`: The text is aligned to the left.<br />
|
|
15326
|
+
* `"center"`: The text is centered.<br />
|
|
15327
|
+
* `"right"`: The text is aligned to the right.<br />
|
|
15325
15328
|
* Default `"center"`.
|
|
15326
15329
|
* @default "center"
|
|
15327
15330
|
*/
|
|
@@ -15349,10 +15352,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15349
15352
|
*/
|
|
15350
15353
|
_this.padding = 2;
|
|
15351
15354
|
/**
|
|
15352
|
-
* Specifies the orientation of the text when the map is pitched
|
|
15353
|
-
*
|
|
15354
|
-
*
|
|
15355
|
-
*
|
|
15355
|
+
* Specifies the orientation of the text when the map is pitched.<br />
|
|
15356
|
+
* `"auto"`: Automatically matches the value of `rotationAlignment`.<br />
|
|
15357
|
+
* `"map"`: The text is aligned to the plane of the map.<br />
|
|
15358
|
+
* `"viewport"`: The text is aligned to the plane of the viewport.<br />
|
|
15356
15359
|
* Default: `"auto"`
|
|
15357
15360
|
* @default "auto"
|
|
15358
15361
|
*/
|
|
@@ -15372,13 +15375,13 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15372
15375
|
_this.rotation = 0;
|
|
15373
15376
|
/**
|
|
15374
15377
|
* In combination with the `placement` property of the `SymbolLayerOptions`,
|
|
15375
|
-
* specifies the rotation behavior of the individual glyphs forming the text
|
|
15376
|
-
*
|
|
15377
|
-
* When the `placement` is set to `"line"` this is equivalent to `"map"
|
|
15378
|
-
*
|
|
15379
|
-
* When the `placement` is set to `"line"`, aligns text x-axes with the line
|
|
15380
|
-
*
|
|
15381
|
-
* regardless of the value of `placement
|
|
15378
|
+
* specifies the rotation behavior of the individual glyphs forming the text.<br />
|
|
15379
|
+
* `"auto"`: When the `placement` is set to `"point"`, this is equivalent to `"map"`.
|
|
15380
|
+
* When the `placement` is set to `"line"` this is equivalent to `"map"`.<br />
|
|
15381
|
+
* `"map"`: When the `placement` is set to `"point"`, aligns text east-west.
|
|
15382
|
+
* When the `placement` is set to `"line"`, aligns text x-axes with the line.<br />
|
|
15383
|
+
* `"viewport"`: Produces glyphs whose x-axes are aligned with the x-axis of the viewport,
|
|
15384
|
+
* regardless of the value of `placement`.<br />
|
|
15382
15385
|
* Default: `"auto"`
|
|
15383
15386
|
* @default "auto"
|
|
15384
15387
|
*/
|
|
@@ -15388,16 +15391,16 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15388
15391
|
* labels on the map. The renderer will attempt to place the label at each location,
|
|
15389
15392
|
* in order, before moving onto the next label. Use `justify: "auto"` to choose text
|
|
15390
15393
|
* justification based on anchor position. To apply an offset use the `radialOffset` or
|
|
15391
|
-
* two-dimensional `offset` options
|
|
15392
|
-
*
|
|
15393
|
-
*
|
|
15394
|
-
*
|
|
15395
|
-
*
|
|
15396
|
-
*
|
|
15397
|
-
*
|
|
15398
|
-
*
|
|
15399
|
-
*
|
|
15400
|
-
*
|
|
15394
|
+
* two-dimensional `offset` options.<br />
|
|
15395
|
+
* `"center"`: The center of the icon is placed closest to the anchor.<br />
|
|
15396
|
+
* `"left"`: The left side of the icon is placed closest to the anchor.<br />
|
|
15397
|
+
* `"right"`: The right side of the icon is placed closest to the anchor.<br />
|
|
15398
|
+
* `"top"`: The top of the icon is placed closest to the anchor.<br />
|
|
15399
|
+
* `"bottom"`: The bottom of the icon is placed closest to the anchor.<br />
|
|
15400
|
+
* `"top-left"`: The top left corner of the icon is placed closest to the anchor.<br />
|
|
15401
|
+
* `"top-right"`: The top right corner of the icon is placed closest to the anchor.<br />
|
|
15402
|
+
* `"bottom-left"`: The bottom left corner of the icon is placed closest to the anchor.<br />
|
|
15403
|
+
* `"bottom-right"`: The bottom right corner of the icon is placed closest to the anchor.<br />
|
|
15401
15404
|
* Default: `undefined`
|
|
15402
15405
|
* @default undefined
|
|
15403
15406
|
*/
|
|
@@ -15490,12 +15493,12 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15490
15493
|
*/
|
|
15491
15494
|
_this.textOptions = new TextOptions();
|
|
15492
15495
|
/**
|
|
15493
|
-
* Specifies the label placement relative to its geometry
|
|
15494
|
-
*
|
|
15495
|
-
*
|
|
15496
|
-
* Can only be used on LineString and Polygon geometries
|
|
15497
|
-
*
|
|
15498
|
-
* Can only be used on `LineString` and `Polygon` geometries
|
|
15496
|
+
* Specifies the label placement relative to its geometry.<br />
|
|
15497
|
+
* `"point"`: The label is placed at the point where the geometry is located.<br />
|
|
15498
|
+
* `"line"`: The label is placed along the line of the geometry.
|
|
15499
|
+
* Can only be used on LineString and Polygon geometries.<br />
|
|
15500
|
+
* `"line-center"`: The label is placed at the center of the line of the geometry.
|
|
15501
|
+
* Can only be used on `LineString` and `Polygon` geometries <br />
|
|
15499
15502
|
* Default `"point"`.
|
|
15500
15503
|
* @default "point"
|
|
15501
15504
|
*/
|
|
@@ -15510,12 +15513,12 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
15510
15513
|
/**
|
|
15511
15514
|
* Determines whether overlapping symbols in the same layer are rendered in the order
|
|
15512
15515
|
* that they appear in the data source, or by their y position relative to the viewport.
|
|
15513
|
-
* To control the order and prioritization of symbols otherwise, use `sortKey
|
|
15514
|
-
*
|
|
15515
|
-
*
|
|
15516
|
-
* if `ignorePlacement` is `false
|
|
15517
|
-
*
|
|
15518
|
-
* same order as the source data
|
|
15516
|
+
* To control the order and prioritization of symbols otherwise, use `sortKey`.<br />
|
|
15517
|
+
* `"auto"`: Sorts symbols by `sortKey` if set. Otherwise behaves like `"viewport-y"`.<br />
|
|
15518
|
+
* `"viewport-y"`: Sorts symbols by their y position if `allowOverlap` is `true` or
|
|
15519
|
+
* if `ignorePlacement` is `false`.<br />
|
|
15520
|
+
* `"source"`: Sorts symbols by `sortKey` if set. Otherwise, symbols are rendered in the
|
|
15521
|
+
* same order as the source data.<br />
|
|
15519
15522
|
* Default `"auto"`
|
|
15520
15523
|
* @default "auto"
|
|
15521
15524
|
*/
|
|
@@ -19696,14 +19699,14 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
19696
19699
|
/**
|
|
19697
19700
|
* Retrieve all Shapes and GeoJSON features that are visible on the map that are in a DataSource or VectorTileSource.
|
|
19698
19701
|
* Shape objects are editable, while Feature objects are not editable and either reside in a VectorTileSource or represent a cluster point.
|
|
19699
|
-
* Clusters have the following properties
|
|
19700
|
-
*
|
|
19702
|
+
* Clusters have the following properties:<br />
|
|
19703
|
+
* `cluster`: `boolean` - Indicates that the point is a cluster.
|
|
19701
19704
|
* This will be set to true if Point object represents a cluster.
|
|
19702
19705
|
* All other point objects are unlikely to have this value unless
|
|
19703
|
-
* a property with this same name was added to the Point property data from your app
|
|
19704
|
-
*
|
|
19705
|
-
*
|
|
19706
|
-
*
|
|
19706
|
+
* a property with this same name was added to the Point property data from your app.<br />
|
|
19707
|
+
* `cluster_id`: `string` - A unique id for the cluster.<br />
|
|
19708
|
+
* `point_count`: `number` - The number of points inside the cluster.<br />
|
|
19709
|
+
* `point_count_abbreviated`: `string` - An abbreviated string version of the point count. i.e. `"10K"`<br />
|
|
19707
19710
|
* Features/Shapes that are not visible or who's layer zoom range does not include the current zoom level will not be returned.
|
|
19708
19711
|
* Symbol features/Shapes that have been hidden due to text or icon collisions are not included.
|
|
19709
19712
|
* Features/Shapes from all other layers are included even if they have no contribution to the map rendering, e.g. alpha set to zero.
|
|
@@ -20371,10 +20374,10 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
20371
20374
|
*/
|
|
20372
20375
|
_this.duration = 1000;
|
|
20373
20376
|
/**
|
|
20374
|
-
* The type of animation
|
|
20375
|
-
*
|
|
20376
|
-
*
|
|
20377
|
-
*
|
|
20377
|
+
* The type of animation.<br />
|
|
20378
|
+
* `"jump"` is an immediate change.<br />
|
|
20379
|
+
* `"ease"` is a gradual change of the camera's settings.<br />
|
|
20380
|
+
* `"fly"` is a gradual change of the camera's settings following an arc resembling flight.<br />
|
|
20378
20381
|
* Default `"jump"`.
|
|
20379
20382
|
* @default "jump"
|
|
20380
20383
|
*/
|
|
@@ -20617,6 +20620,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
20617
20620
|
_this.pitch = 0;
|
|
20618
20621
|
/**
|
|
20619
20622
|
* The minimum zoom level that the map can be zoomed out to during the animation. Must be between 0 and 24, and less than or equal to `maxZoom`.
|
|
20623
|
+
* Setting `minZoom` below 1 may result in an empty map when the zoom level is less than 1.
|
|
20620
20624
|
* Default `1`.
|
|
20621
20625
|
* @default 1
|
|
20622
20626
|
*/
|
|
@@ -20981,15 +20985,15 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
20981
20985
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
20982
20986
|
/**
|
|
20983
20987
|
* Specifies wether extruded geometries are lit relative to the map or viewport.
|
|
20984
|
-
* Supported values
|
|
20985
|
-
*
|
|
20986
|
-
*
|
|
20988
|
+
* Supported values:<br />
|
|
20989
|
+
* `"map"`: The position of the light source is aligned to the rotation of the map.<br />
|
|
20990
|
+
* `"viewport"`: The position fo the light source is aligned to the rotation of the viewport.<br />
|
|
20987
20991
|
* Default: `"map"`
|
|
20988
20992
|
* @default "map"
|
|
20989
20993
|
*/
|
|
20990
20994
|
_this.anchor = "map";
|
|
20991
20995
|
/**
|
|
20992
|
-
* Color tint for lighting extruded geometries
|
|
20996
|
+
* Color tint for lighting extruded geometries.
|
|
20993
20997
|
* Default: `"#FFFFFF"`
|
|
20994
20998
|
* @default "#FFFFFF"
|
|
20995
20999
|
*/
|
|
@@ -23030,6 +23034,9 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
23030
23034
|
pitch: cameraOptions.pitch,
|
|
23031
23035
|
around: undefined
|
|
23032
23036
|
};
|
|
23037
|
+
if (cameraOptions.minZoom < 1) {
|
|
23038
|
+
console.warn("Setting minZoom below 1 may result in an empty map when the zoom level is less than 1.");
|
|
23039
|
+
}
|
|
23033
23040
|
this.map.setMinZoom(cameraOptions.minZoom);
|
|
23034
23041
|
this.map.setMaxZoom(cameraOptions.maxZoom);
|
|
23035
23042
|
if (cameraOptions.minPitch) {
|