mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-18 01:02:23 +00:00
Keep Contacts, active layer intents and mapped sites across globe switches
This commit is contained in:
1 parent
81bcae907f
commit
87bbe14748
35 files changed
+465
-118
No files matched your search
@@ -44,11 +44,11 @@ export function createModel({ state: layerState, services, parts, source }) {
|
||||
}
|
||||
|
||||
function installationSurfaceHeightM(record) {
|
||||
const floor = services.ground?.cachedGroundFloor?.(
|
||||
const floor = services?.ground?.cachedGroundFloor?.(
|
||||
record?.latitude,
|
||||
record?.longitude,
|
||||
);
|
||||
return services.ground?.floorAltitudeM?.(null, floor) ?? 0;
|
||||
return services?.ground?.floorAltitudeM?.(null, floor) ?? 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user