I'm trying to use the JS API (3.20), and I'd like to leverage the popups from my webmap, in my application. How do I do that, as I'm currently displaying the layers, in my code (without using the webMap). Let me make that more clearer- Can I use my web map without referring to individual layers in my code, with the .addLayers method? I'm pretty new to programming. If so, How?
And, if calling/using a webmap (only) is possible, can I still be able to query layers in the webmap?
How?
Help!