aviation-chart 0.3.13 → 0.3.15
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/nav-sdk.d.ts +1 -1
- package/dist/nav-sdk.esm.js +11 -12
- package/package.json +1 -1
package/dist/nav-sdk.d.ts
CHANGED
|
@@ -2154,7 +2154,7 @@ declare function buildLayersLight(): ({
|
|
|
2154
2154
|
minzoom: number;
|
|
2155
2155
|
layout: {
|
|
2156
2156
|
"icon-image": string;
|
|
2157
|
-
"icon-size": (string | number |
|
|
2157
|
+
"icon-size": (string | number | string[])[];
|
|
2158
2158
|
"icon-rotate": (string | number | string[])[];
|
|
2159
2159
|
"icon-rotation-alignment": string;
|
|
2160
2160
|
"symbol-z-order": string;
|
package/dist/nav-sdk.esm.js
CHANGED
|
@@ -5354,7 +5354,7 @@ function buildLayersLight() {
|
|
|
5354
5354
|
},
|
|
5355
5355
|
},
|
|
5356
5356
|
{
|
|
5357
|
-
id: 'airline_radial', type: 'symbol', source: sourceId, 'source-layer': 'segment-radial', minzoom:
|
|
5357
|
+
id: 'airline_radial', type: 'symbol', source: sourceId, 'source-layer': 'segment-radial', minzoom: 13,
|
|
5358
5358
|
layout: {
|
|
5359
5359
|
'text-field': ['concat', ['get', 'bearing'], '°'],
|
|
5360
5360
|
'text-size': 9,
|
|
@@ -5500,16 +5500,15 @@ function buildLayersLight() {
|
|
|
5500
5500
|
minzoom: 8,
|
|
5501
5501
|
layout: {
|
|
5502
5502
|
"icon-image": "vor:vor_dial",
|
|
5503
|
-
|
|
5504
|
-
"icon-size": [
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
],
|
|
5503
|
+
"icon-size": ["interpolate", ["linear"], ["zoom"], 8, 0.072, 10, 0.072, 11, 0.126, 12, 0.180, 13, 0.234, 14, 0.288, 15, 0.342, 16, 0.396, 17, 0.450, 22, 0.450],
|
|
5504
|
+
// "icon-size": [
|
|
5505
|
+
// "interpolate",
|
|
5506
|
+
// ["exponential", 1.25],
|
|
5507
|
+
// ["zoom"],
|
|
5508
|
+
// 8, 0.28,
|
|
5509
|
+
// 17, 1.7,
|
|
5510
|
+
// 22, 1.7
|
|
5511
|
+
// ],
|
|
5513
5512
|
"icon-rotate": ["to-number", ["get", "VAL_MAG_VAR"], 0],
|
|
5514
5513
|
"icon-rotation-alignment": "map",
|
|
5515
5514
|
"symbol-z-order": "viewport-y",
|
|
@@ -5904,7 +5903,7 @@ function buildLayersDark() {
|
|
|
5904
5903
|
paint: { "icon-color": C.segment },
|
|
5905
5904
|
},
|
|
5906
5905
|
{
|
|
5907
|
-
id: 'airline_radial', type: 'symbol', source: sourceId, 'source-layer': 'segment-radial', minzoom:
|
|
5906
|
+
id: 'airline_radial', type: 'symbol', source: sourceId, 'source-layer': 'segment-radial', minzoom: 13,
|
|
5908
5907
|
layout: { 'text-field': ['concat', ['get', 'bearing'], '°'], 'text-size': 9, 'text-rotate': ['to-number', ['get', 'line_angle'], 0], 'text-rotation-alignment': 'map', 'text-allow-overlap': true, 'text-ignore-placement': true, 'text-offset': [0, -1] },
|
|
5909
5908
|
paint: { 'text-color': C.segment, 'text-halo-color': '#0f172a', 'text-halo-width': 1 },
|
|
5910
5909
|
},
|