diff --git a/client/src/components/MapView/LayerControl.tsx b/client/src/components/MapView/LayerControl.tsx index e3e87fba7bd..a41e7f133a4 100644 --- a/client/src/components/MapView/LayerControl.tsx +++ b/client/src/components/MapView/LayerControl.tsx @@ -46,7 +46,7 @@ class LayerControl implements IControl { const select = document.createElement('select'); this.container.appendChild(select); - let rasterLayers = map + const rasterLayers = map .getLayersOrder() .map((l) => map.getLayer(l)) .filter((layer) => !!layer)