Arcgis JS I need help with refreshing the map, when the variable changes and the other json file is loaded
Jędrek,
Sure you would use esriRequest to get the json file and then use Dojo JSON class to parse the result as a true json object.
What is the layer type in your map please. For example, ArcGISDynamicMapServiceLayer.
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.