@aguacerowx/react-native 0.0.53 → 0.0.54
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/LICENSE +21 -0
- package/android/src/main/java/com/aguacerowx/reactnative/NexradRadarLayerView.java +14 -2
- package/android/src/main/java/com/aguacerowx/reactnative/WeatherFrameProcessorModule.java +77 -0
- package/index.js +1 -1
- package/ios/WeatherFrameProcessorModule.m +19 -15
- package/ios/WeatherFrameProcessorModule.swift +65 -0
- package/lib/commonjs/AguaceroContext.js +0 -4
- package/lib/commonjs/AguaceroContext.js.map +1 -1
- package/lib/commonjs/GridRenderLayer.js +62 -76
- package/lib/commonjs/GridRenderLayer.js.map +1 -1
- package/lib/commonjs/MapManager.js +110 -224
- package/lib/commonjs/MapManager.js.map +1 -1
- package/lib/commonjs/MapRegistry.js +21 -33
- package/lib/commonjs/MapRegistry.js.map +1 -1
- package/lib/commonjs/NexradRadarLayer.android.js +28 -100
- package/lib/commonjs/NexradRadarLayer.android.js.map +1 -1
- package/lib/commonjs/NexradRadarLayer.ios.js +26 -97
- package/lib/commonjs/NexradRadarLayer.ios.js.map +1 -1
- package/lib/commonjs/NexradSitesMapLayer.js +41 -61
- package/lib/commonjs/NexradSitesMapLayer.js.map +1 -1
- package/lib/commonjs/SatelliteLayer.android.js +26 -38
- package/lib/commonjs/SatelliteLayer.android.js.map +1 -1
- package/lib/commonjs/SatelliteLayer.ios.js +30 -42
- package/lib/commonjs/SatelliteLayer.ios.js.map +1 -1
- package/lib/commonjs/StyleApplicator.js +129 -175
- package/lib/commonjs/StyleApplicator.js.map +1 -1
- package/lib/commonjs/WeatherLayerManager.js +995 -1646
- package/lib/commonjs/WeatherLayerManager.js.map +1 -1
- package/lib/commonjs/aguaceroCoreDebugHooks.js +58 -130
- package/lib/commonjs/aguaceroCoreDebugHooks.js.map +1 -1
- package/lib/commonjs/aguaceroRnDebug.js +147 -288
- package/lib/commonjs/aguaceroRnDebug.js.map +1 -1
- package/lib/commonjs/cdnAuthenticatedFetch.js +104 -0
- package/lib/commonjs/cdnAuthenticatedFetch.js.map +1 -0
- package/lib/commonjs/dispatchViewManagerCommandCompat.js +51 -88
- package/lib/commonjs/dispatchViewManagerCommandCompat.js.map +1 -1
- package/lib/commonjs/gridCdnAuth.js +41 -50
- package/lib/commonjs/gridCdnAuth.js.map +1 -1
- package/lib/commonjs/index.js +14 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/nexrad/nexradAndroidController.js +851 -863
- package/lib/commonjs/nexrad/nexradAndroidController.js.map +1 -1
- package/lib/commonjs/nexrad/nexradCrossSectionSampleAtLatLon.bundled.js +62 -85
- package/lib/commonjs/nexrad/nexradCrossSectionSampleAtLatLon.bundled.js.map +1 -1
- package/lib/commonjs/nexrad/nexradDiag.js +32 -148
- package/lib/commonjs/nexrad/nexradDiag.js.map +1 -1
- package/lib/commonjs/nexrad/nexradLevel2Keys.js +261 -0
- package/lib/commonjs/nexrad/nexradLevel2Keys.js.map +1 -0
- package/lib/commonjs/nexrad/nexradLutBuild.js +64 -111
- package/lib/commonjs/nexrad/nexradLutBuild.js.map +1 -1
- package/lib/commonjs/nexrad/nexradMapboxFrameOpts.bundled.js +136 -164
- package/lib/commonjs/nexrad/nexradMapboxFrameOpts.bundled.js.map +1 -1
- package/lib/commonjs/nexrad/nexradSdkImports.js +51 -0
- package/lib/commonjs/nexrad/nexradSdkImports.js.map +1 -0
- package/lib/commonjs/nexrad/radarArchiveCore.bundled.js +2848 -4455
- package/lib/commonjs/nexrad/radarArchiveCore.bundled.js.map +1 -1
- package/lib/commonjs/nexrad/radarDecode.worker.bundled.js +445 -648
- package/lib/commonjs/nexrad/radarDecode.worker.bundled.js.map +1 -1
- package/lib/commonjs/nexrad/radarFrameGpuMatch.bundled.js +52 -68
- package/lib/commonjs/nexrad/radarFrameGpuMatch.bundled.js.map +1 -1
- package/lib/commonjs/nexradNativeCommandIds.js +24 -0
- package/lib/commonjs/nexradNativeCommandIds.js.map +1 -0
- package/lib/commonjs/nws/NwsAlertsOverlay.android.js.map +1 -1
- package/lib/commonjs/nws/NwsAlertsOverlay.ios.js.map +1 -1
- package/lib/commonjs/nws/NwsAlertsOverlay.js +3 -3
- package/lib/commonjs/nws/NwsAlertsOverlay.js.map +1 -1
- package/lib/commonjs/nws/NwsAlertsOverlay.native.js +235 -361
- package/lib/commonjs/nws/NwsAlertsOverlay.native.js.map +1 -1
- package/lib/commonjs/nws/eventSourceRnPolyfill.js +92 -146
- package/lib/commonjs/nws/eventSourceRnPolyfill.js.map +1 -1
- package/lib/commonjs/nws/nwsAndroidConstants.js +2 -8
- package/lib/commonjs/nws/nwsAndroidConstants.js.map +1 -1
- package/lib/commonjs/satellite/satelliteAndroidController.js +117 -202
- package/lib/commonjs/satellite/satelliteAndroidController.js.map +1 -1
- package/lib/commonjs/satelliteBridgeDiag.js +3 -13
- package/lib/commonjs/satelliteBridgeDiag.js.map +1 -1
- package/lib/commonjs/satelliteRnDebug.js +117 -218
- package/lib/commonjs/satelliteRnDebug.js.map +1 -1
- package/lib/module/AguaceroContext.js +2 -7
- package/lib/module/AguaceroContext.js.map +1 -1
- package/lib/module/GridRenderLayer.js +66 -80
- package/lib/module/GridRenderLayer.js.map +1 -1
- package/lib/module/MapManager.js +125 -239
- package/lib/module/MapManager.js.map +1 -1
- package/lib/module/MapRegistry.js +21 -33
- package/lib/module/MapRegistry.js.map +1 -1
- package/lib/module/NexradRadarLayer.android.js +32 -104
- package/lib/module/NexradRadarLayer.android.js.map +1 -1
- package/lib/module/NexradRadarLayer.ios.js +30 -101
- package/lib/module/NexradRadarLayer.ios.js.map +1 -1
- package/lib/module/NexradSitesMapLayer.js +44 -63
- package/lib/module/NexradSitesMapLayer.js.map +1 -1
- package/lib/module/SatelliteLayer.android.js +32 -44
- package/lib/module/SatelliteLayer.android.js.map +1 -1
- package/lib/module/SatelliteLayer.ios.js +36 -48
- package/lib/module/SatelliteLayer.ios.js.map +1 -1
- package/lib/module/StyleApplicator.js +144 -191
- package/lib/module/StyleApplicator.js.map +1 -1
- package/lib/module/WeatherLayerManager.js +1024 -1675
- package/lib/module/WeatherLayerManager.js.map +1 -1
- package/lib/module/aguaceroCoreDebugHooks.js +59 -130
- package/lib/module/aguaceroCoreDebugHooks.js.map +1 -1
- package/lib/module/aguaceroRnDebug.js +151 -292
- package/lib/module/aguaceroRnDebug.js.map +1 -1
- package/lib/module/cdnAuthenticatedFetch.js +97 -0
- package/lib/module/cdnAuthenticatedFetch.js.map +1 -0
- package/lib/module/dispatchViewManagerCommandCompat.js +52 -90
- package/lib/module/dispatchViewManagerCommandCompat.js.map +1 -1
- package/lib/module/gridCdnAuth.js +38 -50
- package/lib/module/gridCdnAuth.js.map +1 -1
- package/lib/module/index.js +9 -7
- package/lib/module/index.js.map +1 -1
- package/lib/module/nexrad/nexradAndroidController.js +865 -876
- package/lib/module/nexrad/nexradAndroidController.js.map +1 -1
- package/lib/module/nexrad/nexradCrossSectionSampleAtLatLon.bundled.js +62 -85
- package/lib/module/nexrad/nexradCrossSectionSampleAtLatLon.bundled.js.map +1 -1
- package/lib/module/nexrad/nexradDiag.js +31 -145
- package/lib/module/nexrad/nexradDiag.js.map +1 -1
- package/lib/module/nexrad/nexradLevel2Keys.js +245 -0
- package/lib/module/nexrad/nexradLevel2Keys.js.map +1 -0
- package/lib/module/nexrad/nexradLutBuild.js +64 -110
- package/lib/module/nexrad/nexradLutBuild.js.map +1 -1
- package/lib/module/nexrad/nexradMapboxFrameOpts.bundled.js +136 -163
- package/lib/module/nexrad/nexradMapboxFrameOpts.bundled.js.map +1 -1
- package/lib/module/nexrad/nexradSdkImports.js +4 -0
- package/lib/module/nexrad/nexradSdkImports.js.map +1 -0
- package/lib/module/nexrad/radarArchiveCore.bundled.js +2839 -4448
- package/lib/module/nexrad/radarArchiveCore.bundled.js.map +1 -1
- package/lib/module/nexrad/radarDecode.worker.bundled.js +445 -648
- package/lib/module/nexrad/radarDecode.worker.bundled.js.map +1 -1
- package/lib/module/nexrad/radarFrameGpuMatch.bundled.js +50 -66
- package/lib/module/nexrad/radarFrameGpuMatch.bundled.js.map +1 -1
- package/lib/module/nexradNativeCommandIds.js +18 -0
- package/lib/module/nexradNativeCommandIds.js.map +1 -0
- package/lib/module/nws/NwsAlertsOverlay.android.js +1 -1
- package/lib/module/nws/NwsAlertsOverlay.android.js.map +1 -1
- package/lib/module/nws/NwsAlertsOverlay.ios.js +1 -1
- package/lib/module/nws/NwsAlertsOverlay.ios.js.map +1 -1
- package/lib/module/nws/NwsAlertsOverlay.js +5 -5
- package/lib/module/nws/NwsAlertsOverlay.js.map +1 -1
- package/lib/module/nws/NwsAlertsOverlay.native.js +248 -373
- package/lib/module/nws/NwsAlertsOverlay.native.js.map +1 -1
- package/lib/module/nws/eventSourceRnPolyfill.js +92 -146
- package/lib/module/nws/eventSourceRnPolyfill.js.map +1 -1
- package/lib/module/nws/nwsAndroidConstants.js +2 -8
- package/lib/module/nws/nwsAndroidConstants.js.map +1 -1
- package/lib/module/satellite/satelliteAndroidController.js +123 -208
- package/lib/module/satellite/satelliteAndroidController.js.map +1 -1
- package/lib/module/satelliteBridgeDiag.js +3 -13
- package/lib/module/satelliteBridgeDiag.js.map +1 -1
- package/lib/module/satelliteRnDebug.js +123 -223
- package/lib/module/satelliteRnDebug.js.map +1 -1
- package/lib/typescript/AguaceroContext.d.ts +0 -4
- package/lib/typescript/AguaceroContext.d.ts.map +1 -1
- package/lib/typescript/GridRenderLayer.d.ts.map +1 -1
- package/lib/typescript/MapManager.d.ts +0 -12
- package/lib/typescript/MapManager.d.ts.map +1 -1
- package/lib/typescript/MapRegistry.d.ts +10 -12
- package/lib/typescript/MapRegistry.d.ts.map +1 -1
- package/lib/typescript/NexradRadarLayer.android.d.ts.map +1 -1
- package/lib/typescript/NexradRadarLayer.ios.d.ts.map +1 -1
- package/lib/typescript/NexradSitesMapLayer.d.ts +4 -10
- package/lib/typescript/NexradSitesMapLayer.d.ts.map +1 -1
- package/lib/typescript/SatelliteLayer.android.d.ts.map +1 -1
- package/lib/typescript/SatelliteLayer.ios.d.ts.map +1 -1
- package/lib/typescript/StyleApplicator.d.ts +1 -1
- package/lib/typescript/StyleApplicator.d.ts.map +1 -1
- package/lib/typescript/WeatherLayerManager.d.ts.map +1 -1
- package/lib/typescript/aguaceroCoreDebugHooks.d.ts +2 -9
- package/lib/typescript/aguaceroCoreDebugHooks.d.ts.map +1 -1
- package/lib/typescript/aguaceroRnDebug.d.ts +47 -66
- package/lib/typescript/aguaceroRnDebug.d.ts.map +1 -1
- package/lib/typescript/cdnAuthenticatedFetch.d.ts +10 -0
- package/lib/typescript/cdnAuthenticatedFetch.d.ts.map +1 -0
- package/lib/typescript/dispatchViewManagerCommandCompat.d.ts +1 -17
- package/lib/typescript/dispatchViewManagerCommandCompat.d.ts.map +1 -1
- package/lib/typescript/gridCdnAuth.d.ts +16 -21
- package/lib/typescript/gridCdnAuth.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +1 -0
- package/lib/typescript/nexrad/nexradAndroidController.d.ts +39 -89
- package/lib/typescript/nexrad/nexradAndroidController.d.ts.map +1 -1
- package/lib/typescript/nexrad/nexradCrossSectionSampleAtLatLon.bundled.d.ts +2 -1
- package/lib/typescript/nexrad/nexradCrossSectionSampleAtLatLon.bundled.d.ts.map +1 -1
- package/lib/typescript/nexrad/nexradDiag.d.ts +13 -101
- package/lib/typescript/nexrad/nexradDiag.d.ts.map +1 -1
- package/lib/typescript/nexrad/nexradLevel2Keys.d.ts +36 -0
- package/lib/typescript/nexrad/nexradLevel2Keys.d.ts.map +1 -0
- package/lib/typescript/nexrad/nexradLutBuild.d.ts +3 -10
- package/lib/typescript/nexrad/nexradLutBuild.d.ts.map +1 -1
- package/lib/typescript/nexrad/nexradMapboxFrameOpts.bundled.d.ts +4 -3
- package/lib/typescript/nexrad/nexradMapboxFrameOpts.bundled.d.ts.map +1 -1
- package/lib/typescript/nexrad/nexradSdkImports.d.ts +2 -0
- package/lib/typescript/nexrad/nexradSdkImports.d.ts.map +1 -0
- package/lib/typescript/nexrad/radarArchiveCore.bundled.d.ts +12 -7
- package/lib/typescript/nexrad/radarArchiveCore.bundled.d.ts.map +1 -1
- package/lib/typescript/nexrad/radarDecode.worker.bundled.d.ts +20 -20
- package/lib/typescript/nexrad/radarDecode.worker.bundled.d.ts.map +1 -1
- package/lib/typescript/nexrad/radarFrameGpuMatch.bundled.d.ts +4 -3
- package/lib/typescript/nexrad/radarFrameGpuMatch.bundled.d.ts.map +1 -1
- package/lib/typescript/nexradNativeCommandIds.d.ts +2 -0
- package/lib/typescript/nexradNativeCommandIds.d.ts.map +1 -0
- package/lib/typescript/nws/NwsAlertsOverlay.native.d.ts +6 -17
- package/lib/typescript/nws/NwsAlertsOverlay.native.d.ts.map +1 -1
- package/lib/typescript/nws/eventSourceRnPolyfill.d.ts +0 -3
- package/lib/typescript/nws/eventSourceRnPolyfill.d.ts.map +1 -1
- package/lib/typescript/nws/nwsAndroidConstants.d.ts +0 -5
- package/lib/typescript/nws/nwsAndroidConstants.d.ts.map +1 -1
- package/lib/typescript/satellite/satelliteAndroidController.d.ts +9 -47
- package/lib/typescript/satellite/satelliteAndroidController.d.ts.map +1 -1
- package/lib/typescript/satelliteBridgeDiag.d.ts +1 -5
- package/lib/typescript/satelliteBridgeDiag.d.ts.map +1 -1
- package/lib/typescript/satelliteRnDebug.d.ts +24 -30
- package/lib/typescript/satelliteRnDebug.d.ts.map +1 -1
- package/package.json +75 -74
- package/src/AguaceroContext.js +1 -7
- package/src/GridRenderLayer.js +1 -128
- package/src/MapManager.js +1 -277
- package/src/MapRegistry.js +1 -56
- package/src/NexradRadarLayer.android.js +1 -121
- package/src/NexradRadarLayer.ios.js +1 -115
- package/src/NexradSitesMapLayer.js +1 -75
- package/src/SatelliteLayer.android.js +1 -63
- package/src/SatelliteLayer.ios.js +1 -70
- package/src/StyleApplicator.js +1 -241
- package/src/WeatherLayerManager.js +1 -2045
- package/src/aguaceroCoreDebugHooks.js +1 -142
- package/src/aguaceroRnDebug.js +1 -336
- package/src/cdnAuthenticatedFetch.js +1 -0
- package/src/dispatchViewManagerCommandCompat.js +1 -100
- package/src/gridCdnAuth.js +1 -56
- package/src/index.js +1 -27
- package/src/nexrad/nexradAndroidController.js +1 -1078
- package/src/nexrad/nexradCrossSectionSampleAtLatLon.bundled.js +1 -91
- package/src/nexrad/nexradDiag.js +1 -150
- package/src/nexrad/nexradLevel2Keys.js +1 -0
- package/src/nexrad/nexradLutBuild.js +1 -126
- package/src/nexrad/nexradMapboxFrameOpts.bundled.js +1 -245
- package/src/nexrad/nexradSdkImports.js +1 -0
- package/src/nexrad/radarArchiveCore.bundled.js +1 -7085
- package/src/nexrad/radarDecode.worker.bundled.js +1 -813
- package/src/nexrad/radarFrameGpuMatch.bundled.js +1 -79
- package/src/nexradNativeCommandIds.js +1 -0
- package/src/nws/NwsAlertsOverlay.android.js +1 -1
- package/src/nws/NwsAlertsOverlay.ios.js +1 -1
- package/src/nws/NwsAlertsOverlay.js +1 -7
- package/src/nws/NwsAlertsOverlay.native.js +1 -463
- package/src/nws/eventSourceRnPolyfill.js +7 -193
- package/src/nws/nwsAndroidConstants.js +1 -8
- package/src/satellite/satelliteAndroidController.js +1 -257
- package/src/satelliteBridgeDiag.js +1 -15
- package/src/satelliteRnDebug.js +1 -269
- package/lib/commonjs/nexrad/nexradNativeCommandIds.js +0 -51
- package/lib/commonjs/nexrad/nexradNativeCommandIds.js.map +0 -1
- package/lib/module/nexrad/nexradNativeCommandIds.js +0 -44
- package/lib/module/nexrad/nexradNativeCommandIds.js.map +0 -1
- package/lib/typescript/nexrad/nexradNativeCommandIds.d.ts +0 -9
- package/lib/typescript/nexrad/nexradNativeCommandIds.d.ts.map +0 -1
- package/src/nexrad/nexradNativeCommandIds.js +0 -44
- /package/lib/commonjs/{nexrad/nexradSitesUs.json → nexradSitesUs.json} +0 -0
- /package/lib/module/{nexrad/nexradSitesUs.json → nexradSitesUs.json} +0 -0
- /package/src/{nexrad/nexradSitesUs.json → nexradSitesUs.json} +0 -0
|
@@ -1,248 +1,148 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
const LOG = '[AguaceroRN][satellite]';
|
|
11
|
-
|
|
12
|
-
/** @type {import('react-native').EmitterSubscription | null} */
|
|
13
|
-
let diagSubscription = null;
|
|
14
|
-
const BASIS_FORMAT_NAMES = {
|
|
15
|
-
1: 'ETC2_RGBA (preferred Android)',
|
|
16
|
-
10: 'ASTC_LDR_4x4 (black tiles if GPU cannot sample ASTC)',
|
|
17
|
-
13: 'RGBA32 (universal fallback)'
|
|
1
|
+
import { NativeEventEmitter as S, Platform as p, UIManager as b } from "react-native";
|
|
2
|
+
import { aguaceroDebug as c, aguaceroDebugWarn as h, getAguaceroAuthDiagnosticSnapshot as v, isAguaceroRnDebugEnabled as g, redactApiKeyFromUrl as N } from "./aguaceroRnDebug";
|
|
3
|
+
export const SATELLITE_DIAGNOSTIC_EVENT = "AguaceroSatelliteDiagnostic";
|
|
4
|
+
const I = "[AguaceroRN][satellite]";
|
|
5
|
+
let d = null;
|
|
6
|
+
const x = {
|
|
7
|
+
1: "ETC2_RGBA (preferred Android)",
|
|
8
|
+
10: "ASTC_LDR_4x4 (black tiles if GPU cannot sample ASTC)",
|
|
9
|
+
13: "RGBA32 (universal fallback)"
|
|
18
10
|
};
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
* @param {number | undefined} ordinal
|
|
22
|
-
*/
|
|
23
|
-
export function basisFormatLabel(ordinal) {
|
|
24
|
-
if (ordinal == null || Number.isNaN(Number(ordinal))) return 'unknown';
|
|
25
|
-
return BASIS_FORMAT_NAMES[Number(ordinal)] ?? `ordinal_${ordinal}`;
|
|
11
|
+
export function basisFormatLabel(t) {
|
|
12
|
+
return t == null || Number.isNaN(Number(t)) ? "unknown" : x[Number(t)] ?? `ordinal_${t}`;
|
|
26
13
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
const activeUnix = ctx.activeUnix;
|
|
38
|
-
const visible = ctx.visible;
|
|
39
|
-
const opacity = ctx.opacity;
|
|
40
|
-
const basisFormat = ctx.basisFormatOrdinal ?? ctx.transcodeFormatOrdinal;
|
|
41
|
-
if (frameCount === 0) {
|
|
42
|
-
hints.push('JS built zero frame URLs — check satellite listing, channel (geocolor), and sector.');
|
|
43
|
-
}
|
|
44
|
-
if (visible === false) {
|
|
45
|
-
hints.push('Layer visible=false — imagery is hidden by state/UI.');
|
|
46
|
-
}
|
|
47
|
-
if (typeof opacity === 'number' && opacity <= 0) {
|
|
48
|
-
hints.push('Layer opacity=0 — increase opacity in WeatherLayerManager state.');
|
|
49
|
-
}
|
|
50
|
-
if (targetUnix != null && nativeCached === 0 && !Number.isNaN(nativeCached)) {
|
|
51
|
-
hints.push('targetUnix is set but native GPU cache is empty — KTX fetch/decode/upload failed; check native diagnostic events or logcat (AguaceroSatelliteView).');
|
|
52
|
-
}
|
|
53
|
-
if (activeUnix == null && targetUnix != null) {
|
|
54
|
-
hints.push('targetUnix set but no active frame on GPU yet — wait for decode or prior frame failed upload (ASTC on unsupported GPU is common).');
|
|
55
|
-
}
|
|
56
|
-
if (Number(basisFormat) === 10) {
|
|
57
|
-
hints.push('Transcoded to ASTC — if the map footprint is black, rebuild SDK with ETC2-first transcode or check AguaceroSatellite for GPU upload GL errors.');
|
|
58
|
-
}
|
|
59
|
-
if (ctx.bundleIdPresent === false) {
|
|
60
|
-
hints.push('bundleId missing — install react-native-device-info; some keys require x-app-identifier (usually 403, not black tiles).');
|
|
61
|
-
}
|
|
62
|
-
if (ctx.mapLayerAdded === false) {
|
|
63
|
-
hints.push('Mapbox custom satellite layer not attached — ensure WeatherLayerManager is a child of MapManager.');
|
|
64
|
-
}
|
|
65
|
-
if (ctx.satelliteNativeMissing === true) {
|
|
66
|
-
hints.push('SatelliteLayer native view manager not registered — rebuild app / link @aguacerowx/react-native android.');
|
|
67
|
-
}
|
|
68
|
-
if (hints.length === 0) {
|
|
69
|
-
hints.push('JS pipeline looks healthy — inspect native events below (fetch bytes, transcode format, GPU upload). Filter logcat: AguaceroSatelliteView AguaceroSatellite AguaceroSatKtx');
|
|
70
|
-
}
|
|
71
|
-
return hints;
|
|
14
|
+
export function interpretSatelliteBlackScreenHints(t) {
|
|
15
|
+
const e = [],
|
|
16
|
+
a = Number(t.frameCount ?? 0),
|
|
17
|
+
n = Number(t.nativeCachedFrames ?? t.cachedFrameCount ?? NaN),
|
|
18
|
+
i = t.targetUnix,
|
|
19
|
+
o = t.activeUnix,
|
|
20
|
+
r = t.visible,
|
|
21
|
+
l = t.opacity,
|
|
22
|
+
u = t.basisFormatOrdinal ?? t.transcodeFormatOrdinal;
|
|
23
|
+
return a === 0 && e.push("JS built zero frame URLs \u2014 check satellite listing, channel (geocolor), and sector."), r === !1 && e.push("Layer visible=false \u2014 imagery is hidden by state/UI."), typeof l == "number" && l <= 0 && e.push("Layer opacity=0 \u2014 increase opacity in WeatherLayerManager state."), i != null && n === 0 && !Number.isNaN(n) && e.push("targetUnix is set but native GPU cache is empty \u2014 KTX fetch/decode/upload failed; check native diagnostic events or logcat (AguaceroSatelliteView)."), o == null && i != null && e.push("targetUnix set but no active frame on GPU yet \u2014 wait for decode or prior frame failed upload (ASTC on unsupported GPU is common)."), Number(u) === 10 && e.push("Transcoded to ASTC \u2014 if the map footprint is black, rebuild SDK with ETC2-first transcode or check AguaceroSatellite for GPU upload GL errors."), t.bundleIdPresent === !1 && e.push("bundleId missing \u2014 install react-native-device-info; some keys require x-app-identifier (usually 403, not black tiles)."), t.mapLayerAdded === !1 && e.push("Mapbox custom satellite layer not attached \u2014 ensure WeatherLayerManager is a child of MapManager."), t.satelliteNativeMissing === !0 && e.push("SatelliteLayer native view manager not registered \u2014 rebuild app / link @aguacerowx/react-native android."), e.length === 0 && e.push("JS pipeline looks healthy \u2014 inspect native events below (fetch bytes, transcode format, GPU upload). Filter logcat: AguaceroSatelliteView AguaceroSatellite AguaceroSatKtx"), e;
|
|
72
24
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
* One-shot integration audit (call when WeatherLayerManager mounts with debug).
|
|
76
|
-
* @param {{ core?: import('@aguacerowx/javascript-sdk').AguaceroCore; satelliteLayerRef?: React.RefObject<unknown> }} opts
|
|
77
|
-
*/
|
|
78
|
-
export function auditSatelliteIntegration(opts = {}) {
|
|
79
|
-
if (!isAguaceroRnDebugEnabled()) return;
|
|
25
|
+
export function auditSatelliteIntegration(t = {}) {
|
|
26
|
+
if (!g()) return;
|
|
80
27
|
const {
|
|
81
|
-
core,
|
|
82
|
-
satelliteLayerRef
|
|
83
|
-
} =
|
|
84
|
-
let
|
|
85
|
-
|
|
86
|
-
|
|
28
|
+
core: e,
|
|
29
|
+
satelliteLayerRef: a
|
|
30
|
+
} = t;
|
|
31
|
+
let n = [],
|
|
32
|
+
i = [],
|
|
33
|
+
o = null;
|
|
87
34
|
try {
|
|
88
|
-
|
|
89
|
-
} catch (
|
|
90
|
-
|
|
91
|
-
satCmdKeys = [];
|
|
35
|
+
n = Object.keys(b.getViewManagerConfig?.("SatelliteLayer")?.Commands ?? {});
|
|
36
|
+
} catch (s) {
|
|
37
|
+
o = String(s?.message ?? s), n = [];
|
|
92
38
|
}
|
|
93
39
|
try {
|
|
94
|
-
|
|
40
|
+
i = Object.keys(b.getViewManagerConfig?.("GridRenderLayer")?.Commands ?? {});
|
|
95
41
|
} catch {
|
|
96
|
-
|
|
42
|
+
i = [];
|
|
97
43
|
}
|
|
98
|
-
let
|
|
99
|
-
|
|
44
|
+
let r = !1,
|
|
45
|
+
l = null;
|
|
100
46
|
try {
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
deviceInfoOk = true;
|
|
47
|
+
const s = require("react-native-device-info");
|
|
48
|
+
r = !0;
|
|
104
49
|
try {
|
|
105
|
-
|
|
50
|
+
l = s.getBundleId?.() ?? null;
|
|
106
51
|
} catch {
|
|
107
|
-
|
|
52
|
+
l = null;
|
|
108
53
|
}
|
|
109
54
|
} catch {
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
const
|
|
113
|
-
platform:
|
|
114
|
-
satelliteNativeCommands:
|
|
115
|
-
satelliteNativeMissing:
|
|
116
|
-
satelliteManagerError:
|
|
117
|
-
gridNativeCommands:
|
|
118
|
-
satelliteRefAttached:
|
|
119
|
-
satelliteRefMethods:
|
|
120
|
-
reactNativeDeviceInfo:
|
|
121
|
-
installed:
|
|
122
|
-
bundleId:
|
|
55
|
+
r = !1;
|
|
56
|
+
}
|
|
57
|
+
const u = {
|
|
58
|
+
platform: p.OS,
|
|
59
|
+
satelliteNativeCommands: n,
|
|
60
|
+
satelliteNativeMissing: n.length === 0,
|
|
61
|
+
satelliteManagerError: o,
|
|
62
|
+
gridNativeCommands: i,
|
|
63
|
+
satelliteRefAttached: !!a?.current,
|
|
64
|
+
satelliteRefMethods: a?.current ? Object.keys(a.current) : [],
|
|
65
|
+
reactNativeDeviceInfo: r ? {
|
|
66
|
+
installed: !0,
|
|
67
|
+
bundleId: l
|
|
123
68
|
} : {
|
|
124
|
-
installed:
|
|
125
|
-
hint:
|
|
69
|
+
installed: !1,
|
|
70
|
+
hint: "npm install react-native-device-info \u2014 required for core.bundleId / x-app-identifier"
|
|
126
71
|
},
|
|
127
|
-
mapboxNote:
|
|
128
|
-
nativeLibraries: [
|
|
129
|
-
auth:
|
|
72
|
+
mapboxNote: "Requires @rnmapbox/maps v11; WeatherLayerManager must be nested inside MapManager",
|
|
73
|
+
nativeLibraries: ["aguacero_satellite_ktx (KTX2 Basis transcoder JNI)"],
|
|
74
|
+
auth: e ? v(e) : void 0
|
|
130
75
|
};
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
}
|
|
137
|
-
if (core && !core.bundleId && Platform.OS !== 'web') {
|
|
138
|
-
aguaceroDebugWarn('integration.bundleIdMissing', {
|
|
139
|
-
hint: 'core.bundleId is null — CDN may still work; some API keys require react-native-device-info.',
|
|
140
|
-
deviceInfoInstalled: deviceInfoOk
|
|
141
|
-
});
|
|
142
|
-
}
|
|
143
|
-
return snapshot;
|
|
76
|
+
return c("integration.audit", u), n.length === 0 && h("integration.satelliteNativeMissing", {
|
|
77
|
+
hint: "SatelliteLayer ViewManager has no commands \u2014 satellite will never render on Android."
|
|
78
|
+
}), e && !e.bundleId && p.OS !== "web" && h("integration.bundleIdMissing", {
|
|
79
|
+
hint: "core.bundleId is null \u2014 CDN may still work; some API keys require react-native-device-info.",
|
|
80
|
+
deviceInfoInstalled: r
|
|
81
|
+
}), u;
|
|
144
82
|
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
* @param {object} params
|
|
148
|
-
*/
|
|
149
|
-
export function logSatelliteSyncReport(params) {
|
|
150
|
-
if (!isAguaceroRnDebugEnabled()) return;
|
|
83
|
+
export function logSatelliteSyncReport(t) {
|
|
84
|
+
if (!g()) return;
|
|
151
85
|
const {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
86
|
+
state: e,
|
|
87
|
+
core: a,
|
|
88
|
+
frames: n,
|
|
89
|
+
targetUnix: i,
|
|
90
|
+
runKey: o,
|
|
91
|
+
timelineKeyCount: r,
|
|
92
|
+
runKeyChanged: l,
|
|
93
|
+
timelineChanged: u,
|
|
94
|
+
stylePayload: s
|
|
95
|
+
} = t,
|
|
96
|
+
m = n?.[0],
|
|
97
|
+
f = n?.length ? n[n.length - 1] : null,
|
|
98
|
+
y = {
|
|
99
|
+
runKey: o,
|
|
100
|
+
runKeyChanged: l,
|
|
101
|
+
timelineChanged: u,
|
|
102
|
+
timelineKeyCount: r,
|
|
103
|
+
builtFrameCount: n?.length ?? 0,
|
|
104
|
+
targetUnix: i,
|
|
105
|
+
satelliteTimestamp: e?.satelliteTimestamp ?? null,
|
|
106
|
+
style: s,
|
|
107
|
+
instrument: e?.satelliteInstrumentId,
|
|
108
|
+
sector: e?.satelliteSectorLabel,
|
|
109
|
+
channel: e?.satelliteChannel,
|
|
110
|
+
availableSatelliteTimestamps: e?.availableSatelliteTimestamps?.length ?? 0,
|
|
111
|
+
sampleShaderFileName: m?.shaderFileName ?? null,
|
|
112
|
+
sampleFrameUrl: m?.url ? N(m.url) : null,
|
|
113
|
+
firstUnix: m?.unix ?? null,
|
|
114
|
+
lastUnix: f?.unix ?? null,
|
|
115
|
+
auth: a ? v(a) : void 0,
|
|
116
|
+
blackScreenHints: interpretSatelliteBlackScreenHints({
|
|
117
|
+
frameCount: n?.length ?? 0,
|
|
118
|
+
targetUnix: i,
|
|
119
|
+
visible: s?.visible,
|
|
120
|
+
opacity: s?.opacity,
|
|
121
|
+
bundleIdPresent: !!a?.bundleId
|
|
122
|
+
})
|
|
123
|
+
};
|
|
124
|
+
c("sync.report", y);
|
|
191
125
|
}
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* Subscribe to native → JS diagnostic events (Android). Returns unsubscribe.
|
|
195
|
-
* @returns {() => void}
|
|
196
|
-
*/
|
|
197
126
|
export function installSatelliteDiagnosticListener() {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
}
|
|
209
|
-
const emitter = new NativeEventEmitter();
|
|
210
|
-
diagSubscription = emitter.addListener(SATELLITE_DIAGNOSTIC_EVENT, payload => {
|
|
211
|
-
if (!payload || typeof payload !== 'object') return;
|
|
212
|
-
const phase = payload.phase ?? 'unknown';
|
|
213
|
-
const detail = {
|
|
214
|
-
...payload
|
|
215
|
-
};
|
|
216
|
-
delete detail.phase;
|
|
217
|
-
if (detail.basisFormatOrdinal != null) {
|
|
218
|
-
detail.basisFormat = basisFormatLabel(detail.basisFormatOrdinal);
|
|
219
|
-
}
|
|
220
|
-
if (detail.transcodeFormatOrdinal != null) {
|
|
221
|
-
detail.transcodeFormat = basisFormatLabel(detail.transcodeFormatOrdinal);
|
|
222
|
-
}
|
|
223
|
-
if (phase.includes('fail') || phase.includes('error') || phase === 'render.noDraw' || phase === 'render.poll' && (detail.cachedFrameCount === 0 || detail.activeUnix == null)) {
|
|
224
|
-
detail.blackScreenHints = interpretSatelliteBlackScreenHints(detail);
|
|
225
|
-
aguaceroDebugWarn(`native.${phase}`, detail);
|
|
226
|
-
} else {
|
|
227
|
-
aguaceroDebug(`native.${phase}`, detail);
|
|
228
|
-
}
|
|
229
|
-
});
|
|
230
|
-
aguaceroDebug('nativeEvents.installed', {
|
|
127
|
+
return g() ? p.OS !== "android" ? (c("nativeEvents.skipped", {
|
|
128
|
+
reason: "only Android emits AguaceroSatelliteDiagnostic today"
|
|
129
|
+
}), () => {}) : (d && (d.remove(), d = null), d = new S().addListener(SATELLITE_DIAGNOSTIC_EVENT, t => {
|
|
130
|
+
if (!t || typeof t != "object") return;
|
|
131
|
+
const e = t.phase ?? "unknown",
|
|
132
|
+
a = {
|
|
133
|
+
...t
|
|
134
|
+
};
|
|
135
|
+
delete a.phase, a.basisFormatOrdinal != null && (a.basisFormat = basisFormatLabel(a.basisFormatOrdinal)), a.transcodeFormatOrdinal != null && (a.transcodeFormat = basisFormatLabel(a.transcodeFormatOrdinal)), e.includes("fail") || e.includes("error") || e === "render.noDraw" || e === "render.poll" && (a.cachedFrameCount === 0 || a.activeUnix == null) ? (a.blackScreenHints = interpretSatelliteBlackScreenHints(a), h(`native.${e}`, a)) : c(`native.${e}`, a);
|
|
136
|
+
}), c("nativeEvents.installed", {
|
|
231
137
|
event: SATELLITE_DIAGNOSTIC_EVENT,
|
|
232
|
-
hint:
|
|
233
|
-
})
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
diagSubscription = null;
|
|
237
|
-
};
|
|
138
|
+
hint: "Native fetch/decode/GPU logs will appear here when debug=true on WeatherLayerManager"
|
|
139
|
+
}), () => {
|
|
140
|
+
d?.remove(), d = null;
|
|
141
|
+
}) : () => {};
|
|
238
142
|
}
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
export function logSatelliteNativeDiagnostic(nativePayload) {
|
|
244
|
-
if (!isAguaceroRnDebugEnabled() || !nativePayload) return;
|
|
245
|
-
const phase = nativePayload.phase ?? 'event';
|
|
246
|
-
aguaceroDebug(`native.${phase}`, nativePayload);
|
|
143
|
+
export function logSatelliteNativeDiagnostic(t) {
|
|
144
|
+
if (!g() || !t) return;
|
|
145
|
+
const e = t.phase ?? "event";
|
|
146
|
+
c(`native.${e}`, t);
|
|
247
147
|
}
|
|
248
148
|
//# sourceMappingURL=satelliteRnDebug.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["NativeEventEmitter","
|
|
1
|
+
{"version":3,"names":["NativeEventEmitter","S","Platform","p","UIManager","b","aguaceroDebug","c","aguaceroDebugWarn","h","getAguaceroAuthDiagnosticSnapshot","v","isAguaceroRnDebugEnabled","g","redactApiKeyFromUrl","N","SATELLITE_DIAGNOSTIC_EVENT","I","d","x","basisFormatLabel","t","Number","isNaN","interpretSatelliteBlackScreenHints","e","a","frameCount","n","nativeCachedFrames","cachedFrameCount","NaN","i","targetUnix","o","activeUnix","r","visible","l","opacity","u","basisFormatOrdinal","transcodeFormatOrdinal","push","bundleIdPresent","mapLayerAdded","satelliteNativeMissing","length","auditSatelliteIntegration","core","satelliteLayerRef","Object","keys","getViewManagerConfig","Commands","s","String","message","require","getBundleId","platform","OS","satelliteNativeCommands","satelliteManagerError","gridNativeCommands","satelliteRefAttached","current","satelliteRefMethods","reactNativeDeviceInfo","installed","bundleId","hint","mapboxNote","nativeLibraries","auth","deviceInfoInstalled","logSatelliteSyncReport","state","frames","runKey","timelineKeyCount","runKeyChanged","timelineChanged","stylePayload","m","f","y","builtFrameCount","satelliteTimestamp","style","instrument","satelliteInstrumentId","sector","satelliteSectorLabel","channel","satelliteChannel","availableSatelliteTimestamps","sampleShaderFileName","shaderFileName","sampleFrameUrl","url","firstUnix","unix","lastUnix","blackScreenHints","installSatelliteDiagnosticListener","reason","remove","addListener","phase","basisFormat","transcodeFormat","includes","event","logSatelliteNativeDiagnostic"],"sourceRoot":"..\\..\\src","sources":["satelliteRnDebug.js"],"mappings":"AAAA,SAAOA,kBAAkB,IAAIC,CAAC,EAACC,QAAQ,IAAIC,CAAC,EAACC,SAAS,IAAIC,CAAC,QAAK,cAAc;AAAC,SAAOC,aAAa,IAAIC,CAAC,EAACC,iBAAiB,IAAIC,CAAC,EAACC,iCAAiC,IAAIC,CAAC,EAACC,wBAAwB,IAAIC,CAAC,EAACC,mBAAmB,IAAIC,CAAC,QAAK,mBAAmB;AAAC,OAAO,MAAMC,0BAA0B,GAAC,6BAA6B;AAAC,MAAMC,CAAC,GAAC,yBAAyB;AAAC,IAAIC,CAAC,GAAC,IAAI;AAAC,MAAMC,CAAC,GAAC;EAAC,CAAC,EAAC,+BAA+B;EAAC,EAAE,EAAC,sDAAsD;EAAC,EAAE,EAAC;AAA6B,CAAC;AAAC,OAAO,SAASC,gBAAgBA,CAACC,CAAC,EAAC;EAAC,OAAOA,CAAC,IAAE,IAAI,IAAE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e,GAAC3F,gBAAgB,CAACM,CAAC,CAACgB,sBAAsB,CAAC,CAAC,EAACjB,CAAC,CAACuF,QAAQ,CAAC,MAAM,CAAC,IAAEvF,CAAC,CAACuF,QAAQ,CAAC,OAAO,CAAC,IAAEvF,CAAC,KAAG,eAAe,IAAEA,CAAC,KAAG,aAAa,KAAGC,CAAC,CAACI,gBAAgB,KAAG,CAAC,IAAEJ,CAAC,CAACS,UAAU,IAAE,IAAI,CAAC,IAAET,CAAC,CAAC8E,gBAAgB,GAAChF,kCAAkC,CAACE,CAAC,CAAC,EAACjB,CAAC,CAAC,UAAUgB,CAAC,EAAE,EAACC,CAAC,CAAC,IAAEnB,CAAC,CAAC,UAAUkB,CAAC,EAAE,EAACC,CAAC,CAAC;EAAA,CAAC,CAAC,EAACnB,CAAC,CAAC,wBAAwB,EAAC;IAAC0G,KAAK,EAACjG,0BAA0B;IAACuD,IAAI,EAAC;EAAsF,CAAC,CAAC,EAAC,MAAI;IAACrD,CAAC,EAAEyF,MAAM,CAAC,CAAC,EAACzF,CAAC,GAAC,IAAI;EAAA,CAAC,CAAC,GAAC,MAAI,CAAC,CAAC;AAAA;AAAC,OAAO,SAASgG,4BAA4BA,CAAC7F,CAAC,EAAC;EAAC,IAAG,CAACR,CAAC,CAAC,CAAC,IAAE,CAACQ,CAAC,EAAC;EAAO,MAAMI,CAAC,GAACJ,CAAC,CAACwF,KAAK,IAAE,OAAO;EAACtG,CAAC,CAAC,UAAUkB,CAAC,EAAE,EAACJ,CAAC,CAAC;AAAA","ignoreList":[]}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Map + anchors from {@link MapManager}: `getMap`, `getCenter`, `weatherBeforeLayerId`, `resolvedStyleURL`.
|
|
3
|
-
* When `weatherBeforeLayerId` is null, weather layers use `AML_-_terrain` (Aguacero base style).
|
|
4
|
-
*/
|
|
5
1
|
export const AguaceroContext: any;
|
|
6
2
|
//# sourceMappingURL=AguaceroContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AguaceroContext.d.ts","sourceRoot":"","sources":["../../src/AguaceroContext.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AguaceroContext.d.ts","sourceRoot":"","sources":["../../src/AguaceroContext.js"],"names":[],"mappings":"AAAqB,kCAAmD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GridRenderLayer.d.ts","sourceRoot":"","sources":["../../src/GridRenderLayer.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GridRenderLayer.d.ts","sourceRoot":"","sources":["../../src/GridRenderLayer.js"],"names":[],"mappings":"AAAkO,kCAAo1D"}
|
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @param {object} props
|
|
3
|
-
* @param {string} props.mapboxToken
|
|
4
|
-
* @param {object} [props.customStyles]
|
|
5
|
-
* @param {'light'|'dark'} [props.theme]
|
|
6
|
-
* @param {object} [props.mapOptions] - `style` / `styleURL` / `styleUrl` set the map style when no top-level custom style pair is used (mapsgl parity).
|
|
7
|
-
* @param {string} [props.styleURL] - Custom Mapbox style URL (alias: `styleUrl`).
|
|
8
|
-
* @param {string} [props.styleUrl]
|
|
9
|
-
* @param {string} [props.belowID] - Style layer id to insert Aguacero weather **below** (alias: `weatherBeforeLayerId`). With `styleURL`, required for correct stacking; may be set alone to override the default `AML_-_terrain` anchor on the default style.
|
|
10
|
-
* @param {string} [props.weatherBeforeLayerId]
|
|
11
|
-
* @param {import('react').ReactNode} [props.children] - Render inside Mapbox.MapView; use for WeatherLayerManager so map sources (e.g. NEXRAD site circles) register on the map.
|
|
12
|
-
*/
|
|
13
1
|
export const MapManager: any;
|
|
14
2
|
//# sourceMappingURL=MapManager.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapManager.d.ts","sourceRoot":"","sources":["../../src/MapManager.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MapManager.d.ts","sourceRoot":"","sources":["../../src/MapManager.js"],"names":[],"mappings":"AAAusB,6BAAigF"}
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
export const mapRegistry:
|
|
2
|
-
declare class
|
|
1
|
+
export const mapRegistry: t;
|
|
2
|
+
declare class t {
|
|
3
3
|
mapRef: any;
|
|
4
4
|
listeners: any[];
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
setMap(mapRef: any): void;
|
|
5
|
+
pressListeners: any[];
|
|
6
|
+
setMap(s: any): void;
|
|
8
7
|
getMap(): any;
|
|
9
|
-
addCameraListener(
|
|
10
|
-
removeCameraListener(
|
|
11
|
-
notifyCameraChange(
|
|
12
|
-
addPressListener(
|
|
13
|
-
removePressListener(
|
|
14
|
-
|
|
15
|
-
notifyMapPress(payload: unknown): void;
|
|
8
|
+
addCameraListener(s: any): void;
|
|
9
|
+
removeCameraListener(s: any): void;
|
|
10
|
+
notifyCameraChange(s: any): void;
|
|
11
|
+
addPressListener(s: any): void;
|
|
12
|
+
removePressListener(s: any): void;
|
|
13
|
+
notifyMapPress(s: any): void;
|
|
16
14
|
}
|
|
17
15
|
export {};
|
|
18
16
|
//# sourceMappingURL=MapRegistry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MapRegistry.d.ts","sourceRoot":"","sources":["../../src/MapRegistry.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MapRegistry.d.ts","sourceRoot":"","sources":["../../src/MapRegistry.js"],"names":[],"mappings":"AAA2hB,4BAA+B;AAA1jB;IAAsB,YAAgB;IAAC,iBAAiB;IAAC,sBAAsB;IAAC,qBAAwB;IAAA,cAA4B;IAAA,gCAA4C;IAAA,mCAA2F;IAAA,iCAAsD;IAAA,+BAAgD;IAAA,kCAAoG;IAAA,6BAAqE;CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NexradRadarLayer.android.d.ts","sourceRoot":"","sources":["../../src/NexradRadarLayer.android.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NexradRadarLayer.android.d.ts","sourceRoot":"","sources":["../../src/NexradRadarLayer.android.js"],"names":[],"mappings":"AAAmiB,mCAAyZ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NexradRadarLayer.ios.d.ts","sourceRoot":"","sources":["../../src/NexradRadarLayer.ios.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NexradRadarLayer.ios.d.ts","sourceRoot":"","sources":["../../src/NexradRadarLayer.ios.js"],"names":[],"mappings":"AAAqe,mCAAyZ"}
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
* @param {string} [props.belowLayerID] - Optional style layer id to insert under (e.g. weather anchor).
|
|
6
|
-
*/
|
|
7
|
-
export function NexradSitesMapLayer({ visible, onSelectSite, belowLayerID }: {
|
|
8
|
-
visible: boolean;
|
|
9
|
-
onSelectSite?: ((siteId: string) => void) | undefined;
|
|
10
|
-
belowLayerID?: string | undefined;
|
|
1
|
+
export function NexradSitesMapLayer({ visible: i, onSelectSite: r, belowLayerID: e }: {
|
|
2
|
+
visible: any;
|
|
3
|
+
onSelectSite: any;
|
|
4
|
+
belowLayerID: any;
|
|
11
5
|
}): any;
|
|
12
6
|
//# sourceMappingURL=NexradSitesMapLayer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NexradSitesMapLayer.d.ts","sourceRoot":"","sources":["../../src/NexradSitesMapLayer.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NexradSitesMapLayer.d.ts","sourceRoot":"","sources":["../../src/NexradSitesMapLayer.js"],"names":[],"mappings":"AAA6lB;;;;QAAkgB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SatelliteLayer.android.d.ts","sourceRoot":"","sources":["../../src/SatelliteLayer.android.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SatelliteLayer.android.d.ts","sourceRoot":"","sources":["../../src/SatelliteLayer.android.js"],"names":[],"mappings":"AAAmY,iCAAmyB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SatelliteLayer.ios.d.ts","sourceRoot":"","sources":["../../src/SatelliteLayer.ios.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SatelliteLayer.ios.d.ts","sourceRoot":"","sources":["../../src/SatelliteLayer.ios.js"],"names":[],"mappings":"AAAkd,iCAA81B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StyleApplicator.d.ts","sourceRoot":"","sources":["../../src/StyleApplicator.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StyleApplicator.d.ts","sourceRoot":"","sources":["../../src/StyleApplicator.js"],"names":[],"mappings":"AAA09B;;QAAoiG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WeatherLayerManager.d.ts","sourceRoot":"","sources":["../../src/WeatherLayerManager.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"WeatherLayerManager.d.ts","sourceRoot":"","sources":["../../src/WeatherLayerManager.js"],"names":[],"mappings":"AAAq0I,sCAAo/xB"}
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
* @param {Record<string, unknown>} [extra]
|
|
4
|
-
*/
|
|
5
|
-
export function installAguaceroCoreDebugHooks(core: any, extra?: Record<string, unknown>): void;
|
|
6
|
-
/**
|
|
7
|
-
* @param {import('@aguacerowx/javascript-sdk').AguaceroCore} core
|
|
8
|
-
*/
|
|
9
|
-
export function logProcessFrameAuthMismatch(core: any, options: any, context?: {}): void;
|
|
1
|
+
export function installAguaceroCoreDebugHooks(a: any, e?: {}): void;
|
|
2
|
+
export function logProcessFrameAuthMismatch(a: any, e: any, i?: {}): void;
|
|
10
3
|
//# sourceMappingURL=aguaceroCoreDebugHooks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aguaceroCoreDebugHooks.d.ts","sourceRoot":"","sources":["../../src/aguaceroCoreDebugHooks.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"aguaceroCoreDebugHooks.d.ts","sourceRoot":"","sources":["../../src/aguaceroCoreDebugHooks.js"],"names":[],"mappings":"AAAiN,oEAAmnD;AAAA,0EAAggB"}
|