From 1b44cccff3e89aeac6f1c591690ed7a0783d0738 Mon Sep 17 00:00:00 2001 From: Lucas Li <35748253+yzlucas@users.noreply.github.com> Date: Fri, 14 Jun 2024 16:46:53 -0700 Subject: [PATCH] revert hardcode (#1973) --- .../incident-info-header/incident-header-panel.component.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/wfnews-war/src/main/angular/src/app/components/public-incident-page/incident-info-header/incident-header-panel.component.ts b/client/wfnews-war/src/main/angular/src/app/components/public-incident-page/incident-info-header/incident-header-panel.component.ts index 1492d1064..fe8b61f68 100644 --- a/client/wfnews-war/src/main/angular/src/app/components/public-incident-page/incident-info-header/incident-header-panel.component.ts +++ b/client/wfnews-war/src/main/angular/src/app/components/public-incident-page/incident-info-header/incident-header-panel.component.ts @@ -235,8 +235,9 @@ export class IncidentHeaderPanel implements AfterViewInit { '© OpenStreetMap contributors', }).addTo(this.map); - //hard code now to test in dev - const databcUrl = "https://maps.dev.bcwildfireservices.com/geo/pub/ows" + const databcUrl = this.appConfigService + .getConfig() + ['mapServices']['openmapsBaseUrl'].toString(); if (this.evac) { L.tileLayer .wms(databcUrl, {