aviation-chart 2.0.37 → 2.0.38

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.
@@ -10488,7 +10488,7 @@ function buildLayers(themeId = 'light') {
10488
10488
  },
10489
10489
  "paint": {
10490
10490
  "line-width": ["interpolate", ["linear"], ["zoom"], 0, 1, 7, 4],
10491
- "line-opacity": 1,
10491
+ "line-opacity": ["interpolate", ["linear"], ["zoom"], 2, 1, 2.5, 0, 4, 1],
10492
10492
  "line-pattern": T.boundaryPattern,
10493
10493
  }
10494
10494
  },
@@ -10520,16 +10520,16 @@ function buildLayers(themeId = 'light') {
10520
10520
  },
10521
10521
  },
10522
10522
  {
10523
- id: 'airspaceLayer', type: 'line', source: sourceId, 'source-layer': 'fir', minzoom: 2,
10523
+ id: 'airspaceLayer', type: 'line', source: sourceId, 'source-layer': 'fir-boundary', minzoom: 2,
10524
10524
  paint: { "line-color": T.airspaceStroke, "line-opacity": ["interpolate", ["linear"], ["zoom"], 2, 0, 2.7, 0.8, 9, 0.8, 10, 0.5], "line-width": 0.5, 'line-dasharray': [4.2, 4] }
10525
10525
  },
10526
10526
  {
10527
- "id": "airspaceLayer_line", type: 'line', source: sourceId, 'source-layer': 'fir', "minzoom": 5,
10527
+ "id": "airspaceLayer_line", type: 'line', source: sourceId, 'source-layer': 'fir-boundary', "minzoom": 5,
10528
10528
  layout: { "line-miter-limit": 0, "line-cap": "butt", "line-join": "miter" },
10529
10529
  paint: { "line-color": T.airspaceStroke, "line-opacity": ["interpolate", ["linear"], ["zoom"], 5, 0, 5.5, 0.8, 9, 0.8, 10, 0.5], "line-width": 6, "line-dasharray": [0.2, 5] }
10530
10530
  },
10531
10531
  {
10532
- id: 'airspace_label_side_layer', type: 'symbol', source: sourceId, 'source-layer': 'fir', minzoom: 4,
10532
+ id: 'airspace_label_side_layer', type: 'symbol', source: sourceId, 'source-layer': 'fir-label-line', minzoom: 4,
10533
10533
  layout: { 'text-field': ["concat", ["get", "TXT_NAME"], "/", ["get", "CODE_ID"], "/", ["get", "CODE_TYPE"]], 'text-font': frutigerBold, 'text-size': 10, 'symbol-placement': 'line', 'text-max-width': 8, "text-offset": [0, 1], "text-letter-spacing": 0.05, "text-optional": true },
10534
10534
  paint: { 'text-color': T.airspaceStroke, ...T.sideHalo },
10535
10535
  },
@@ -10912,7 +10912,7 @@ function buildLayers(themeId = 'light') {
10912
10912
  'text-field': ['get', 'CODE_ID'],
10913
10913
  "text-anchor": "bottom",
10914
10914
  "text-justify": "center",
10915
- "text-size": ["interpolate", ["linear"], ["zoom"], 3, 0, 4, 10, 5, 10],
10915
+ "text-size": ["interpolate", ["linear"], ["zoom"], 3, 0, 4, 9, 5, 10],
10916
10916
  "text-offset": [
10917
10917
  "interpolate", ["linear"], ["zoom"],
10918
10918
  5, ["literal", [0, -0.8]],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aviation-chart",
3
- "version": "2.0.37",
3
+ "version": "2.0.38",
4
4
  "description": "KunYu aviation map SDK",
5
5
  "main": "dist/nav-sdk.esm.js",
6
6
  "module": "dist/nav-sdk.esm.js",