aviation-chart 2.0.14 → 2.0.16

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.
@@ -9778,7 +9778,7 @@ const THEME_TOKENS = {
9778
9778
  segment: '#2E4053',
9779
9779
  segmentRemark: '#E8A020', // HAS_REMARK 航段
9780
9780
  airport: '#006400', // 机场图标色
9781
- airportamm: "#c084fc", // AMM 机场
9781
+ airportamm: "#4B2D6E", // AMM 机场
9782
9782
  airportText: '#006400', // 机场文字色(非 AMM)
9783
9783
  runway: '#006400',
9784
9784
  vorDial: '#0b417a',
@@ -9853,7 +9853,7 @@ const THEME_TOKENS = {
9853
9853
  segment: '#8fa8c7',
9854
9854
  segmentRemark: '#f4c542',
9855
9855
  airport: '#7fd1ae',
9856
- airportamm: "#c084fc", // AMM 机场
9856
+ airportamm: "#6C3483", // AMM 机场
9857
9857
  airportText: '#dce9f0',
9858
9858
  runway: '#7fd1ae',
9859
9859
  vorDial: '#5dade2',
@@ -10091,7 +10091,7 @@ function buildLayers(themeId = 'light') {
10091
10091
  "icon-size": ["interpolate", ["linear"], ["zoom"], 2, 0.6, 5, 0.7, 9, 1, 12, 1.1]
10092
10092
  },
10093
10093
  paint: {
10094
- 'icon-color': ['case', ['has', 'has_amm'], '#4B2D6E', T.airport],
10094
+ 'icon-color': ['case', ['has', 'has_amm'], T.airportamm, T.airport],
10095
10095
  "icon-opacity": [
10096
10096
  "interpolate",
10097
10097
  [
@@ -10111,7 +10111,7 @@ function buildLayers(themeId = 'light') {
10111
10111
  11,
10112
10112
  0.2
10113
10113
  ],
10114
- "text-color": ['case', ['has', 'has_amm'], '#4B2D6E', T.airportText],
10114
+ "text-color": ['case', ['has', 'has_amm'], T.airportamm, T.airportText],
10115
10115
  "text-opacity": ["interpolate", ["linear"], ["zoom"], 4, 0.95, 5, 1, 9, 1, 11, 0.2],
10116
10116
  },
10117
10117
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aviation-chart",
3
- "version": "2.0.14",
3
+ "version": "2.0.16",
4
4
  "description": "KunYu aviation map SDK",
5
5
  "main": "dist/nav-sdk.esm.js",
6
6
  "module": "dist/nav-sdk.esm.js",