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
I can repro. Also an issue in 4.11. Does this happen when the webmaps are all different?
Hello Ben
Yes it happens also with different webmaps.
Hi, I'm still looking for a solution or a workaround if someone has an idea
I suggest contacting Esri Support Services to report this bug.