aviation-chart 2.0.41 → 2.0.43
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.d.ts +1 -1
- package/dist/nav-sdk.esm.js +4 -31
- package/glm.txt +2903 -0
- package/package.json +11 -6
package/dist/nav-sdk.d.ts
CHANGED
|
@@ -800,7 +800,7 @@ declare class RasterManager {
|
|
|
800
800
|
private updateCoordinates;
|
|
801
801
|
private addSource;
|
|
802
802
|
private addLayer;
|
|
803
|
-
addRasterLayer(layerId: string, sourceId: string, meteoType: string): void;
|
|
803
|
+
addRasterLayer(layerId: string, sourceId: string, meteoType: string, beforeId: string): void;
|
|
804
804
|
updateRasterLayer(sourceId: string, newUrl: string, meteoType: string): void;
|
|
805
805
|
removeRasterLayer(layerId: string, sourceId: string): void;
|
|
806
806
|
}
|
package/dist/nav-sdk.esm.js
CHANGED
|
@@ -4104,7 +4104,7 @@ class RasterManager {
|
|
|
4104
4104
|
return;
|
|
4105
4105
|
this.map.addSource(sourceId, { type: "image", url, coordinates: coords });
|
|
4106
4106
|
}
|
|
4107
|
-
addLayer(layerId, sourceId) {
|
|
4107
|
+
addLayer(layerId, sourceId, beforeId) {
|
|
4108
4108
|
if (this.map.getLayer(layerId))
|
|
4109
4109
|
return;
|
|
4110
4110
|
this.map.addLayer({
|
|
@@ -4117,12 +4117,12 @@ class RasterManager {
|
|
|
4117
4117
|
'raster-opacity': 1,
|
|
4118
4118
|
"raster-resampling": 'linear',
|
|
4119
4119
|
}
|
|
4120
|
-
});
|
|
4120
|
+
}, beforeId);
|
|
4121
4121
|
}
|
|
4122
|
-
addRasterLayer(layerId, sourceId, meteoType) {
|
|
4122
|
+
addRasterLayer(layerId, sourceId, meteoType, beforeId) {
|
|
4123
4123
|
this.updateCoordinates(meteoType);
|
|
4124
4124
|
this.addSource(sourceId, this.rasterUrl, this.coordinates);
|
|
4125
|
-
this.addLayer(layerId, sourceId);
|
|
4125
|
+
this.addLayer(layerId, sourceId, beforeId);
|
|
4126
4126
|
}
|
|
4127
4127
|
updateRasterLayer(sourceId, newUrl, meteoType) {
|
|
4128
4128
|
this.rasterUrl = newUrl;
|
|
@@ -11256,34 +11256,7 @@ function buildLayers(themeId = 'light') {
|
|
|
11256
11256
|
},
|
|
11257
11257
|
paint: {
|
|
11258
11258
|
"icon-color": T.vorNormal,
|
|
11259
|
-
"icon-halo-color": "#fff",
|
|
11260
11259
|
'icon-opacity': 1,
|
|
11261
|
-
"icon-halo-width": {
|
|
11262
|
-
"base": 2,
|
|
11263
|
-
"stops": [
|
|
11264
|
-
[
|
|
11265
|
-
5,
|
|
11266
|
-
0.5
|
|
11267
|
-
],
|
|
11268
|
-
[
|
|
11269
|
-
7,
|
|
11270
|
-
1
|
|
11271
|
-
]
|
|
11272
|
-
]
|
|
11273
|
-
},
|
|
11274
|
-
"icon-halo-blur": {
|
|
11275
|
-
"base": 2,
|
|
11276
|
-
"stops": [
|
|
11277
|
-
[
|
|
11278
|
-
5,
|
|
11279
|
-
0.5
|
|
11280
|
-
],
|
|
11281
|
-
[
|
|
11282
|
-
7,
|
|
11283
|
-
1
|
|
11284
|
-
]
|
|
11285
|
-
]
|
|
11286
|
-
}
|
|
11287
11260
|
}
|
|
11288
11261
|
},
|
|
11289
11262
|
{
|