Hi Tim, Are you saying I can load the "esri/layers/FeatureLayer" module and switch "ArcGISDynamicMapServiceLayer" to "FeatureLayer" when defining the variables for the service? I'm not having luck doing that.
Greg,this works with every type of layer. Shouldn't make a difference if you use feature layers.Tim
Nick,I am using this https://developers.arcgis.com/javascript/jssamples/widget_legendvisible.htmlTim
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.