aviation-chart 2.0.3 → 2.0.5
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.esm.js +4 -4
- package/package.json +1 -1
package/dist/nav-sdk.esm.js
CHANGED
|
@@ -7939,7 +7939,7 @@ function buildLayers(themeId = 'light') {
|
|
|
7939
7939
|
// keeps the strip aligned to the ground as the map rotates. The `runway-strip`
|
|
7940
7940
|
// sprite is supplied by the host sprite sheet.
|
|
7941
7941
|
{
|
|
7942
|
-
id: 'airport-runway', type: 'symbol', source: sourceId, minzoom:
|
|
7942
|
+
id: 'airport-runway', type: 'symbol', source: sourceId, minzoom: 3, 'source-layer': 'airport',
|
|
7943
7943
|
filter: ['all', ['has', 'RWY_BRG1'], ['case', ['<', ['zoom'], 6], ['==', ['get', 'level'], 1], true]],
|
|
7944
7944
|
layout: {
|
|
7945
7945
|
'icon-image': 'runway:runway-strip',
|
|
@@ -7952,11 +7952,11 @@ function buildLayers(themeId = 'light') {
|
|
|
7952
7952
|
},
|
|
7953
7953
|
paint: {
|
|
7954
7954
|
"icon-color": T.airport,
|
|
7955
|
-
|
|
7955
|
+
"icon-opacity": ["interpolate", ["linear"], ["zoom"], 2, 0.75, 3, 0.95, 5, 1, 9, 1, 11, 0.2],
|
|
7956
7956
|
},
|
|
7957
7957
|
},
|
|
7958
7958
|
{
|
|
7959
|
-
id: 'airport-runway-cross', type: 'symbol', source: sourceId, minzoom:
|
|
7959
|
+
id: 'airport-runway-cross', type: 'symbol', source: sourceId, minzoom: 3, 'source-layer': 'airport',
|
|
7960
7960
|
filter: ['all', ['has', 'RWY_BRG2'], ['case', ['<', ['zoom'], 6], ['==', ['get', 'level'], 1], true]],
|
|
7961
7961
|
layout: {
|
|
7962
7962
|
'icon-image': 'runway:runway-strip',
|
|
@@ -7969,7 +7969,7 @@ function buildLayers(themeId = 'light') {
|
|
|
7969
7969
|
},
|
|
7970
7970
|
paint: {
|
|
7971
7971
|
"icon-color": T.airport,
|
|
7972
|
-
|
|
7972
|
+
"icon-opacity": ["interpolate", ["linear"], ["zoom"], 2, 0.75, 3, 0.95, 5, 1, 9, 1, 11, 0.2],
|
|
7973
7973
|
},
|
|
7974
7974
|
},
|
|
7975
7975
|
{
|