And why not use the Legend control? From 2.3, it supports WMS layers.
Technically, the use case is to simply be able to display a legend for the WMS layer.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.