aviation-chart 2.0.15 → 2.0.17

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.
@@ -9763,10 +9763,10 @@ class TileCipher {
9763
9763
  */
9764
9764
  const THEME_TOKENS = {
9765
9765
  light: {
9766
- background: '#EAF2F8',
9767
- land: '#F7F9FB',
9766
+ background: '#C8DCE8',
9767
+ land: '#F2F5F9',
9768
9768
  halo: '#ffffff',
9769
- boundaryPattern: 'normal:national-border',
9769
+ boundaryPattern: 'normal:national-border-light',
9770
9770
  adizLine: null, // light 不给 adiz 线描色(仅用 pattern)
9771
9771
  adizLabel: '#6600cc',
9772
9772
  airspaceStroke: '#AAB7B8',
@@ -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',
@@ -9926,7 +9926,7 @@ function buildLayers(themeId = 'light') {
9926
9926
  "id": "boundary", "type": "line", "source": "boundary", "minzoom": 0,
9927
9927
  "paint": {
9928
9928
  "line-width": ["interpolate", ["linear"], ["zoom"], 0, 1, 7, 4],
9929
- "line-opacity": ["interpolate", ["linear"], ["zoom"], 0, 1, 2, 0.5],
9929
+ "line-opacity": ["interpolate", ["linear"], ["zoom"], 0, 1, 2, 0.9],
9930
9930
  "line-pattern": T.boundaryPattern,
9931
9931
  }
9932
9932
  },
@@ -9961,7 +9961,7 @@ function buildLayers(themeId = 'light') {
9961
9961
  {
9962
9962
  id: 'airspace_label_center_layer', type: 'symbol', source: sourceId, 'source-layer': 'fir-centroid', minzoom: 3,
9963
9963
  layout: {
9964
- 'text-field': ['coalesce', ['get', 'TXT_NAME'], ['get', 'CODE_ID']],
9964
+ 'text-field': ['coalesce', ['get', 'CODE_ID'], ['get', 'TXT_NAME']],
9965
9965
  'text-size': ['interpolate', ['linear'], ['zoom'], 3, 12, 17, 16],
9966
9966
  'symbol-placement': 'point',
9967
9967
  'text-max-width': 8,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aviation-chart",
3
- "version": "2.0.15",
3
+ "version": "2.0.17",
4
4
  "description": "KunYu aviation map SDK",
5
5
  "main": "dist/nav-sdk.esm.js",
6
6
  "module": "dist/nav-sdk.esm.js",