aviation-chart 0.3.5 → 0.3.6

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;
@@ -5500,7 +5500,15 @@ function buildLayersLight() {
5500
5500
  minzoom: 8,
5501
5501
  layout: {
5502
5502
  "icon-image": "vor:vor_dial",
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],
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": [
5505
+ "interpolate",
5506
+ ["exponential", 1.3],
5507
+ ["zoom"],
5508
+ 8, 0.35,
5509
+ 17, 0.764,
5510
+ 22, 0.85
5511
+ ],
5504
5512
  "icon-rotate": ["to-number", ["get", "VAL_MAG_VAR"], 0],
5505
5513
  "icon-rotation-alignment": "map",
5506
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.5",
3
+ "version": "0.3.6",
4
4
  "description": "KunYu aviation map SDK",
5
5
  "main": "dist/nav-sdk.esm.js",
6
6
  "module": "dist/nav-sdk.esm.js",