mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Aircraft, military, local ADS-B, vessel, transit and rail models come from the fleet model set, loaded up front and drawn life size through the draw port's models sets; no layer touches the viewer or Cesium outside src/render/cesium/. The models capability gains glTF bytes (gltf), a per-axis stretch (axisScale), a colour for tinted parts (maskColor) and a cut below the origin (clip: 'belowOrigin'), with conformance checks. Main's rail layer and Data Library are ported to the ports; the CCTV footprint probe keeps the globe-terrain clamp through the query port.
31 lines
929 B
JavaScript
31 lines
929 B
JavaScript
import { showOsmCredit, hideOsmCredit } from '../data/dataCredits.js';
|
|
import { governorRequestRender } from '../renderGovernor.js';
|
|
import {
|
|
clearSelectedEntityContextForLayer,
|
|
getSelectedEntityContext,
|
|
registerEntityContext,
|
|
removeEntityContextsForLayer,
|
|
selectEntityContext,
|
|
} from '../data/contextStore.js';
|
|
import {
|
|
clearOverlaySource,
|
|
setOverlayEntries,
|
|
setOverlaySourceVisible,
|
|
} from '../overlays/worldOverlay.js';
|
|
/** Existing standalone application operations, shared by its local layers. */
|
|
export const localGeoJsonServices = Object.freeze({
|
|
overlayHost: Object.freeze({
|
|
clearSource: clearOverlaySource,
|
|
setEntries: setOverlayEntries,
|
|
setVisible: setOverlaySourceVisible,
|
|
}),
|
|
clearSelectedEntityContextForLayer,
|
|
getSelectedEntityContext,
|
|
registerEntityContext,
|
|
removeEntityContextsForLayer,
|
|
selectEntityContext,
|
|
governorRequestRender,
|
|
showOsmCredit,
|
|
hideOsmCredit,
|
|
});
|