diff --git a/src/ui/nehubaContainer/nehubaContainer.component.ts b/src/ui/nehubaContainer/nehubaContainer.component.ts index deefad2e29c872fce960517ffbd5edc67fd44707..669d6c681e6fe6893129f9d3ded8cfc75f4dc274 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') )