aviation-chart 2.0.36 → 2.0.37
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 +14 -2
- package/package.json +1 -1
package/dist/nav-sdk.esm.js
CHANGED
|
@@ -10482,6 +10482,10 @@ function buildLayers(themeId = 'light') {
|
|
|
10482
10482
|
},
|
|
10483
10483
|
{
|
|
10484
10484
|
"id": "boundary", "type": "line", "source": "boundary", "minzoom": 0,
|
|
10485
|
+
layout: {
|
|
10486
|
+
"line-join": "bevel",
|
|
10487
|
+
"line-cap": "butt",
|
|
10488
|
+
},
|
|
10485
10489
|
"paint": {
|
|
10486
10490
|
"line-width": ["interpolate", ["linear"], ["zoom"], 0, 1, 7, 4],
|
|
10487
10491
|
"line-opacity": 1,
|
|
@@ -11160,7 +11164,15 @@ function buildLayers(themeId = 'light') {
|
|
|
11160
11164
|
{
|
|
11161
11165
|
id: 'vor_icon', minzoom: 4, type: 'symbol', source: sourceId, 'source-layer': 'vor',
|
|
11162
11166
|
layout: {
|
|
11163
|
-
"icon-image": "navig:vordme",
|
|
11167
|
+
// "icon-image": "navig:vordme",
|
|
11168
|
+
'icon-image': [
|
|
11169
|
+
'case',
|
|
11170
|
+
['==', ['get', 'NAVAID_TYPE'], 'VOR'],
|
|
11171
|
+
'navig:vor',
|
|
11172
|
+
['==', ['get', 'NAVAID_TYPE'], 'VORDME'],
|
|
11173
|
+
'navig:vordme',
|
|
11174
|
+
'navig:vordme'
|
|
11175
|
+
],
|
|
11164
11176
|
"icon-pitch-alignment": "map",
|
|
11165
11177
|
"icon-size": {
|
|
11166
11178
|
"base": 2,
|
|
@@ -11216,7 +11228,7 @@ function buildLayers(themeId = 'light') {
|
|
|
11216
11228
|
{
|
|
11217
11229
|
id: 'vor_label', type: 'symbol', source: sourceId, 'source-layer': 'vor', minzoom: 5, maxzoom: 8,
|
|
11218
11230
|
layout: {
|
|
11219
|
-
'text-field': ['get', 'CODE_ID'], 'text-font': ['Frutiger Regular'], 'text-size':
|
|
11231
|
+
'text-field': ['get', 'CODE_ID'], 'text-font': ['Frutiger Regular'], 'text-size': 9, 'text-anchor': 'top',
|
|
11220
11232
|
'text-offset': [0, 0.5]
|
|
11221
11233
|
},
|
|
11222
11234
|
paint: { 'text-color': T.vor, 'text-halo-color': T.halo, 'text-halo-width': 1 },
|