When adding a legend to the arcgis-layer-list component as shown in the sample gives the following warning:
DEPRECATED - This widget is deprecated. Use the Legend component instead.
https://codepen.io/pen?editors=1000
Is there a recommended way to have the layer list component use the legend component, rather than the legend widget?
Solved! Go to Solution.
Hi @Justin_Greco ,
Sorry about this, it should be fixed in the next release when we've finished the migration of Layer List to a web component. Currently the Layer List is using the old Legend widget internally and it's producing the deprecation message.
Hi @Justin_Greco ,
Sorry about this, it should be fixed in the next release when we've finished the migration of Layer List to a web component. Currently the Layer List is using the old Legend widget internally and it's producing the deprecation message.