|
@@ -6,6 +6,7 @@ import {HsPanelComponent} from 'hslayers-ng';
|
|
|
|
|
|
|
|
//import {AdjusterEventService} from './adjuster-event.service';
|
|
//import {AdjusterEventService} from './adjuster-event.service';
|
|
|
import {AdjusterLoaderComponent} from './adjuster-loader.component';
|
|
import {AdjusterLoaderComponent} from './adjuster-loader.component';
|
|
|
|
|
+import {AdjusterPresetsService} from './adjuster-presets.service';
|
|
|
import {AdjusterService} from './adjuster.service';
|
|
import {AdjusterService} from './adjuster.service';
|
|
|
|
|
|
|
|
@Component({
|
|
@Component({
|
|
@@ -23,6 +24,7 @@ export class AdjusterComponent implements HsPanelComponent, OnInit {
|
|
|
|
|
|
|
|
constructor(
|
|
constructor(
|
|
|
public adjusterService: AdjusterService,
|
|
public adjusterService: AdjusterService,
|
|
|
|
|
+ public adjusterPresetsService: AdjusterPresetsService,
|
|
|
public hsDialogContainerService: HsDialogContainerService,
|
|
public hsDialogContainerService: HsDialogContainerService,
|
|
|
public hsLayoutService: HsLayoutService
|
|
public hsLayoutService: HsLayoutService
|
|
|
) {
|
|
) {
|
|
@@ -65,6 +67,7 @@ export class AdjusterComponent implements HsPanelComponent, OnInit {
|
|
|
!this.adjusterService.allowIndex && !this.adjusterService.allowClusters
|
|
!this.adjusterService.allowIndex && !this.adjusterService.allowClusters
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
/*selectMethod(): void {
|
|
/*selectMethod(): void {
|
|
|
this.adjusterService.method = this.method;
|
|
this.adjusterService.method = this.method;
|
|
|
this.adjusterEventService.methodChanged.next(this.method);
|
|
this.adjusterEventService.methodChanged.next(this.method);
|