I just done the upgrade from 1.50 to 1.71.
I was using this code to add a css in the Iframe, but it is not working anymore.
viewer.infoBox.frame.addEventListener('load', function () {
var customCssLink = viewer.infoBox.frame.contentDocument.createElement('link');
customCssLink.href = relativeRootUrl + '/SomePath/CSS/CesiumPopUp.css';
customCssLink.rel = 'stylesheet';
customCssLink.type = 'text/css';
viewer.infoBox.frame.contentDocument.head.appendChild(customCssLink);});
Have you some tips to help me?
question from:
https://stackoverflow.com/questions/65881518/problem-to-add-css-in-infobox-after-upgrade-from-1-50-to-1-71 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…