mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
refactor: own application request operations and surface caches
This commit is contained in:
1 parent
310809e8f1
commit
ac977bd8bc
53 files changed
+4388
-3317
No files matched your search
@@ -148,7 +148,7 @@ export class StyleManager {
|
||||
*/
|
||||
constructor(
|
||||
viewer,
|
||||
{ mapStackController = null, placeSearch, services } = {},
|
||||
{ mapStackController = null, placeSearch, services, requestServices } = {},
|
||||
) {
|
||||
const {
|
||||
IntelHUD,
|
||||
@@ -293,7 +293,10 @@ export class StyleManager {
|
||||
this._orbitIndicator = null;
|
||||
|
||||
// Intel HUD
|
||||
this.hud = new IntelHUD(viewer, { placeSearch });
|
||||
this.hud = new IntelHUD(viewer, {
|
||||
placeSearch,
|
||||
summaryService: requestServices?.summary,
|
||||
});
|
||||
this._recording.hud = this.hud;
|
||||
this._cockpitVisionMode = 'optical';
|
||||
this._cockpitVisionRestore = null;
|
||||
|
||||
Reference in new issue
Block a user