aviation-chart 2.0.39 → 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.
@@ -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
- // "icon-image": "navig:vordme",
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
- 'navig:vor',
11184
+ 'vor',
11172
11185
  ['==', ['get', 'NAVAID_TYPE'], 'VORDME'],
11173
- 'navig:vordme',
11174
- 'navig:vordme'
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.4
11194
+ 0.7
11183
11195
  ],
11184
11196
  [
11185
11197
  7,
11186
- 0.5
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'], 'text-font': ['Frutiger Regular'], 'text-size': 9, 'text-anchor': 'top',
11232
- 'text-offset': [0, 0.5]
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
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aviation-chart",
3
- "version": "2.0.39",
3
+ "version": "2.0.40",
4
4
  "description": "KunYu aviation map SDK",
5
5
  "main": "dist/nav-sdk.esm.js",
6
6
  "module": "dist/nav-sdk.esm.js",