Skip to content

Commit

Permalink
Remove commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewMuehlhauserNRCan committed Dec 6, 2024
1 parent c982366 commit a16d725
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/geoview-core/src/geo/map/map-viewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a16d725

Please sign in to comment.