Skip to content

Commit

Permalink
fix: remove (currently) unneeded function
Browse files Browse the repository at this point in the history
  • Loading branch information
ahennr committed Jan 10, 2025
1 parent e78e347 commit 4c4e4d6
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/parser/SHOGunApplicationUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -738,18 +738,6 @@ class SHOGunApplicationUtil<
return mapBoxLayerGroup;
}

private forEachLayer(groupLayer: OlLayerGroup, callback: (layer: OlLayer) => void) {
groupLayer.getLayers().forEach(childLayer => {
if (childLayer instanceof OlLayerGroup) {
this.forEachLayer(childLayer, callback);
}

if (childLayer instanceof OlLayer) {
callback(childLayer);
}
});
}

getMapScales(resolutions: number[], projUnit: Units = 'm'): number[] {
return resolutions
.map((res: number) =>
Expand Down

0 comments on commit 4c4e4d6

Please sign in to comment.