mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Format the files this branch wrote or broke with Prettier
This commit is contained in:
1 parent
227e3c2051
commit
8d7f055572
90 files changed
+1408
-640
No files matched your search
@@ -585,7 +585,8 @@ export function createLocalGeoJsonLayer(
|
||||
// windows (before vs after the add settles) need different cleanup.
|
||||
let addedToScene = false;
|
||||
try {
|
||||
let features = _cachedFeatures ?? (readFeatures ? await readFeatures() : null);
|
||||
let features =
|
||||
_cachedFeatures ?? (readFeatures ? await readFeatures() : null);
|
||||
if (_destroyed) return;
|
||||
if (!features) {
|
||||
const response = await fetch(url, {
|
||||
@@ -1065,7 +1066,9 @@ export function createLocalGeoJsonLayer(
|
||||
},
|
||||
|
||||
restoreFeatureSelection(viewer, featureId) {
|
||||
const entity = _dataSource?.entities.values.find((item) => String(item.id) === featureId);
|
||||
const entity = _dataSource?.entities.values.find(
|
||||
(item) => String(item.id) === featureId,
|
||||
);
|
||||
if (!entity) return false;
|
||||
viewer.selectedEntity = entity;
|
||||
selectEntityContext(entity);
|
||||
|
||||
Reference in new issue
Block a user