diff --git a/src/app/menupanel/custompanel/custompanel.component.scss b/src/app/menupanel/custompanel/custompanel.component.scss index 828fcf56..b6077185 100644 --- a/src/app/menupanel/custompanel/custompanel.component.scss +++ b/src/app/menupanel/custompanel/custompanel.component.scss @@ -19,6 +19,7 @@ .custom-btn { line-height: 0.8em; + width: 6.5rem; } } } \ No newline at end of file diff --git a/src/app/menupanel/custompanel/custompanel.component.ts b/src/app/menupanel/custompanel/custompanel.component.ts index 505cd6a1..67d1d1ad 100644 --- a/src/app/menupanel/custompanel/custompanel.component.ts +++ b/src/app/menupanel/custompanel/custompanel.component.ts @@ -265,6 +265,11 @@ export class CustomPanelComponent { } else { this.statusMsg = '
No viable OGC WMS found on the service endpoint. Kindly check your URL again.
'; } + }, + (error: any) => { + //console.log("[custompanel.componen].error:", error); + this.statusMsg = '
No viable OGC WMS found on the service endpoint. Kindly check your URL again.
'; + this.loading = false; }); } }