|
@@ -80,9 +80,8 @@ export class AppService {
|
|
|
style: this.nuts3style,
|
|
style: this.nuts3style,
|
|
|
title: 'NUTS3 regions',
|
|
title: 'NUTS3 regions',
|
|
|
});
|
|
});
|
|
|
- // TODO: 'method' must be obtained from AdjusterService
|
|
|
|
|
- method = 'haclustwd2';
|
|
|
|
|
- serviceUrl = 'https://jmacura.ml/ws/georeport/';
|
|
|
|
|
|
|
+ method: string;
|
|
|
|
|
+ serviceUrl: string;
|
|
|
constructor(
|
|
constructor(
|
|
|
private adjusterService: AdjusterService,
|
|
private adjusterService: AdjusterService,
|
|
|
private hsConfig: HsConfig,
|
|
private hsConfig: HsConfig,
|
|
@@ -92,6 +91,8 @@ export class AppService {
|
|
|
private hsSidebarService: HsSidebarService,
|
|
private hsSidebarService: HsSidebarService,
|
|
|
private hsPanelContainerService: HsPanelContainerService
|
|
private hsPanelContainerService: HsPanelContainerService
|
|
|
) {
|
|
) {
|
|
|
|
|
+ this.method = this.adjusterService.method;
|
|
|
|
|
+ this.serviceUrl = this.adjusterService.serviceBaseUrl + 'georeport/';
|
|
|
this.nuts3Layer.set('popUp', {
|
|
this.nuts3Layer.set('popUp', {
|
|
|
attributes: [
|
|
attributes: [
|
|
|
{attribute: 'CNTR_CODE', label: 'Country'},
|
|
{attribute: 'CNTR_CODE', label: 'Country'},
|