I'm attempting to remove an esri TileLayer from the legend. This does not remove it:
esriTileLayer = new TileLayer({
url: "https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer",
legendEnabled: false,
title: "I'm a title",
});
If I do not give it a title the default still appears:
esriTileLayer = new TileLayer({
url: "https://services.arcgisonline.com/arcgis/rest/services/World_Imagery/MapServer",
legendEnabled: false,
// title: "I'm a title",
});
Solved! Go to Solution.
Hi @JaredPilbeam2 ,
The screenshots show the LayerList widget/component. If you want to hide the layer from being displayed in the LayerList you can use the listMode property.
Hi @JaredPilbeam2 ,
The screenshots show the LayerList widget/component. If you want to hide the layer from being displayed in the LayerList you can use the listMode property.
AH, yes, it is a LayerList! Whoops.