-
-
Notifications
You must be signed in to change notification settings - Fork 743
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
Make request for ImageSource cancelable #1802
Conversation
Can you also take a look at this fix while you are touching the image source: |
@HarelM maplibre-gl-js/src/util/ajax.ts Lines 318 to 332 in 3c83a6b
|
Bundle size report: Size Change: +23 B
ℹ️ View Details
|
Yea, this was backported, my mistake. |
@HarelM |
Sounds right I guess... We should make sure we don't copy form mapbox though... |
@blinkzz The code look good, thanks! |
@HarelM, will have a look on it for sure, but definetly as separate PR |
@blinkzz what's missing in order to merge this besides resolving conflicts? |
@HarelM, this PR is for sure 100% complete, i had no time to check another PR we've discussed above, but it looks good to merge tho without any additional changes |
Added missing cancelation feature for ImageSource, this way any pending request for image will be canceled if updateImage is used, or if source is being removed
This closes #1798
Launch Checklist
CHANGELOG.md
under the## main
section.