refactor(cctv): separate camera source and scene components

This commit is contained in:
Sameh Khamis committed 2026-09-13 15:02:32 -07:00
1 parent ca5f5fff93
commit 519bc6c362
32 files changed
+6873 -4835

No files matched your search

+4 -1
View File
@@ -17,6 +17,7 @@ export function readLayerSource(file) {
'militaryAwareness.js',
'traffic.js',
'bikeshare.js',
'cctv.js',
].includes(basename(path))
)
return readFileSync(path, 'utf8');
@@ -40,7 +41,9 @@ export function readLayerSource(file) {
? '../layers/traffic'
: basename(path) === 'bikeshare.js'
? '../layers/bikeshare'
: '../layers/vessels',
: basename(path) === 'cctv.js'
? '../layers/cctv'
: '../layers/vessels',
);
return readdirSync(directory)
.filter((name) => name.endsWith('.js'))