mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Read the wind layer's map-centre reading and its marker through the query and frame ports
The wind reading at the map centre now asks the renderer's query port where the ellipsoid lies under the middle of the canvas and converts it with the app's WGS84 helpers, instead of Cesium's camera pick and Cartographic. The inspection marker projects its point with the query port, hides it beyond the ellipsoid's horizon with isOccluded, and follows rendered frames through the frame port's postRender phase instead of the scene's event. The layer entry no longer carries a Cesium namespace: the rendering part, which stays Cesium-bound, defaults it, owns the fallback globe imagery host, and loads the adapter factories a viewer with no renderer bound gets its ports from. The wind entry, its inspection reading and its marker leave the allow-list. They still read the viewer's canvas size and container element.
This commit is contained in:
1 parent
f0e5540561
commit
03ff8f291f
9 files changed
+121
-121
No files matched your search
@@ -98,9 +98,6 @@
|
||||
"src/layers/weather/index.js",
|
||||
"src/layers/weather/shellRendering.js",
|
||||
"src/layers/wind/gpuRendering.js",
|
||||
"src/layers/wind/index.js",
|
||||
"src/layers/wind/inspection.js",
|
||||
"src/layers/wind/inspectionMarker.js",
|
||||
"src/layers/wind/relief.js",
|
||||
"src/layers/wind/rendering.js",
|
||||
"src/locations.js",
|
||||
|
||||
Reference in new issue
Block a user