New answers tagged esri-api
The legend's layerInfos property has to be an array. You are passing in a function. You're also attempting to create the legend on each loop iteration. What you want to do is loop through your feature layers and create an array that you can pass to layerInfos. The basic legend widget sample shows this using dojo.map. Adapting your code to do this would look ...
The LGIM data supporting the application is possible issue. LOWERPARCELID field in the ParcelPublishing dataset, TaxParcel Feature Class must not have records. The Geometry Buffer Selection functionality uses the LOWERPARCELID to execute. records there will break it.
Top 50 recent answers are included