aviation-chart 2.0.12 → 2.0.14
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 +8 -4
- package/package.json +1 -1
package/dist/nav-sdk.d.ts
CHANGED
|
@@ -1274,7 +1274,7 @@ declare namespace CHART_THEMES {
|
|
|
1274
1274
|
let background_2: string;
|
|
1275
1275
|
export { background_2 as background };
|
|
1276
1276
|
}
|
|
1277
|
-
namespace
|
|
1277
|
+
namespace sectional {
|
|
1278
1278
|
let id_3: string;
|
|
1279
1279
|
export { id_3 as id };
|
|
1280
1280
|
let label_3: string;
|
package/dist/nav-sdk.esm.js
CHANGED
|
@@ -9778,6 +9778,7 @@ const THEME_TOKENS = {
|
|
|
9778
9778
|
segment: '#2E4053',
|
|
9779
9779
|
segmentRemark: '#E8A020', // HAS_REMARK 航段
|
|
9780
9780
|
airport: '#006400', // 机场图标色
|
|
9781
|
+
airportamm: "#c084fc", // AMM 机场
|
|
9781
9782
|
airportText: '#006400', // 机场文字色(非 AMM)
|
|
9782
9783
|
runway: '#006400',
|
|
9783
9784
|
vorDial: '#0b417a',
|
|
@@ -9814,6 +9815,7 @@ const THEME_TOKENS = {
|
|
|
9814
9815
|
segment: '#40C4FF',
|
|
9815
9816
|
segmentRemark: '#fbbf24',
|
|
9816
9817
|
airport: '#73ccdd',
|
|
9818
|
+
airportamm: "#c084fc", // AMM 机场
|
|
9817
9819
|
airportText: '#E0F7FA',
|
|
9818
9820
|
runway: '#73ccdd',
|
|
9819
9821
|
vorDial: '#38bdf8',
|
|
@@ -9839,7 +9841,7 @@ const THEME_TOKENS = {
|
|
|
9839
9841
|
background: '#1B2838',
|
|
9840
9842
|
land: '#22303F',
|
|
9841
9843
|
halo: '#16212c',
|
|
9842
|
-
boundaryPattern: 'normal:national-border-
|
|
9844
|
+
boundaryPattern: 'normal:national-border-dusk',
|
|
9843
9845
|
adizLine: '#c77dff',
|
|
9844
9846
|
adizLabel: '#e0aaff',
|
|
9845
9847
|
airspaceStroke: '#7fb3d5',
|
|
@@ -9851,6 +9853,7 @@ const THEME_TOKENS = {
|
|
|
9851
9853
|
segment: '#8fa8c7',
|
|
9852
9854
|
segmentRemark: '#f4c542',
|
|
9853
9855
|
airport: '#7fd1ae',
|
|
9856
|
+
airportamm: "#c084fc", // AMM 机场
|
|
9854
9857
|
airportText: '#dce9f0',
|
|
9855
9858
|
runway: '#7fd1ae',
|
|
9856
9859
|
vorDial: '#5dade2',
|
|
@@ -9873,8 +9876,8 @@ const THEME_TOKENS = {
|
|
|
9873
9876
|
// 设计目标:暖米黄底图 + 扁平化(去地形纹理)+ 传统航图色彩语义
|
|
9874
9877
|
// (蓝=管制空域,洋红=非管制机场,棕=NDB,橙=限制区)+ 现代无衬线字体,
|
|
9875
9878
|
// 整体比三色 VFR 纸图更"干净",符合 ForeFlight 网页版/Light 主题的视觉语言。
|
|
9876
|
-
|
|
9877
|
-
background: '#
|
|
9879
|
+
sectional: {
|
|
9880
|
+
background: '#DCEAEF',
|
|
9878
9881
|
land: '#F7F5EC',
|
|
9879
9882
|
halo: '#F2EFE6',
|
|
9880
9883
|
boundaryPattern: 'normal:national-border',
|
|
@@ -9889,6 +9892,7 @@ const THEME_TOKENS = {
|
|
|
9889
9892
|
segment: '#34495E',
|
|
9890
9893
|
segmentRemark: '#D68910',
|
|
9891
9894
|
airport: '#B03060',
|
|
9895
|
+
airportamm: "#6C3483", // AMM 机场
|
|
9892
9896
|
airportText: '#1B2631',
|
|
9893
9897
|
runway: '#B03060',
|
|
9894
9898
|
vorDial: '#2E5C8A',
|
|
@@ -10273,7 +10277,7 @@ const CHART_THEMES = {
|
|
|
10273
10277
|
light: { id: 'light', label: '日间', background: '#EAF2F8' },
|
|
10274
10278
|
dark: { id: 'dark', label: '夜间', background: '#000000' },
|
|
10275
10279
|
dusk: { id: 'dusk', label: '暮光', background: '#1B2838' },
|
|
10276
|
-
|
|
10280
|
+
sectional: { id: 'sectional', label: 'ForeFlight 风格', background: '#DCEAEF' },
|
|
10277
10281
|
};
|
|
10278
10282
|
|
|
10279
10283
|
// ── Layer groups & labels (theme-independent) ────────────────────────────────
|