Skip to content
Snippets Groups Projects
Commit 7f47047d authored by Xiao Gui's avatar Xiao Gui Committed by xgui3783
Browse files

chore: remove unused variable

parent e6deccf2
No related branches found
No related tags found
No related merge requests found
......@@ -73,8 +73,6 @@ export class NehubaContainer implements OnInit, OnDestroy{
public nanometersToOffsetPixelsFn : Function[] = []
public combinedSpatialData$ : Observable<any[]>
constructor(
private constantService : AtlasViewerConstantsServices,
private atlasViewerDataService : AtlasViewerDataService,
......@@ -259,20 +257,6 @@ export class NehubaContainer implements OnInit, OnDestroy{
})
)
this.combinedSpatialData$ = combineLatest(
combineLatest(
this.fetchedSpatialDatasets$,
this.spatialResultsVisible$
)
.pipe(
map(([datas,visible, ...rest]) => visible ? datas : []),
// map(arr => arr.map(v => Object.assign({}, v, {type : 'spatialSearchLandmark'})))
),
this.userLandmarks$.pipe(
// map(arr => arr.map(v => Object.assign({}, v, {type : 'userLandmark'})))
)
).pipe(map(arr => [...arr[0], ...arr[1]]))
this.ngLayers$ = this.store.pipe(
select('ngViewerState')
)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment