mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 10:53:59 +00:00
Format extracted vessel components
This commit is contained in:
1 parent
2f4839e8f2
commit
a0b2d9f6aa
17 files changed
+2693
-2385
No files matched your search
+49
-15
@@ -11,26 +11,60 @@ import * as focus from './focusDeemphasis.js';
|
||||
import * as worldFocus from '../worldFocus.js';
|
||||
import * as render from '../renderGovernor.js';
|
||||
|
||||
const aisLiveVesselsLayer = createVesselLayer({ source: createAisStreamSource({ apiUrl: import.meta.env?.VITE_AIS_LIVE_API_URL || '/api/ais-live' }), options: { maxRows: import.meta.env?.VITE_AIS_LIVE_MAX_ROWS, maxLabels: import.meta.env?.VITE_AIS_LIVE_LABEL_MAX_ROWS }, services: { context, trails, labels, picking, overlay, geoid, sprites, focus, worldFocus, render } });
|
||||
const aisLiveVesselsLayer = createVesselLayer({
|
||||
source: createAisStreamSource({
|
||||
apiUrl: import.meta.env?.VITE_AIS_LIVE_API_URL || '/api/ais-live',
|
||||
}),
|
||||
options: {
|
||||
maxRows: import.meta.env?.VITE_AIS_LIVE_MAX_ROWS,
|
||||
maxLabels: import.meta.env?.VITE_AIS_LIVE_LABEL_MAX_ROWS,
|
||||
},
|
||||
services: {
|
||||
context,
|
||||
trails,
|
||||
labels,
|
||||
picking,
|
||||
overlay,
|
||||
geoid,
|
||||
sprites,
|
||||
focus,
|
||||
worldFocus,
|
||||
render,
|
||||
},
|
||||
});
|
||||
export { AIS_FIRST_CONNECT_GRACE_MS } from '../layers/vessels/policy.js';
|
||||
export const deriveAisFeedError = aisLiveVesselsLayer.deriveAisFeedError;
|
||||
export const classifyAisFeedSnapshot = aisLiveVesselsLayer.classifyAisFeedSnapshot;
|
||||
export const classifyAisFeedSnapshot =
|
||||
aisLiveVesselsLayer.classifyAisFeedSnapshot;
|
||||
export const mapAnalystRecord = aisLiveVesselsLayer.mapAnalystRecord;
|
||||
export const vesselDatumHeightM = aisLiveVesselsLayer.vesselDatumHeightM;
|
||||
export const reduceVesselSelection = aisLiveVesselsLayer.reduceVesselSelection;
|
||||
export const applyVesselFocusDeemphasis = aisLiveVesselsLayer.applyVesselFocusDeemphasis;
|
||||
export const applyVesselFocusDeemphasis =
|
||||
aisLiveVesselsLayer.applyVesselFocusDeemphasis;
|
||||
export const buildVesselCard = aisLiveVesselsLayer.buildVesselCard;
|
||||
export const buildSelectedVesselCard = aisLiveVesselsLayer.buildSelectedVesselCard;
|
||||
export const buildSelectedVesselCard =
|
||||
aisLiveVesselsLayer.buildSelectedVesselCard;
|
||||
export const cardScreenSeparated = aisLiveVesselsLayer.cardScreenSeparated;
|
||||
export const _bindVesselInteractionForTest = aisLiveVesselsLayer.testing._bindVesselInteractionForTest;
|
||||
export const _setVesselStateForTest = aisLiveVesselsLayer.testing._setVesselStateForTest;
|
||||
export const _setVesselOverlayHostForTest = aisLiveVesselsLayer.testing._setVesselOverlayHostForTest;
|
||||
export const _updateVesselCardsForTest = aisLiveVesselsLayer.testing._updateVesselCardsForTest;
|
||||
export const _reconcileVesselsForTest = aisLiveVesselsLayer.testing._reconcileVesselsForTest;
|
||||
export const _applyAisFeedSnapshotForTest = aisLiveVesselsLayer.testing._applyAisFeedSnapshotForTest;
|
||||
export const _loadLivePositionsForTest = aisLiveVesselsLayer.testing._loadLivePositionsForTest;
|
||||
export const _beginAisSessionForTest = aisLiveVesselsLayer.testing._beginAisSessionForTest;
|
||||
export const _setAisRuntimeForTest = aisLiveVesselsLayer.testing._setAisRuntimeForTest;
|
||||
export const _getVesselFeedStateForTest = aisLiveVesselsLayer.testing._getVesselFeedStateForTest;
|
||||
export const _getVesselStateForTest = aisLiveVesselsLayer.testing._getVesselStateForTest;
|
||||
export const _bindVesselInteractionForTest =
|
||||
aisLiveVesselsLayer.testing._bindVesselInteractionForTest;
|
||||
export const _setVesselStateForTest =
|
||||
aisLiveVesselsLayer.testing._setVesselStateForTest;
|
||||
export const _setVesselOverlayHostForTest =
|
||||
aisLiveVesselsLayer.testing._setVesselOverlayHostForTest;
|
||||
export const _updateVesselCardsForTest =
|
||||
aisLiveVesselsLayer.testing._updateVesselCardsForTest;
|
||||
export const _reconcileVesselsForTest =
|
||||
aisLiveVesselsLayer.testing._reconcileVesselsForTest;
|
||||
export const _applyAisFeedSnapshotForTest =
|
||||
aisLiveVesselsLayer.testing._applyAisFeedSnapshotForTest;
|
||||
export const _loadLivePositionsForTest =
|
||||
aisLiveVesselsLayer.testing._loadLivePositionsForTest;
|
||||
export const _beginAisSessionForTest =
|
||||
aisLiveVesselsLayer.testing._beginAisSessionForTest;
|
||||
export const _setAisRuntimeForTest =
|
||||
aisLiveVesselsLayer.testing._setAisRuntimeForTest;
|
||||
export const _getVesselFeedStateForTest =
|
||||
aisLiveVesselsLayer.testing._getVesselFeedStateForTest;
|
||||
export const _getVesselStateForTest =
|
||||
aisLiveVesselsLayer.testing._getVesselStateForTest;
|
||||
export default aisLiveVesselsLayer;
|
||||
Reference in new issue
Block a user