identifyParams.layerIds = layerDynamic.visibleLayers;
What you'll have to do is set the the layerIds property of the IdentifyParameters to the visibleLayers of your layer.identifyParams.layerIds = layerDynamic.visibleLayers;
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.