@windycom/plugin-devtools 3.0.2 → 3.0.3
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/package.json +1 -1
- package/types/client/Calendar.d.ts +4 -0
- package/types/client/Color.d.ts +9 -2
- package/types/client/DataTiler.d.ts +2 -2
- package/types/client/EventManager.d.ts +69 -0
- package/types/client/ExternalSveltePlugin.d.ts +4 -3
- package/types/client/GlBuffer.d.ts +45 -0
- package/types/client/GlMesh.d.ts +147 -0
- package/types/client/GlProgram.d.ts +41 -0
- package/types/client/GlRenderer.d.ts +95 -0
- package/types/client/GlTexture.d.ts +98 -0
- package/types/client/GlVertexArray.d.ts +38 -0
- package/types/client/IDB.d.ts +25 -4
- package/types/client/LabelsLayer.d.ts +69 -2
- package/types/client/Layer.d.ts +2 -1
- package/types/client/MetricClasses.d.ts +1 -1
- package/types/client/Overlay.d.ts +1 -5
- package/types/client/Product.d.ts +10 -5
- package/types/client/ProductClasses.d.ts +7 -0
- package/types/client/Renderer.d.ts +16 -19
- package/types/client/ShaderStorage.d.ts +25 -0
- package/types/client/StartupElementPlugin.d.ts +8 -0
- package/types/client/SveltePlugin.d.ts +4 -4
- package/types/client/SwitchableTileCache.d.ts +104 -0
- package/types/client/TileLayer.d.ts +11 -2
- package/types/client/TileLayerCustom.d.ts +51 -0
- package/types/client/TileLayerMulti.d.ts +53 -0
- package/types/client/TileLayerPreprocessorStandalone.d.ts +45 -0
- package/types/client/TileLayerRenderer.d.ts +24 -0
- package/types/client/TileLayerUtils.d.ts +43 -0
- package/types/client/TilePreprocessor.d.ts +27 -0
- package/types/client/TopoMap.d.ts +2 -1
- package/types/client/WindowPlugin.d.ts +1 -3
- package/types/client/baseMap.d.ts +12 -2
- package/types/client/broadcast.d.ts +1 -1
- package/types/client/cityLabels.d.ts +2 -3
- package/types/client/colorGradients.d.ts +1 -2
- package/types/client/css.test.d.ts +1 -0
- package/types/client/customProtocol.d.ts +11 -0
- package/types/client/d.ts.files/GlObj.d.ts +1 -5
- package/types/client/d.ts.files/Metric.d.ts +2 -0
- package/types/client/d.ts.files/broadcast.d.ts +28 -32
- package/types/client/d.ts.files/dataSpecifications.d.ts +60 -42
- package/types/client/d.ts.files/glUtils.d.ts +71 -0
- package/types/client/d.ts.files/http.d.ts +0 -5
- package/types/client/d.ts.files/interpolatorTypes.d.ts +5 -5
- package/types/client/d.ts.files/lib.d.ts +1 -1
- package/types/client/d.ts.files/liveAlerts.d.ts +52 -0
- package/types/client/d.ts.files/mapUtils.d.ts +25 -0
- package/types/client/d.ts.files/outgoingMessages.d.ts +1 -1
- package/types/client/d.ts.files/plugin-params.d.ts +31 -13
- package/types/client/d.ts.files/plugins.d.ts +44 -29
- package/types/client/d.ts.files/singleclick.d.ts +4 -2
- package/types/client/d.ts.files/startup.d.ts +7 -52
- package/types/client/d.ts.files/storage.d.ts +0 -11
- package/types/client/d.ts.files/user.d.ts +6 -1
- package/types/client/embed.d.ts +2 -5
- package/types/client/errorLogger.d.ts +19 -0
- package/types/client/externalPlugins.d.ts +4 -2
- package/types/client/fetch.d.ts +38 -5
- package/types/client/format.d.ts +11 -0
- package/types/client/glContextUtils.d.ts +9 -0
- package/types/client/glStatus.d.ts +7 -0
- package/types/client/glUtils.d.ts +119 -0
- package/types/client/http.d.ts +0 -6
- package/types/client/idbConnection.d.ts +13 -0
- package/types/client/idbInstances.d.ts +36 -42
- package/types/client/landLayer.d.ts +3 -0
- package/types/client/layers.d.ts +2 -1
- package/types/client/lib.d.ts +11 -14
- package/types/client/liveAlerts.d.ts +2 -2
- package/types/client/location.d.ts +1 -1
- package/types/client/map.d.ts +95 -22
- package/types/client/mapUtils.d.ts +66 -0
- package/types/client/math.d.ts +14 -0
- package/types/client/mobile.d.ts +16 -34
- package/types/client/mobileUtils.d.ts +10 -0
- package/types/client/models.d.ts +1 -1
- package/types/client/overlays.d.ts +2 -2
- package/types/client/picker.d.ts +4 -8
- package/types/client/products.d.ts +0 -1
- package/types/client/promo.d.ts +1 -1
- package/types/client/renderUtils.d.ts +14 -0
- package/types/client/renderers.d.ts +5 -6
- package/types/client/rootScope.d.ts +9 -9
- package/types/client/router.d.ts +7 -2
- package/types/client/singleclick.d.ts +1 -1
- package/types/client/startup.d.ts +48 -0
- package/types/client/startupUtils.d.ts +19 -0
- package/types/client/subscription.d.ts +3 -26
- package/types/client/throttler.d.ts +32 -0
- package/types/client/tileHelpers.d.ts +35 -0
- package/types/client/tileLayerInterpolator.d.ts +40 -0
- package/types/client/tileLayerSource.d.ts +98 -0
- package/types/client/timestampUtils.test.d.ts +1 -0
- package/types/client/topMessage.d.ts +22 -0
- package/types/client/user.d.ts +1 -0
- package/types/client/userConsent.d.ts +0 -2
- package/types/client/userFavs.d.ts +0 -8
- package/types/client/utils.d.ts +62 -10
- package/types/client/utils.test.d.ts +1 -0
- package/types/iconfont.d.ts +2 -5
- package/types/interfaces.d.ts +121 -100
- package/types/lang-files.d.ts +412 -72
- package/types/leaflet-gl.d.ts +12773 -0
- package/types/types.d.ts +28 -6
- package/types/client/d.ts.files/CanvasLayer.d.ts +0 -70
- package/types/client/d.ts.files/DataTiler.d.ts +0 -45
- package/types/client/d.ts.files/LandMask.d.ts +0 -17
- package/types/client/d.ts.files/PoisOverlay.d.ts +0 -27
- package/types/client/d.ts.files/TileLayerCanvas.d.ts +0 -78
- package/types/client/d.ts.files/TileLayerMultiPatch.d.ts +0 -13
package/types/client/map.d.ts
CHANGED
|
@@ -10,11 +10,68 @@
|
|
|
10
10
|
*
|
|
11
11
|
* @module map
|
|
12
12
|
*/
|
|
13
|
-
import
|
|
13
|
+
import { DivIcon } from '@leafletGl';
|
|
14
|
+
import type { LatLon } from '@windy/interfaces.d';
|
|
14
15
|
import type { Pixel } from '@windy/types';
|
|
15
|
-
import type { MapLibreMap } from 'plugins/_shared/maplibre/mapLibreMap';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Use this object to lookup proper order IDs for different layers.
|
|
18
|
+
* Higher order ID layers always draw on top of lower order ID layers.
|
|
19
|
+
*/
|
|
20
|
+
export declare const layerOrder: {
|
|
21
|
+
/**
|
|
22
|
+
* Used for the colored land-sea layer. Bottom of the stack.
|
|
23
|
+
*/
|
|
24
|
+
LANDSEA_MASK_COLORED: number;
|
|
25
|
+
/**
|
|
26
|
+
* Main bucket for weather layers. Draws above the colored land/sea mask, but below everything else.
|
|
27
|
+
*/
|
|
28
|
+
MAIN: number;
|
|
29
|
+
/**
|
|
30
|
+
* Bucket for rendering satellite layer.
|
|
31
|
+
*/
|
|
32
|
+
SATELLITE: number;
|
|
33
|
+
/**
|
|
34
|
+
* Bucket for rendering radar layer.
|
|
35
|
+
*/
|
|
36
|
+
RADAR: number;
|
|
37
|
+
/**
|
|
38
|
+
* Particles overlay.
|
|
39
|
+
*/
|
|
40
|
+
PARTICLES: number;
|
|
41
|
+
/**
|
|
42
|
+
* Land/sea mask, to mask out some parts of the main weather map.
|
|
43
|
+
*/
|
|
44
|
+
LANDMASK_SEAMASK: number;
|
|
45
|
+
/**
|
|
46
|
+
* Used for the raster base map (the mostly transparent one with borders and outlines of water bodies).
|
|
47
|
+
* Draws above the weather layers and land/sea mask.
|
|
48
|
+
*/
|
|
49
|
+
BASE_MAP: number;
|
|
50
|
+
/**
|
|
51
|
+
* Bucket where particles are moved if the map is zoomed in enough to show outdoor map instead of the grey base map.
|
|
52
|
+
*/
|
|
53
|
+
PARTICLES_HIGH_ZOOM: number;
|
|
54
|
+
/**
|
|
55
|
+
* Airspaces map overlay.
|
|
56
|
+
*/
|
|
57
|
+
AIRSPACES: number;
|
|
58
|
+
/**
|
|
59
|
+
* WebGL POIs overlay (e.g. fire-spots).
|
|
60
|
+
*/
|
|
61
|
+
WEBGL_POIS: number;
|
|
62
|
+
/**
|
|
63
|
+
* Hurricane overlay.
|
|
64
|
+
*/
|
|
65
|
+
HURRICANES: number;
|
|
66
|
+
/**
|
|
67
|
+
* Isolines overlay.
|
|
68
|
+
* Display on top of both hurricanes and airspaces, since neither contains any text (at least not in their canvases), but isolines do have text.
|
|
69
|
+
* Note that hurricane markers/popups will display above all MapLibre layers, including this one.
|
|
70
|
+
*/
|
|
71
|
+
ISOLINES: number;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
* Already initialized instance of LeafletGL Map
|
|
18
75
|
*
|
|
19
76
|
* @example
|
|
20
77
|
* ```js
|
|
@@ -25,7 +82,7 @@ import type { MapLibreMap } from 'plugins/_shared/maplibre/mapLibreMap';
|
|
|
25
82
|
* });
|
|
26
83
|
* ```
|
|
27
84
|
*/
|
|
28
|
-
export declare const map:
|
|
85
|
+
export declare const map: any;
|
|
29
86
|
/**
|
|
30
87
|
* Already initialized reusable set of minimalistic Leaflet markers
|
|
31
88
|
*
|
|
@@ -39,12 +96,12 @@ export declare const map: L.Map;
|
|
|
39
96
|
* ```js
|
|
40
97
|
* import { map, markers } from '@windy/map';
|
|
41
98
|
*
|
|
42
|
-
* const myPulsatingMarker =
|
|
99
|
+
* const myPulsatingMarker = marker([ 50, 14 ], {
|
|
43
100
|
* icon: markers.pulsatingIcon
|
|
44
101
|
* }).addTo( map );
|
|
45
102
|
* ```
|
|
46
103
|
*/
|
|
47
|
-
export declare const markers: Record<string,
|
|
104
|
+
export declare const markers: Record<string, DivIcon>;
|
|
48
105
|
/**
|
|
49
106
|
* @ignore
|
|
50
107
|
*/
|
|
@@ -69,29 +126,45 @@ export declare function ensurePointVisibleY(lat: number, lon: number, offset: nu
|
|
|
69
126
|
* @ignore
|
|
70
127
|
*/
|
|
71
128
|
export declare function panToOffset(y: Pixel, lat: number, lon: number): void;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
export declare function
|
|
76
|
-
export declare function toggleLandMask(landOnly: boolean): void;
|
|
77
|
-
export declare function toggleSeaMask(hasSea: boolean): void;
|
|
129
|
+
export declare let hasMask: boolean;
|
|
130
|
+
export declare function toggleLandMask(enableMask: boolean): void;
|
|
131
|
+
export declare function toggleSeaMask(enableMask: boolean): void;
|
|
132
|
+
export declare function toggleLandSeaMaskColored(enableMask: boolean): void;
|
|
78
133
|
/**
|
|
79
134
|
* Retrieves the map tiles from the mapTilesRecord.
|
|
80
135
|
* @ignore
|
|
81
136
|
* @returns The map tiles.
|
|
82
137
|
*/
|
|
83
138
|
export declare const getMapTiles: (patchType?: string) => Record<import("@windy/baseMap").MapTilesKeys, string>;
|
|
84
|
-
/**
|
|
85
|
-
* Following object (singleton) contains all the stuff required for
|
|
86
|
-
* integration of mapLibre Gl into the client.
|
|
87
|
-
*/
|
|
88
|
-
export declare const mapLibre: {
|
|
89
|
-
/**
|
|
90
|
-
* Instance of our own mapLibre map wrapper Class
|
|
91
|
-
*/
|
|
92
|
-
wrapper: MapLibreMap | null;
|
|
93
|
-
};
|
|
94
139
|
/**
|
|
95
140
|
* Just handy shortcut to detect that globe is active
|
|
96
141
|
*/
|
|
97
142
|
export declare const isGlobeActive: () => boolean;
|
|
143
|
+
type LoadCallback = (...args: unknown[]) => void;
|
|
144
|
+
export declare function whenMapInitialized(callback: LoadCallback): void;
|
|
145
|
+
/**
|
|
146
|
+
* Requests the presence of a large loader, or removes such request.
|
|
147
|
+
* Each loader request is tied to some `id` - any unique identifier of a component that requested it.
|
|
148
|
+
* A loader is displayed for as long as any component requests one.
|
|
149
|
+
*
|
|
150
|
+
* Calling the function with `setTileLayerLoader(id, true)` when the loader was already requested before has no effect,
|
|
151
|
+
* and calling it with `setTileLayerLoader(id, false)` when the loader was already removed also has no effect.
|
|
152
|
+
*
|
|
153
|
+
* Example: both "tileLayer" and "cityLabels" might be requesting the presence of a loader, but "cityLabels" are done loading
|
|
154
|
+
* before "tileLayer" and remove their request, but the loader is still visible until "tileLayer" also removes its loader request.
|
|
155
|
+
* @param id - The string identifier of the calling component.
|
|
156
|
+
* @param loaderActive - Whether a loader is requested or not.
|
|
157
|
+
*
|
|
158
|
+
* @example
|
|
159
|
+
* ```ts
|
|
160
|
+
* const loaderId = "tileLayer";
|
|
161
|
+
* // Start of loading - we request a loader:
|
|
162
|
+
* setTileLayerLoader(loaderId, true);
|
|
163
|
+
* // Actually load something
|
|
164
|
+
* await loadSomething();
|
|
165
|
+
* // Remove our loader request:
|
|
166
|
+
* setTileLayerLoader(loaderId, false);
|
|
167
|
+
* ```
|
|
168
|
+
*/
|
|
169
|
+
export declare function setTileLayerLoader(id: string, loaderActive: boolean): void;
|
|
170
|
+
export {};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { LngLatBounds } from '@leafletGl';
|
|
2
|
+
import type { LatLngBounds, LngLatBoundsLike } from '@leafletGl';
|
|
3
|
+
import type { BoxBounds2D } from './d.ts.files/math';
|
|
4
|
+
export declare const utils: {
|
|
5
|
+
isWebGl2: boolean;
|
|
6
|
+
/** WebGL context type key - used to access context-relevant shaders sources */
|
|
7
|
+
context: "WGL1" | "WGL2";
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* @summary Computes nearest integer zoom w.r.t the supplied zoom offset (in case of different tile size than 512px) and optional upper bound
|
|
11
|
+
* @param map
|
|
12
|
+
* @param zoomOffset
|
|
13
|
+
* @param upperBound
|
|
14
|
+
*/
|
|
15
|
+
export declare function getSafeZoom(zoomOffset: number, upperBound?: number): number;
|
|
16
|
+
/**
|
|
17
|
+
* @summary Enumerates visible world copies for the current viewport state
|
|
18
|
+
* @param map MapLibre map used to query current viewport state
|
|
19
|
+
* @returns Array of integers representing each copy and its "position" in the repeated world coordinates (e.g. [-1, 0 = canonical, 1, 2])
|
|
20
|
+
*/
|
|
21
|
+
export declare function getWorldVisibleRectOffsets(): number[];
|
|
22
|
+
/**
|
|
23
|
+
* @summary Coverts MapLibre LngLat bounds to mercator bounding box with coordinates in range <0.0,1.0>
|
|
24
|
+
* @param bounds
|
|
25
|
+
*/
|
|
26
|
+
export declare function lngLatBoundsToMercator(bounds: LngLatBounds): BoxBounds2D;
|
|
27
|
+
/**
|
|
28
|
+
* Viewport tile padding, 1 = viewport is padded by one tile on each side
|
|
29
|
+
* - required mainly for data extrapolation since data outside of viewport have to be accessed
|
|
30
|
+
*/
|
|
31
|
+
export declare const tilePaddingSize: number;
|
|
32
|
+
/**
|
|
33
|
+
* @summary Computes viewport tile bounds defined in tile coordinates for current map viewport and zoom
|
|
34
|
+
* - in case of padding is defined, returns tile bounds computed from the padded lat-lon bounds
|
|
35
|
+
* @param map
|
|
36
|
+
* @param zoom
|
|
37
|
+
*/
|
|
38
|
+
export declare function getTileBounds(zoom: number, toCanonical?: boolean): BoxBounds2D;
|
|
39
|
+
/**
|
|
40
|
+
* @summary Converts tile bounds to Maplibre LngLatBounds
|
|
41
|
+
* @param tileBounds Tile bounds in tile coordinates
|
|
42
|
+
* @param zoom Integer (rounded) zoom w.r.t. the supplied tile bounds
|
|
43
|
+
*/
|
|
44
|
+
export declare function tileBoundsToLatLonBounds(tileBounds: BoxBounds2D, zoom: number): LngLatBounds;
|
|
45
|
+
/**
|
|
46
|
+
* @summary Converts lat-lon bounds (defined either as MapLibre LngLatBounds or as BoxBounds2D) to bounds defined in tile coordinates
|
|
47
|
+
* @param latLonBounds
|
|
48
|
+
* @param zoom Integer (rounded) zoom for which to compute the tile bounds
|
|
49
|
+
*/
|
|
50
|
+
export declare function latLonBounds2TileBounds(latLonBounds: LngLatBounds | BoxBounds2D, zoom: number): BoxBounds2D;
|
|
51
|
+
/**
|
|
52
|
+
* @summary Since maplibre tile zoom is based on default tile size 512px, other sizes lead to different zoom (e.g. 256px has zoom + 1...)
|
|
53
|
+
* - that means, that while map is having zoom 5, the tile with different tile size can have zoom 6
|
|
54
|
+
* @param tileSizeInPixels For which tile size to compute zoom offset
|
|
55
|
+
* @returns {number} Zoom offset delta to be added to the queried map zoom
|
|
56
|
+
*/
|
|
57
|
+
export declare function tileSizeToZoomOffset(tileSizeInPixels: number): number;
|
|
58
|
+
/**
|
|
59
|
+
* Converts Leaflet geodesic bounds to maplibre bounds
|
|
60
|
+
* @param lineBounds Geodesic bounds
|
|
61
|
+
* @returns {LngLatBoundsLike}
|
|
62
|
+
*/
|
|
63
|
+
export declare function geoBoundsToMaplibreBounds(lineBounds: LatLngBounds): LngLatBoundsLike;
|
|
64
|
+
export declare function createPlaceholderImageCanvas(noDataPattern: boolean, cssColor?: string): HTMLCanvasElement;
|
|
65
|
+
export declare function createPlaceholderImage(noDataPattern: boolean, cssColor?: string): Promise<HTMLImageElement>;
|
|
66
|
+
export declare function queryWebGlVersion(): void;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class Vector2 {
|
|
2
|
+
x: number;
|
|
3
|
+
y: number;
|
|
4
|
+
}
|
|
5
|
+
export declare class Vector3 extends Vector2 {
|
|
6
|
+
z: number;
|
|
7
|
+
}
|
|
8
|
+
export declare class Vector4 extends Vector3 {
|
|
9
|
+
w: number;
|
|
10
|
+
}
|
|
11
|
+
export type BoxBounds2D = {
|
|
12
|
+
min: Vector2;
|
|
13
|
+
max: Vector2;
|
|
14
|
+
};
|
package/types/client/mobile.d.ts
CHANGED
|
@@ -9,22 +9,6 @@
|
|
|
9
9
|
* and modules consumed by plugins, MUST be listed here.
|
|
10
10
|
*/
|
|
11
11
|
export * as errorLogger from './utils/errorLogger';
|
|
12
|
-
/**
|
|
13
|
-
const originalGetCurrentPosition = navigator.geolocation.getCurrentPosition;
|
|
14
|
-
navigator.geolocation.getCurrentPosition = (...args) => {
|
|
15
|
-
alert(`XXX getCurrentPosition ${new Error().stack}`);
|
|
16
|
-
debugger;
|
|
17
|
-
originalGetCurrentPosition.call(navigator.geolocation, ...args);
|
|
18
|
-
};
|
|
19
|
-
// Monkey-patch watchPosition
|
|
20
|
-
const originalWatchPosition = navigator.geolocation.watchPosition;
|
|
21
|
-
navigator.geolocation.watchPosition = (...args) => {
|
|
22
|
-
alert('XXX watchPosition');
|
|
23
|
-
debugger;
|
|
24
|
-
return originalWatchPosition.call(navigator.geolocation, ...args);
|
|
25
|
-
};
|
|
26
|
-
*/
|
|
27
|
-
import './leafletExt/CanvasLayer';
|
|
28
12
|
export * as Evented from './utils/Evented';
|
|
29
13
|
export * as css from './utils/css';
|
|
30
14
|
export * as fetch from './utils/fetch';
|
|
@@ -34,11 +18,16 @@ export * as http from './utils/http';
|
|
|
34
18
|
export * as log from './utils/log';
|
|
35
19
|
export { default as lruCache } from './utils/lruCache';
|
|
36
20
|
export { default as storage } from './utils/storage';
|
|
21
|
+
export * as IDB from './utils/IDB';
|
|
22
|
+
export * as idbInstances from './utils/idbInstances';
|
|
37
23
|
export * as subscription from './utils/subscription';
|
|
38
24
|
export * as utils from './utils/utils';
|
|
25
|
+
export * as mapUtils from './utils/mapUtils';
|
|
26
|
+
export * as customProtocol from './utils/customProtocol';
|
|
27
|
+
export * as landLayer from './map/landLayer';
|
|
39
28
|
export * as errors from './utils/errors';
|
|
40
|
-
export * as
|
|
41
|
-
export * as
|
|
29
|
+
export * as throttler from './utils/throttler';
|
|
30
|
+
export * as EventManager from './utils/EventManager';
|
|
42
31
|
export * as Calendar from './weatherClasses/Calendar';
|
|
43
32
|
export * as Color from './weatherClasses/Color';
|
|
44
33
|
export * as Layer from './weatherClasses/Layer';
|
|
@@ -64,7 +53,6 @@ export * as deviceLogging from './services/deviceLogging';
|
|
|
64
53
|
export * as geolocation from './services/geolocation';
|
|
65
54
|
export * as liveAlerts from './services/liveAlerts';
|
|
66
55
|
export * as notifications from './services/notifications';
|
|
67
|
-
export * as ogTags from './services/ogTags';
|
|
68
56
|
export * as params from './services/params';
|
|
69
57
|
export * as pois from './services/pois';
|
|
70
58
|
export * as reverseName from './services/reverseName';
|
|
@@ -90,7 +78,8 @@ export * as Drag from './uiClasses/Drag';
|
|
|
90
78
|
export * as Swipe from './uiClasses/Swipe';
|
|
91
79
|
export * as Window from './uiClasses/Window';
|
|
92
80
|
export * as components from './ui/components';
|
|
93
|
-
export * as
|
|
81
|
+
export * as startup from './ui/startup';
|
|
82
|
+
export * as startupUtils from './ui/startupUtils';
|
|
94
83
|
export * as keyboard from './ui/keyboard';
|
|
95
84
|
export * as location from './ui/location';
|
|
96
85
|
export * as permanentPromos from './ui/permanentPromos';
|
|
@@ -100,26 +89,20 @@ export * as rhMessage from './ui/rhMessage';
|
|
|
100
89
|
export * as timeAnimation from './ui/timeAnimation';
|
|
101
90
|
export * as visibility from './ui/visibility';
|
|
102
91
|
export * as share from './ui/share';
|
|
103
|
-
export * as
|
|
104
|
-
export * as DataTiler from './renderClasses/DataTiler';
|
|
105
|
-
export * as Particles from './renderClasses/Particles';
|
|
92
|
+
export * as topMessage from './ui/topMessage';
|
|
106
93
|
export * as Renderer from './renderClasses/Renderer';
|
|
107
94
|
export * as TileLayer from './renderClasses/TileLayer';
|
|
108
|
-
export { default as TileLayerCanvas } from './renderClasses/TileLayerCanvas';
|
|
109
|
-
export * as dataLoader from './render/dataLoader';
|
|
110
95
|
export * as interpolator from './render/interpolator';
|
|
111
|
-
export { default as particleRenderers } from './render/particleRenderers';
|
|
112
96
|
export * as renderCtrl from './render/renderCtrl';
|
|
113
97
|
export * as renderUtils from './render/renderUtils';
|
|
114
98
|
export { default as renderers } from './render/renderers';
|
|
115
|
-
export * as tileInterpolator from './render/
|
|
116
|
-
export
|
|
117
|
-
export * as
|
|
118
|
-
export * as
|
|
119
|
-
export
|
|
99
|
+
export * as tileInterpolator from './render/tileLayerInterpolator';
|
|
100
|
+
export * as tileLayerSource from './tileCache/tileLayerSource';
|
|
101
|
+
export * as SwitchableTileCache from './tileCache/SwitchableTileCache';
|
|
102
|
+
export * as TilePreprocessor from './tileCache/TilePreprocessor';
|
|
103
|
+
export * as glUtils from './glUtils/glUtils';
|
|
104
|
+
export * as ShaderStorage from './shaders/ShaderStorage';
|
|
120
105
|
export { default as LabelsLayer } from './mapClasses/LabelsLayer';
|
|
121
|
-
export { default as LandMask } from './mapClasses/LandMask';
|
|
122
|
-
export { default as TileLayerMultiPatch } from './mapClasses/TileLayerMultiPatch';
|
|
123
106
|
export * as baseMap from './map/baseMap';
|
|
124
107
|
export * as cityLabels from './map/cityLabels';
|
|
125
108
|
export * as map from './map/map';
|
|
@@ -132,7 +115,6 @@ export * as nativeStorage from './capacitor/nativeStorage';
|
|
|
132
115
|
export * as pushNotifications from './capacitor/pushNotifications';
|
|
133
116
|
export * as appsFlyer from './capacitor/appsFlyer';
|
|
134
117
|
export * as showableErrorsService from './capacitor/showableErrorsService';
|
|
135
|
-
import './ui/patchAndPromoCtrl';
|
|
136
118
|
import './ui/storeLastPosition';
|
|
137
119
|
import './services/customColors';
|
|
138
120
|
import './services/compatibilityCheck';
|
|
@@ -5,3 +5,13 @@
|
|
|
5
5
|
* @param disableForcedReloading Disable reloads, if location is the same
|
|
6
6
|
*/
|
|
7
7
|
export declare const reloadAppWithURL: (url: string, disableForcedReloading?: boolean) => void;
|
|
8
|
+
export declare const isFrequentUser: () => {
|
|
9
|
+
sessionsPerDay: number;
|
|
10
|
+
daysWithUs: number;
|
|
11
|
+
};
|
|
12
|
+
export declare const isAppReviewNecessaryConditionFulfilled: (daysWithUs: number) => boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Handles the Android back button press event.
|
|
15
|
+
*/
|
|
16
|
+
export declare const onAndroidBackButton: () => void;
|
|
17
|
+
export declare const handleAppsFlyer: () => Promise<void>;
|
package/types/client/models.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export declare const bestModelFromSameGroup: (rqrdProduct: Products, avProducts:
|
|
|
22
22
|
/**
|
|
23
23
|
* Return idents of visible local products available in the current map boundaries (or empty array undefined)
|
|
24
24
|
*/
|
|
25
|
-
export declare const betterProducts: <T extends LatLon, PT extends boolean, R extends PT extends true ? "icon" | "namConus" | "namHawaii" | "namAlaska" | "iconEu" | "iconD2" | "arome" | "aromeAntilles" | "aromeFrance" | "aromeReunion" | "canHrdps" | "canRdwpsWaves" | "camsEu" | "czeAladin" | "iconEuWaves" | "hrrrAlaska" | "hrrrConus" | "bomAccess" | "bomAccessAd" | "bomAccessBn" | "bomAccessDn" | "bomAccessNq" | "bomAccessPh" | "bomAccessSy" | "bomAccessVt" | "ukv" | "jmaMsm" | "jmaCwmWaves" | "gfs" | "ecmwf" | "
|
|
25
|
+
export declare const betterProducts: <T extends LatLon, PT extends boolean, R extends PT extends true ? "icon" | "namConus" | "namHawaii" | "namAlaska" | "iconEu" | "iconD2" | "arome" | "aromeAntilles" | "aromeFrance" | "aromeReunion" | "canHrdps" | "canRdwpsWaves" | "camsEu" | "czeAladin" | "iconEuWaves" | "hrrrAlaska" | "hrrrConus" | "bomAccess" | "bomAccessAd" | "bomAccessBn" | "bomAccessDn" | "bomAccessNq" | "bomAccessPh" | "bomAccessSy" | "bomAccessVt" | "ukv" | "jmaMsm" | "jmaCwmWaves" | "gfs" | "ecmwf" | "mblue" : "icon" | "radar" | "satellite" | "capAlerts" | "topoMap" | "nems" | "namConus" | "namHawaii" | "namAlaska" | "iconEu" | "iconD2" | "arome" | "aromeAntilles" | "aromeFrance" | "aromeReunion" | "canHrdps" | "canRdwpsWaves" | "camsEu" | "czeAladin" | "iconEuWaves" | "hrrrAlaska" | "hrrrConus" | "bomAccess" | "bomAccessAd" | "bomAccessBn" | "bomAccessDn" | "bomAccessNq" | "bomAccessPh" | "bomAccessSy" | "bomAccessVt" | "ukv" | "jmaMsm" | "jmaCwmWaves" | "gfs" | "ecmwf" | "ecmwfAnalysis" | "ecmwfWaves" | "gfsWaves" | "cams" | "efi" | "cmems" | "drought" | "fireDanger" | "activeFires" | "mblue">(latLon: T, pointFcts?: PT) => R[];
|
|
26
26
|
/**
|
|
27
27
|
* Return product string on a basis of overlay & wanted forecast model
|
|
28
28
|
*/
|
|
@@ -5,6 +5,7 @@ declare const overlays: {
|
|
|
5
5
|
temp: Overlay<"temp", import("../weatherClasses/MetricClasses").NumberedMetric, import("../weatherClasses/Layer").Layer<import("../weatherClasses/MetricClasses").NumberedMetric>>;
|
|
6
6
|
wetbulbtemp: Overlay<"temp", import("../weatherClasses/MetricClasses").NumberedMetric, import("../weatherClasses/Layer").Layer<import("../weatherClasses/MetricClasses").NumberedMetric>>;
|
|
7
7
|
solarpower: Overlay<"solarpower", import("../weatherClasses/MetricClasses").NumberedMetric, import("../weatherClasses/Layer").Layer<import("../weatherClasses/MetricClasses").NumberedMetric>>;
|
|
8
|
+
wavePower: Overlay<"wavePower", import("../weatherClasses/MetricClasses").NumberedMetric, import("../weatherClasses/Layer").Layer<import("../weatherClasses/MetricClasses").NumberedMetric>>;
|
|
8
9
|
uvindex: Overlay<"uvindex", import("../weatherClasses/MetricClasses").UVIndexMetric, import("../weatherClasses/Layer").Layer<import("../weatherClasses/MetricClasses").UVIndexMetric>>;
|
|
9
10
|
dewpoint: Overlay<"dewpoint", import("../weatherClasses/MetricClasses").NumberedMetric, import("../weatherClasses/Layer").Layer<import("../weatherClasses/MetricClasses").NumberedMetric>>;
|
|
10
11
|
gust: Overlay<"gust", import("../weatherClasses/MetricClasses").NumberedMetric, import("../weatherClasses/Layer").Layer<import("../weatherClasses/MetricClasses").NumberedMetric>>;
|
|
@@ -49,8 +50,6 @@ declare const overlays: {
|
|
|
49
50
|
ccl: Overlay<"ccl", import("../weatherClasses/MetricClasses").NumberedMetric, import("../weatherClasses/Layer").Layer<import("../weatherClasses/MetricClasses").NumberedMetric>>;
|
|
50
51
|
radar: Overlay<"radar", import("../weatherClasses/MetricClasses").NumberedMetric, import("../weatherClasses/Layer").Layer<import("../weatherClasses/MetricClasses").NumberedMetric>>;
|
|
51
52
|
satellite: Overlay<"satellite", import("../weatherClasses/MetricClasses").NumberedMetric, import("../weatherClasses/Layer").Layer<import("../weatherClasses/MetricClasses").NumberedMetric>>;
|
|
52
|
-
radarPlus: Overlay<"radarPlus", import("../weatherClasses/MetricClasses").NumberedMetric, import("../weatherClasses/Layer").Layer<import("../weatherClasses/MetricClasses").NumberedMetric>>;
|
|
53
|
-
satelliteIRBT: Overlay<"satellite", import("../weatherClasses/MetricClasses").NumberedMetric, import("../weatherClasses/Layer").Layer<import("../weatherClasses/MetricClasses").NumberedMetric>>;
|
|
54
53
|
capAlerts: Overlay<"capAlerts", undefined, import("../weatherClasses/Layer").Layer<undefined>>;
|
|
55
54
|
efiWind: Overlay<"efiWind", import("../weatherClasses/MetricClasses").NumberedMetric, import("../weatherClasses/Layer").Layer<import("../weatherClasses/MetricClasses").NumberedMetric>>;
|
|
56
55
|
efiTemp: Overlay<"efiTemp", import("../weatherClasses/MetricClasses").NumberedMetric, import("../weatherClasses/Layer").Layer<import("../weatherClasses/MetricClasses").NumberedMetric>>;
|
|
@@ -67,5 +66,6 @@ declare const overlays: {
|
|
|
67
66
|
topoMap: Overlay<"topoMap", undefined, import("../weatherClasses/Layer").Layer<undefined>>;
|
|
68
67
|
hurricanes: Overlay<"hurricanes", undefined, undefined>;
|
|
69
68
|
aqi: AqiOverlay<"aqi">;
|
|
69
|
+
radarPlus: Overlay<"radarPlus", undefined, undefined>;
|
|
70
70
|
};
|
|
71
71
|
export default overlays;
|
package/types/client/picker.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Evented } from '@windy/Evented';
|
|
2
|
-
import type { OnHoverPOIData } from '@plugins/poi-libs/poi-libs.d';
|
|
3
2
|
import type { LatLon } from '@windy/interfaces.d';
|
|
4
3
|
import type { PluginsOpenParams } from '@windy/plugin-params.d';
|
|
5
|
-
import type { Pixel
|
|
4
|
+
import type { Pixel } from '@windy/types';
|
|
5
|
+
import type { LatLng } from '@leafletGl';
|
|
6
6
|
interface Events {
|
|
7
7
|
pickerOpened: [PluginsOpenParams['picker'] & {
|
|
8
8
|
source?: 'picker';
|
|
@@ -10,10 +10,6 @@ interface Events {
|
|
|
10
10
|
pickerMoved: [PluginsOpenParams['picker']];
|
|
11
11
|
pickerClosed: [];
|
|
12
12
|
dataChanged: [];
|
|
13
|
-
getPOIsAtXY: [Pixel, Pixel];
|
|
14
|
-
POIloaded: [OnHoverPOIData];
|
|
15
|
-
POIclose: [];
|
|
16
|
-
rqstOpenPOIdetail: [PickerOpener];
|
|
17
13
|
}
|
|
18
14
|
/**
|
|
19
15
|
* Main emitter for purpose of picker actions, must be pard of core, so it is here.
|
|
@@ -46,9 +42,9 @@ export declare class PickerDot {
|
|
|
46
42
|
/** Resets previously offset picker position */
|
|
47
43
|
resetOffset(): void;
|
|
48
44
|
/** Returns picker dot position as Leaflet coords */
|
|
49
|
-
getLatLng():
|
|
45
|
+
getLatLng(): LatLng;
|
|
50
46
|
/** Returns lat and lon of the actual picker dot position */
|
|
51
|
-
getLatLon(): LatLon;
|
|
47
|
+
getLatLon(x?: Pixel, y?: Pixel): LatLon;
|
|
52
48
|
/** Returns position of pickerDot on Leaflet map */
|
|
53
49
|
getDotPosition(): {
|
|
54
50
|
x: Pixel;
|
package/types/client/promo.d.ts
CHANGED
|
@@ -1,10 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Shared rendering utilities (and also event emitter for rendering purposes)
|
|
3
3
|
*/
|
|
4
|
+
import { Evented } from '@windy/Evented';
|
|
4
5
|
import type { Color } from '@windy/Color';
|
|
5
6
|
import type { DataQuality } from '@windy/Product';
|
|
6
7
|
import type { TileParams } from '@windy/Renderer';
|
|
7
8
|
import type { TilePoint, FullRenderParameters, WeatherParameters } from '@windy/interfaces.d';
|
|
9
|
+
interface Events {
|
|
10
|
+
rendered: ['particles' | 'isolines' | 'map' | 'radar' | 'satellite' | 'tileLayer'];
|
|
11
|
+
glParticlesFailed: [];
|
|
12
|
+
toggleSeaMask: [boolean];
|
|
13
|
+
toggleLandMask: [boolean];
|
|
14
|
+
toggleLandSeaMaskColored: [boolean];
|
|
15
|
+
updateStateChange: ['move' | 'time'];
|
|
16
|
+
tileLayerRendererInitialized: [];
|
|
17
|
+
contextLost: [];
|
|
18
|
+
contextRestored: [];
|
|
19
|
+
}
|
|
20
|
+
export declare const emitter: Evented<Events>;
|
|
8
21
|
import type { Timestamp } from '@windy/types';
|
|
9
22
|
import type { Layers } from '@windy/Layer';
|
|
10
23
|
/**
|
|
@@ -85,3 +98,4 @@ export declare const interpolateNearest: (w: number[] | null, wIndex: number, G0
|
|
|
85
98
|
* Creates RenderingParameters
|
|
86
99
|
*/
|
|
87
100
|
export declare const createFullRenderingParams: (layerIdent: Layers, weatherParams: WeatherParameters, timestamp: Timestamp) => Promise<FullRenderParameters>;
|
|
101
|
+
export {};
|
|
@@ -7,12 +7,11 @@ declare const renderers: {
|
|
|
7
7
|
*/
|
|
8
8
|
tileLayer: TileLayer;
|
|
9
9
|
noUserControl: TileLayer;
|
|
10
|
-
radar: Renderer
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
particles: Renderer<"gl-particles", typeof import("../../plugins/gl-particles/gl-particles")>;
|
|
10
|
+
radar: Renderer;
|
|
11
|
+
radarPlus: Renderer;
|
|
12
|
+
capAlerts: Renderer;
|
|
13
|
+
isolines: Renderer;
|
|
14
|
+
particles: Renderer;
|
|
16
15
|
/** Extreme forecast and intersucho layers */
|
|
17
16
|
daySwitcher: TileLayer;
|
|
18
17
|
accumulations: TileLayer;
|
|
@@ -4,12 +4,12 @@ import type { LoadedTranslations } from './d.ts.files/types';
|
|
|
4
4
|
* Version of Windy.com client (as taken from package.json)
|
|
5
5
|
* @ignore
|
|
6
6
|
*/
|
|
7
|
-
export declare const version:
|
|
7
|
+
export declare const version: `${number}.${number}.${number}`;
|
|
8
8
|
/**
|
|
9
9
|
* Target
|
|
10
10
|
* @ignore
|
|
11
11
|
*/
|
|
12
|
-
export declare const target: "index" | "
|
|
12
|
+
export declare const target: "index" | "embed" | "mobile" | "lib";
|
|
13
13
|
/**
|
|
14
14
|
* Platform
|
|
15
15
|
* @ignore
|
|
@@ -43,7 +43,7 @@ export declare const setNodeServer: (value: string) => void;
|
|
|
43
43
|
* Map tile server
|
|
44
44
|
* @ignore
|
|
45
45
|
*/
|
|
46
|
-
export declare const tileServer
|
|
46
|
+
export declare const tileServer = "<!-- @echo TILES_HOST -->";
|
|
47
47
|
/**
|
|
48
48
|
* Community forum DO NOT PUT TRAILING "/" TO THE URL
|
|
49
49
|
* @ignore
|
|
@@ -69,7 +69,7 @@ export declare const iconsDir = "<!-- @echo IMG_RELATIVE_PATH -->/icons7";
|
|
|
69
69
|
/**
|
|
70
70
|
* List of valid overlay identifiers
|
|
71
71
|
*/
|
|
72
|
-
export declare const overlays: readonly ["radar", "satellite", "
|
|
72
|
+
export declare const overlays: readonly ["radar", "satellite", "wind", "gust", "gustAccu", "turbulence", "icing", "rain", "rainAccu", "snowAccu", "snowcover", "ptype", "thunder", "temp", "dewpoint", "rh", "deg0", "wetbulbtemp", "solarpower", "uvindex", "clouds", "hclouds", "mclouds", "lclouds", "fog", "cloudtop", "cbase", "visibility", "cape", "ccl", "waves", "swell1", "swell2", "swell3", "wwaves", "sst", "currents", "currentsTide", "wavePower", "aqi", "no2", "pm2p5", "aod550", "gtco3", "tcso2", "go3", "cosc", "dustsm", "pressure", "efiTemp", "efiWind", "efiRain", "capAlerts", "soilMoisture40", "soilMoisture100", "moistureAnom40", "moistureAnom100", "drought40", "drought100", "fwi", "dfm10h", "heatmaps", "topoMap", "hurricanes", "radarPlus"];
|
|
73
73
|
/**
|
|
74
74
|
* Identifier of products that cover only certain area
|
|
75
75
|
*/
|
|
@@ -77,7 +77,7 @@ export declare const localProducts: readonly ["nems", "namConus", "namHawaii", "
|
|
|
77
77
|
/**
|
|
78
78
|
* Identifiers of global products
|
|
79
79
|
*/
|
|
80
|
-
export declare const globalProducts: readonly ["gfs", "ecmwf", "ecmwfAnalysis", "radar", "ecmwfWaves", "gfsWaves", "icon", "capAlerts", "cams", "efi", "satellite", "
|
|
80
|
+
export declare const globalProducts: readonly ["gfs", "ecmwf", "ecmwfAnalysis", "radar", "ecmwfWaves", "gfsWaves", "icon", "capAlerts", "cams", "efi", "satellite", "cmems", "drought", "fireDanger", "activeFires", "topoMap"];
|
|
81
81
|
/**
|
|
82
82
|
* Identifiers of sea products
|
|
83
83
|
*/
|
|
@@ -97,19 +97,19 @@ export declare const localPointProducts: readonly ["namConus", "namHawaii", "nam
|
|
|
97
97
|
/**
|
|
98
98
|
* Identifiers of global products, that have point forecast
|
|
99
99
|
*/
|
|
100
|
-
export declare const globalPointProducts: readonly ["gfs", "ecmwf", "icon", "mblue"
|
|
100
|
+
export declare const globalPointProducts: readonly ["gfs", "ecmwf", "icon", "mblue"];
|
|
101
101
|
/**
|
|
102
102
|
* Identifiers of all land products combined
|
|
103
103
|
*/
|
|
104
|
-
export declare const products: readonly ["gfs", "ecmwf", "ecmwfAnalysis", "radar", "ecmwfWaves", "gfsWaves", "icon", "capAlerts", "cams", "efi", "satellite", "
|
|
104
|
+
export declare const products: readonly ["gfs", "ecmwf", "ecmwfAnalysis", "radar", "ecmwfWaves", "gfsWaves", "icon", "capAlerts", "cams", "efi", "satellite", "cmems", "drought", "fireDanger", "activeFires", "topoMap", "nems", "namConus", "namHawaii", "namAlaska", "iconEu", "iconD2", "arome", "aromeAntilles", "aromeFrance", "aromeReunion", "canHrdps", "canRdwpsWaves", "camsEu", "czeAladin", "iconEuWaves", "hrrrAlaska", "hrrrConus", "bomAccess", "bomAccessAd", "bomAccessBn", "bomAccessDn", "bomAccessNq", "bomAccessPh", "bomAccessSy", "bomAccessVt", "ukv", "jmaMsm", "jmaCwmWaves", "cams", "camsEu", "mblue"];
|
|
105
105
|
/**
|
|
106
106
|
* Identifiers of all point products combines
|
|
107
107
|
*/
|
|
108
|
-
export declare const pointProducts: readonly ["gfs", "ecmwf", "icon", "mblue", "
|
|
108
|
+
export declare const pointProducts: readonly ["gfs", "ecmwf", "icon", "mblue", "namConus", "namHawaii", "namAlaska", "iconD2", "iconEu", "iconEuWaves", "arome", "aromeAntilles", "aromeFrance", "aromeReunion", "canHrdps", "canRdwpsWaves", "czeAladin", "hrrrAlaska", "hrrrConus", "bomAccess", "bomAccessAd", "bomAccessBn", "bomAccessDn", "bomAccessNq", "bomAccessPh", "bomAccessSy", "bomAccessVt", "ukv", "jmaMsm", "jmaCwmWaves", "camsEu"];
|
|
109
109
|
/**
|
|
110
110
|
* Point products that have air point forecast
|
|
111
111
|
*/
|
|
112
|
-
export declare const airPointProducts: ("icon" | "namConus" | "namHawaii" | "namAlaska" | "iconEu" | "iconD2" | "arome" | "aromeAntilles" | "aromeFrance" | "aromeReunion" | "canHrdps" | "canRdwpsWaves" | "camsEu" | "czeAladin" | "iconEuWaves" | "hrrrAlaska" | "hrrrConus" | "bomAccess" | "bomAccessAd" | "bomAccessBn" | "bomAccessDn" | "bomAccessNq" | "bomAccessPh" | "bomAccessSy" | "bomAccessVt" | "ukv" | "jmaMsm" | "jmaCwmWaves" | "gfs" | "ecmwf" | "
|
|
112
|
+
export declare const airPointProducts: ("icon" | "namConus" | "namHawaii" | "namAlaska" | "iconEu" | "iconD2" | "arome" | "aromeAntilles" | "aromeFrance" | "aromeReunion" | "canHrdps" | "canRdwpsWaves" | "camsEu" | "czeAladin" | "iconEuWaves" | "hrrrAlaska" | "hrrrConus" | "bomAccess" | "bomAccessAd" | "bomAccessBn" | "bomAccessDn" | "bomAccessNq" | "bomAccessPh" | "bomAccessSy" | "bomAccessVt" | "ukv" | "jmaMsm" | "jmaCwmWaves" | "gfs" | "ecmwf" | "mblue")[];
|
|
113
113
|
/**
|
|
114
114
|
* IndicatesIndicates that that browsing device is mobile
|
|
115
115
|
*/
|
package/types/client/router.d.ts
CHANGED
|
@@ -33,5 +33,10 @@ export declare function parseSearch(searchQuery: string | undefined): ParsedStar
|
|
|
33
33
|
* Parsed items from URL
|
|
34
34
|
*/
|
|
35
35
|
export declare const sharedCoords: Coords;
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
/**
|
|
37
|
+
* The app was launched by widget or notification, so we should hide
|
|
38
|
+
* the startup weather
|
|
39
|
+
*/
|
|
40
|
+
export declare const hideStartupWeather: boolean;
|
|
41
|
+
export declare const parsedOverlay: "pressure" | "visibility" | "radar" | "satellite" | "wind" | "gust" | "gustAccu" | "turbulence" | "icing" | "rain" | "rainAccu" | "snowAccu" | "snowcover" | "ptype" | "thunder" | "temp" | "dewpoint" | "rh" | "deg0" | "wetbulbtemp" | "solarpower" | "uvindex" | "clouds" | "hclouds" | "mclouds" | "lclouds" | "fog" | "cloudtop" | "cbase" | "cape" | "ccl" | "waves" | "swell1" | "swell2" | "swell3" | "wwaves" | "sst" | "currents" | "currentsTide" | "wavePower" | "aqi" | "no2" | "pm2p5" | "aod550" | "gtco3" | "tcso2" | "go3" | "cosc" | "dustsm" | "efiTemp" | "efiWind" | "efiRain" | "capAlerts" | "soilMoisture40" | "soilMoisture100" | "moistureAnom40" | "moistureAnom100" | "drought40" | "drought100" | "fwi" | "dfm10h" | "heatmaps" | "topoMap" | "hurricanes" | "radarPlus";
|
|
42
|
+
export declare const parsedProduct: "icon" | "radar" | "satellite" | "capAlerts" | "topoMap" | "nems" | "namConus" | "namHawaii" | "namAlaska" | "iconEu" | "iconD2" | "arome" | "aromeAntilles" | "aromeFrance" | "aromeReunion" | "canHrdps" | "canRdwpsWaves" | "camsEu" | "czeAladin" | "iconEuWaves" | "hrrrAlaska" | "hrrrConus" | "bomAccess" | "bomAccessAd" | "bomAccessBn" | "bomAccessDn" | "bomAccessNq" | "bomAccessPh" | "bomAccessSy" | "bomAccessVt" | "ukv" | "jmaMsm" | "jmaCwmWaves" | "gfs" | "ecmwf" | "ecmwfAnalysis" | "ecmwfWaves" | "gfsWaves" | "cams" | "efi" | "cmems" | "drought" | "fireDanger" | "activeFires" | "mblue";
|
|
@@ -49,4 +49,4 @@ export declare const release: (ident: PluginIdent, priority: ListeningPriority)
|
|
|
49
49
|
* Handles all singleclick events from instance of Leaflet map
|
|
50
50
|
* @ignore
|
|
51
51
|
*/
|
|
52
|
-
export declare const opener: (ev:
|
|
52
|
+
export declare const opener: (ev: LeafletMouseEvent) => void;
|