mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Merge origin/main into german/navara
Main's new layers (drone airspace, OSM places, sea marks, ski pistes) are Cesium-only for now: they join the layer directory and the Cesium catalog, are built afresh for each Cesium catalog, and show as unavailable on Navara. The zoom-out guard is a scene part that attaches to Cesium globes only. The awareness range pulses and their echoes draw on Cesium through the awareness display's viewer; Navara keeps the plain range ring. Camera-input wakes go through the display, and the analyst keeps the session-owned memory with main's area presentation. A disposed voice runner aborts work in flight, and an engine switch still keeps the last answer. Modules main added that read Cesium while they load (zoomOutGuard, awarenessEcho, the ground-sampling scratch in localGeojsonCore) now build those values on first use or use src/geo, so a Navara page still starts without the SDK. The OSM view box reads the engine's view rectangle. Main grew its own main chunk by 93,873 bytes gzip-9 since the merge base, so the baseline is raised to the merged size.
This commit is contained in:
commit
db9bf64821
264 files changed
+33864
-1424
No files matched your search
@@ -15,6 +15,7 @@ export const APPLICATION_LAYER_DIRECTORY = Object.freeze(
|
||||
['fire-perimeters', 'Fire Perimeters'],
|
||||
['gnss-integrity', 'GNSS Integrity'],
|
||||
['s2-ghostmaps', 'S2 GhostMaps'],
|
||||
['drone-airspace', 'Prohibited & Restricted Airspace'],
|
||||
['alpr-cameras', 'ALPR Cameras'],
|
||||
['street-level', 'Street Level'],
|
||||
['satellites', 'Satellites'],
|
||||
@@ -26,6 +27,7 @@ export const APPLICATION_LAYER_DIRECTORY = Object.freeze(
|
||||
['bikeshare', 'Bikeshare'],
|
||||
['directions', 'Directions'],
|
||||
['recent-imagery', 'Recent Imagery'],
|
||||
['osm-places', 'OSM Places'],
|
||||
['ais-live-vessels', 'Live AIS Vessels'],
|
||||
['military-installations', 'Mapped Installations'],
|
||||
['military-awareness', 'Global Context'],
|
||||
@@ -34,6 +36,8 @@ export const APPLICATION_LAYER_DIRECTORY = Object.freeze(
|
||||
['weather-satellite', 'Satellite clouds'],
|
||||
['weather-lightning', 'Lightning density'],
|
||||
['weather-cyclones', 'Cyclone advisories'],
|
||||
['sea-marks', 'Sea Marks'],
|
||||
['ski-pistes', 'Ski Pistes'],
|
||||
['local-datacenters', 'Datacenters'],
|
||||
['local-dams', 'Dams'],
|
||||
['telegeography-submarine-cables', 'Submarine Cables'],
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
import * as Cesium from 'cesium';
|
||||
import { createDroneAirspaceLayer } from '../../layers/droneAirspace/index.js';
|
||||
import * as picking from '../../data/pickRegistry.js';
|
||||
import * as overlays from '../../overlays/worldOverlay.js';
|
||||
import { isPointerFree } from '../../data/inputOwnership.js';
|
||||
|
||||
/** Wire FAA special-use airspace into the application catalog. */
|
||||
export function createApplicationDroneAirspace(options) {
|
||||
return createDroneAirspaceLayer({
|
||||
overlayHost: {
|
||||
setEntries: overlays.setOverlayEntries,
|
||||
setVisible: overlays.setOverlaySourceVisible,
|
||||
clearSource: overlays.clearOverlaySource,
|
||||
hitTest: overlays.hitTestWorldOverlay,
|
||||
},
|
||||
screenSpaceEventHandlerFactory: (viewer) =>
|
||||
new Cesium.ScreenSpaceEventHandler(viewer.scene.canvas),
|
||||
picking,
|
||||
pointer: { isPointerFree },
|
||||
...options,
|
||||
});
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import { createOsmPlacesLayer } from '../../layers/osmPlaces/index.js';
|
||||
import { overlayHost } from './overlayHost.js';
|
||||
|
||||
/** Wire OSM Places labels to the application overlay host. */
|
||||
export function createApplicationOsmPlaces() {
|
||||
return createOsmPlacesLayer({ overlayHost });
|
||||
}
|
||||
Reference in new issue
Block a user