aviation-chart 0.3.18 → 0.3.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.
@@ -1997,7 +1997,7 @@ const DEFAULT_LAYER_VISIBILITY = {
1997
1997
  vor: true,
1998
1998
  ndb: true,
1999
1999
  airport: true,
2000
- runway: true,
2000
+ runway: false,
2001
2001
  adiz: false,
2002
2002
  waypointOffAirway: false,
2003
2003
  amm: true,
@@ -5027,6 +5027,11 @@ function getAviationBaseStyle(opts) {
5027
5027
  paint: { "background-color": opts.background },
5028
5028
  },
5029
5029
  ],
5030
+ fog: {
5031
+ color: "rgba(48, 72, 120, 0.35)",
5032
+ "high-color": "rgba(16, 28, 46, 0.8)",
5033
+ "horizon-blend": 0.12
5034
+ }
5030
5035
  };
5031
5036
  }
5032
5037
  function navdataTilesUrl(apiUrl, period) {
@@ -6193,6 +6198,11 @@ class MapSDK {
6193
6198
  minZoom: 0,
6194
6199
  maxZoom: 17.5,
6195
6200
  preserveDrawingBuffer: false,
6201
+ crossSourceCollisions: !1,
6202
+ maxTileCacheSize: 512,
6203
+ prefetchZoomDelta: 6,
6204
+ fadeDuration: 0,
6205
+ refreshExpiredTiles: false,
6196
6206
  ...options,
6197
6207
  style,
6198
6208
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aviation-chart",
3
- "version": "0.3.18",
3
+ "version": "0.3.20",
4
4
  "description": "KunYu aviation map SDK",
5
5
  "main": "dist/nav-sdk.esm.js",
6
6
  "module": "dist/nav-sdk.esm.js",