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, {