-
-
Notifications
You must be signed in to change notification settings - Fork 689
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
style.loadURL
prints an error when the request is aborted
#4400
Comments
Can you check if this ever worked? I would try version 2.x and 3.x |
Also note that you have not registered the map |
It worked with version 3.6.2 for example (https://jsbin.com/retetelayo/edit?html,output). I believe the It's worth noting that the Regarding the map I would personally prefer if this abort error was completely ignored, but if not, I think we should ensure that the error can be caught by the map |
Feel free to submit a PR. |
maplibre-gl-js version: 4.5.0
browser: Chrome
Steps to Trigger Behavior
map.setStyle
immediately after (to make sure the first style request is aborted)Link to Demonstration
https://jsbin.com/garasukubu/edit?html,output
Expected Behavior
No error should be printed in the console.
Actual Behavior
A
DOMException: signal is aborted without reason
error is printed in the console.The text was updated successfully, but these errors were encountered: