Skip to content
Snippets Groups Projects
Commit 30c7d9ba authored by Xiao Gui's avatar Xiao Gui
Browse files

fix lint

parent a3f3e04b
No related branches found
No related tags found
No related merge requests found
import { AfterViewInit, ChangeDetectorRef, Component, OnDestroy, QueryList, TemplateRef, ViewChild, ViewChildren } from '@angular/core';
import { AfterViewInit, ChangeDetectorRef, Component, OnDestroy, QueryList, TemplateRef, ViewChildren } from '@angular/core';
import { select, Store } from '@ngrx/store';
import { debounceTime, distinctUntilChanged, map, scan, shareReplay, switchMap, take, withLatestFrom } from 'rxjs/operators';
import { SAPI } from 'src/atlasComponents/sapi';
......
......@@ -13,7 +13,7 @@ type Intent = PathReturn<"/feature/{feature_id}/intents">['items'][number]
type Annotation = {
id: string
type: 'point',
type: 'point'
point: [number, number, number]
}
......@@ -81,7 +81,9 @@ export class PointCloudIntents {
const anns = pts.map(serializeToId)
this.annLayer.addAnnotation(anns)
},
() => {},
e => {
console.error("error", e)
},
() => {
console.log("dismissing!")
this.annLayer.dispose()
......
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