Is there a way to remove the "Map only" tab from the print widget?
Defining the layouts it only affects the options under the Layout tab.
const print = new Print({
view,
printServiceUrl:
"https://XXX",
templateOptions: {
title: "",
nnorthArrowEnabled: true,
layout: "a3-landscape",
},
});
Solved! Go to Solution.
In the Print widget sample, if I add the following within the style tag, the "Map only" tab disappears:
.esri-print__layout-tab[data-tab-id="mapOnlyTab"] {
visibility: hidden;
}
The same should work if you add it somewhere in your own CSS.
In the Print widget sample, if I add the following within the style tag, the "Map only" tab disappears:
.esri-print__layout-tab[data-tab-id="mapOnlyTab"] {
visibility: hidden;
}
The same should work if you add it somewhere in your own CSS.