handle.then( function(response,io) { console.log(handle.ioArgs.url); .....
Hello all, I am creating legend dynamically using below code . maplayers_config contains list of url's for the map service . In the response how do I know for which map service I am getting the response . Can anybody help me with this . Thanks handle.then( function(response,io) { console.log("Success: ", response); console.log("Success: ", io); a_test = response; }, function(error) { console.log("Error: ", error); }); } });
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.