Lots of people are running into the issue with cors preventing printing.
Is there a way to detect that network calls for maps return cors errors?
That would be great because the ui could then inform the user and maybe the user can choose a different background map that does send cors headers.
Also: when the option hideControlContainer is set to true the menus disappear and probably because of the error never reappear. Maybe I can find something to circumvent that behaviour if cors errors can be detected.
Lots of people are running into the issue with cors preventing printing.
Is there a way to detect that network calls for maps return cors errors?
That would be great because the ui could then inform the user and maybe the user can choose a different background map that does send cors headers.
Also: when the option
hideControlContainer
is set to true the menus disappear and probably because of the error never reappear. Maybe I can find something to circumvent that behaviour if cors errors can be detected.