You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
barbalex
changed the title
detect cors errors
how to detect cors errors
Sep 14, 2019
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.The text was updated successfully, but these errors were encountered: