aviation-chart 0.3.7 → 0.3.8

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 CHANGED
@@ -2154,7 +2154,7 @@ declare function buildLayersLight(): ({
2154
2154
  minzoom: number;
2155
2155
  layout: {
2156
2156
  "icon-image": string;
2157
- "icon-size": (string | number | string[])[];
2157
+ "icon-size": (string | number | (string | number)[])[];
2158
2158
  "icon-rotate": (string | number | string[])[];
2159
2159
  "icon-rotation-alignment": string;
2160
2160
  "symbol-z-order": string;
@@ -5501,17 +5501,14 @@ function buildLayersLight() {
5501
5501
  layout: {
5502
5502
  "icon-image": "vor:vor_dial",
5503
5503
  // "icon-size": ["interpolate", ["linear"], ["zoom"], 8, 0.072, 10, 0.072, 11, 0.126, 12, 0.180, 13, 0.234, 14, 0.288, 15, 0.342, 16, 0.396, 17, 0.450, 22, 0.450],
5504
- "icon-size": ["interpolate", ["linear"], ["zoom"],
5504
+ "icon-size": [
5505
+ "interpolate",
5506
+ ["exponential", 1.25],
5507
+ ["zoom"],
5505
5508
  8, 0.28,
5506
- 10, 0.28,
5507
- 11, 0.4914,
5508
- 12, 0.702,
5509
- 13, 0.9126,
5510
- 14, 1.1232,
5511
- 15, 1.3338,
5512
- 16, 1.5444,
5513
5509
  17, 1.755,
5514
- 22, 1.755],
5510
+ 22, 1.9
5511
+ ],
5515
5512
  "icon-rotate": ["to-number", ["get", "VAL_MAG_VAR"], 0],
5516
5513
  "icon-rotation-alignment": "map",
5517
5514
  "symbol-z-order": "viewport-y",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aviation-chart",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "KunYu aviation map SDK",
5
5
  "main": "dist/nav-sdk.esm.js",
6
6
  "module": "dist/nav-sdk.esm.js",