Hi all,
https://developers.arcgis.com/javascript/latest/sample-code/webmap-swap/index.html
I use this sample to display several webmaps. it works well when the layers are featurelayers. When it's mapservices, the webmap does not reload completely after a tab change. Only the base map is displayed and I need to zoom or pan to display the data.
If you want to see the issue, you can use this webmap in the sandbox
require(["esri/views/MapView", "esri/WebMap"], function(MapView, WebMap) {
var webmapids = [
"c7ca72f617ff45bb9e891aeaf5150952",
"c7ca72f617ff45bb9e891aeaf5150952",
"c7ca72f617ff45bb9e891aeaf5150952"
];
Can someone help me? Thank you