aviation-chart 2.0.18 → 2.0.20

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.
@@ -9769,13 +9769,13 @@ const THEME_TOKENS = {
9769
9769
  boundaryPattern: 'normal:national-border-light',
9770
9770
  adizLine: null, // light 不给 adiz 线描色(仅用 pattern)
9771
9771
  adizLabel: '#6600cc',
9772
- airspaceStroke: '#AAB7B8',
9772
+ airspaceStroke: '#6F7E68',
9773
9773
  restrictedFill: '#FAD7A0',
9774
9774
  restrictedStrokeLine: '#f6bf65',
9775
9775
  restrictedStroke: '#D35400', // 限制区标注文字色(ICAO 导出/图例用)
9776
9776
  controlledStroke: '#10B981',
9777
9777
  controlledFill: '#10B981',
9778
- segment: '#2E4053',
9778
+ segment: '#1C2526',
9779
9779
  segmentRemark: '#E8A020', // HAS_REMARK 航段
9780
9780
  airport: '#006400', // 机场图标色
9781
9781
  airportamm: "#4B2D6E", // AMM 机场
@@ -10010,7 +10010,7 @@ function buildLayers(themeId = 'light') {
10010
10010
  'line-color': ['case', ['==', ['get', 'HAS_REMARK'], 1], T.segmentRemark, T.segment],
10011
10011
  'line-width': ['interpolate', ['linear'], ['zoom'], 6, 0.2, 8, 0.8],
10012
10012
  "line-blur": 0,
10013
- "line-opacity": ["interpolate", ["linear"], ["zoom"], 6, 0.3, 7, 1, 8, 1, 12, 0.8, 15, 0.2],
10013
+ "line-opacity": ["interpolate", ["linear"], ["zoom"], 6, 0.5, 7, 1, 8, 1, 12, 0.8, 15, 0.2],
10014
10014
  }
10015
10015
  },
10016
10016
  {
@@ -10075,7 +10075,7 @@ function buildLayers(themeId = 'light') {
10075
10075
  'text-field': ['get', 'CODE_ID'],
10076
10076
  "text-anchor": "bottom",
10077
10077
  "text-justify": "center",
10078
- "text-size": ["interpolate", ["linear"], ["zoom"], 4, 0, 5, 10],
10078
+ "text-size": ["interpolate", ["linear"], ["zoom"], 3, 0, 4, 10, 5, 10],
10079
10079
  "text-offset": [
10080
10080
  "interpolate", ["linear"], ["zoom"],
10081
10081
  5, ["literal", [0, -0.8]],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aviation-chart",
3
- "version": "2.0.18",
3
+ "version": "2.0.20",
4
4
  "description": "KunYu aviation map SDK",
5
5
  "main": "dist/nav-sdk.esm.js",
6
6
  "module": "dist/nav-sdk.esm.js",