aviation-chart 2.0.38 → 2.0.40
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 +25 -10
- package/package.json +1 -1
package/dist/nav-sdk.esm.js
CHANGED
|
@@ -10529,7 +10529,7 @@ function buildLayers(themeId = 'light') {
|
|
|
10529
10529
|
paint: { "line-color": T.airspaceStroke, "line-opacity": ["interpolate", ["linear"], ["zoom"], 5, 0, 5.5, 0.8, 9, 0.8, 10, 0.5], "line-width": 6, "line-dasharray": [0.2, 5] }
|
|
10530
10530
|
},
|
|
10531
10531
|
{
|
|
10532
|
-
id: 'airspace_label_side_layer', type: 'symbol', source: sourceId, 'source-layer': 'fir
|
|
10532
|
+
id: 'airspace_label_side_layer', type: 'symbol', source: sourceId, 'source-layer': 'fir', minzoom: 4,
|
|
10533
10533
|
layout: { 'text-field': ["concat", ["get", "TXT_NAME"], "/", ["get", "CODE_ID"], "/", ["get", "CODE_TYPE"]], 'text-font': frutigerBold, 'text-size': 10, 'symbol-placement': 'line', 'text-max-width': 8, "text-offset": [0, 1], "text-letter-spacing": 0.05, "text-optional": true },
|
|
10534
10534
|
paint: { 'text-color': T.airspaceStroke, ...T.sideHalo },
|
|
10535
10535
|
},
|
|
@@ -11164,26 +11164,38 @@ function buildLayers(themeId = 'light') {
|
|
|
11164
11164
|
{
|
|
11165
11165
|
id: 'vor_icon', minzoom: 4, type: 'symbol', source: sourceId, 'source-layer': 'vor',
|
|
11166
11166
|
layout: {
|
|
11167
|
-
|
|
11167
|
+
"icon-pitch-alignment": "map",
|
|
11168
|
+
"icon-size": {
|
|
11169
|
+
"base": 2,
|
|
11170
|
+
"stops": [
|
|
11171
|
+
[
|
|
11172
|
+
5,
|
|
11173
|
+
0.4
|
|
11174
|
+
],
|
|
11175
|
+
[
|
|
11176
|
+
7,
|
|
11177
|
+
0.5
|
|
11178
|
+
]
|
|
11179
|
+
]
|
|
11180
|
+
},
|
|
11168
11181
|
'icon-image': [
|
|
11169
11182
|
'case',
|
|
11170
11183
|
['==', ['get', 'NAVAID_TYPE'], 'VOR'],
|
|
11171
|
-
'
|
|
11184
|
+
'vor',
|
|
11172
11185
|
['==', ['get', 'NAVAID_TYPE'], 'VORDME'],
|
|
11173
|
-
'
|
|
11174
|
-
'
|
|
11186
|
+
'vordme',
|
|
11187
|
+
'vordme'
|
|
11175
11188
|
],
|
|
11176
|
-
"icon-pitch-alignment": "map",
|
|
11177
11189
|
"icon-size": {
|
|
11178
11190
|
"base": 2,
|
|
11179
11191
|
"stops": [
|
|
11180
11192
|
[
|
|
11181
11193
|
5,
|
|
11182
|
-
0.
|
|
11194
|
+
0.7
|
|
11183
11195
|
],
|
|
11184
11196
|
[
|
|
11185
11197
|
7,
|
|
11186
|
-
0.
|
|
11198
|
+
0.8
|
|
11187
11199
|
]
|
|
11188
11200
|
]
|
|
11189
11201
|
},
|
|
@@ -11228,8 +11240,11 @@ function buildLayers(themeId = 'light') {
|
|
|
11228
11240
|
{
|
|
11229
11241
|
id: 'vor_label', type: 'symbol', source: sourceId, 'source-layer': 'vor', minzoom: 5, maxzoom: 8,
|
|
11230
11242
|
layout: {
|
|
11231
|
-
'text-field': ['get', 'CODE_ID'],
|
|
11232
|
-
'text-
|
|
11243
|
+
'text-field': ['get', 'CODE_ID'],
|
|
11244
|
+
'text-anchor': 'top',
|
|
11245
|
+
"text-size": 10,
|
|
11246
|
+
'text-offset': [0, 0.7],
|
|
11247
|
+
'text-font': ['Frutiger Blod']
|
|
11233
11248
|
},
|
|
11234
11249
|
paint: { 'text-color': T.vor, 'text-halo-color': T.halo, 'text-halo-width': 1 },
|
|
11235
11250
|
},
|