From 7f47047d15b5f5ac566a135bd92301fd174b6438 Mon Sep 17 00:00:00 2001 From: Xiao Gui <xgui3783@gmail.com> Date: Tue, 30 Oct 2018 11:41:47 +0100 Subject: [PATCH] chore: remove unused variable --- .../nehubaContainer/nehubaContainer.component.ts | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/ui/nehubaContainer/nehubaContainer.component.ts b/src/ui/nehubaContainer/nehubaContainer.component.ts index deefad2e2..669d6c681 100644 --- a/src/ui/nehubaContainer/nehubaContainer.component.ts +++ b/src/ui/nehubaContainer/nehubaContainer.component.ts @@ -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') ) -- GitLab