From f5f5fa9bd328fc4d804d26010fee92131b9dbf18 Mon Sep 17 00:00:00 2001 From: MatthewMuehlhauserNRCan Date: Wed, 4 Dec 2024 08:39:59 -0500 Subject: [PATCH] Remove commented code --- packages/geoview-core/src/geo/map/map-viewer.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/geoview-core/src/geo/map/map-viewer.ts b/packages/geoview-core/src/geo/map/map-viewer.ts index 242dc6b065d..89485ce6514 100644 --- a/packages/geoview-core/src/geo/map/map-viewer.ts +++ b/packages/geoview-core/src/geo/map/map-viewer.ts @@ -926,11 +926,9 @@ export class MapViewer { if (VALID_DISPLAY_LANGUAGE.includes(displayLanguage)) { await AppEventProcessor.setDisplayLanguage(this.mapId, displayLanguage); - // if flag is true, reload GeoCore layers + // if flag is true, reload just the GeoCore layers instead of reloading the whole map with current state if (reloadLayers) { - // Reload just the Geocore Layers instead of the entire map this.layer.reloadGeocoreLayers(); - // this.reloadWithCurrentState(); } // Emit language changed event