Skip to content

Commit

Permalink
Merge pull request #4696 from wri/develop
Browse files Browse the repository at this point in the history
PROD Deploy 2023-09-20 07:11am EST
  • Loading branch information
SARodrigues authored Sep 20, 2023
2 parents 56f78c3 + 9716d6f commit 8c47748
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions components/map/components/layer-manager/component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class LayerManagerComponent extends PureComponent {
}
: null;

const allLayers = layers.filter((l) => l);
const allLayers = [basemapLayer, ...layers].filter((l) => l);

return (
<LayerManager
Expand Down Expand Up @@ -69,9 +69,6 @@ class LayerManagerComponent extends PureComponent {
},
}}
>
{basemapLayer && (
<Layer key="basemap" {...basemapLayer} {...basemapLayer?.config} />
)}
{allLayers &&
allLayers.map((l) => {
const config = l.config ? l.config : l.layerConfig;
Expand Down

0 comments on commit 8c47748

Please sign in to comment.