aviation-chart 2.0.24 → 2.0.26
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.esm.js +11 -4
- package/package.json +1 -1
package/dist/nav-sdk.esm.js
CHANGED
|
@@ -9940,8 +9940,8 @@ const THEME_TOKENS = {
|
|
|
9940
9940
|
restrictedStrokeLine: '#7E524D',
|
|
9941
9941
|
restrictedStrokeLineWidth: 1.2,
|
|
9942
9942
|
restrictedStroke: '#D35400', // 限制区标注文字色(ICAO 导出/图例用)
|
|
9943
|
-
controlledStroke: "#
|
|
9944
|
-
controlledFill: '#
|
|
9943
|
+
controlledStroke: "#88918088",
|
|
9944
|
+
controlledFill: '#C7CEC096',
|
|
9945
9945
|
segment: '#1C2526',
|
|
9946
9946
|
segmentWith: ['interpolate', ['linear'], ['zoom'], 6, 1.9, 10, 2.2],
|
|
9947
9947
|
segmentRemark: '#E8A020', // HAS_REMARK 航段
|
|
@@ -9964,7 +9964,12 @@ const THEME_TOKENS = {
|
|
|
9964
9964
|
sideHalo: {},
|
|
9965
9965
|
centerHalo: {},
|
|
9966
9966
|
restrictedHalo: {},
|
|
9967
|
-
controlledHalo: {
|
|
9967
|
+
controlledHalo: {
|
|
9968
|
+
'text-color': "#88918088",
|
|
9969
|
+
'text-halo-color': '#889180',
|
|
9970
|
+
'text-halo-width': 0.1,
|
|
9971
|
+
'text-halo-blur': 0.1
|
|
9972
|
+
},
|
|
9968
9973
|
radialHalo: {},
|
|
9969
9974
|
runwayHalo: { 'text-halo-width': 1 },
|
|
9970
9975
|
alHalo: { 'text-halo-color': '#ffffff', 'text-halo-width': 0.1 },
|
|
@@ -10160,7 +10165,8 @@ function buildLayers(themeId = 'light') {
|
|
|
10160
10165
|
"text-ignore-placement": false,
|
|
10161
10166
|
"text-optional": true,
|
|
10162
10167
|
"visibility": "none",
|
|
10163
|
-
"icon-size": ["interpolate", ["linear"], ["zoom"], 2, 0.6, 5, 0.7, 9, 1, 12, 1.1]
|
|
10168
|
+
"icon-size": ["interpolate", ["linear"], ["zoom"], 2, 0.6, 5, 0.7, 9, 1, 12, 1.1],
|
|
10169
|
+
'text-font': ['Open Sans Semibold'],
|
|
10164
10170
|
},
|
|
10165
10171
|
paint: {
|
|
10166
10172
|
'icon-color': ['case', ['has', 'has_amm'], T.airportamm, T.airport],
|
|
@@ -10322,6 +10328,7 @@ function buildLayers(themeId = 'light') {
|
|
|
10322
10328
|
"text-letter-spacing": 0.02,
|
|
10323
10329
|
'text-variable-anchor-offset': ['bottom', [0, -0.6], 'top', [0, 0.6], 'right', [-0.6, 0], 'left', [0.6, 0], 'bottom-right', [-0.4, -0.4], 'bottom-left', [0.4, -0.4], 'top-right', [-0.4, 0.4], 'top-left', [0.4, 0.4]],
|
|
10324
10330
|
'text-justify': 'auto',
|
|
10331
|
+
'text-font': ['Open Sans Semibold']
|
|
10325
10332
|
},
|
|
10326
10333
|
paint: {
|
|
10327
10334
|
'icon-color': T.waypoint,
|