We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
maplibre-rs should be able to cancel data or tile requests after starting them.
If the user scrolls into some area then the tiles get loaded. If the user navigates away then pending requests should be cancelled.
Currently we have kind a work queue, which gets processed in the order of submission. No cancellation possible.
There are two major parts in order to support cancellation for tiles:
We might switch to reqwest for the web target if it supports cancellation on all platforms.
Does not apply.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
maplibre-rs should be able to cancel data or tile requests after starting them.
🤔 Expected Behavior
If the user scrolls into some area then the tiles get loaded. If the user navigates away then pending requests should be cancelled.
😯 Current Behavior
Currently we have kind a work queue, which gets processed in the order of submission. No cancellation possible.
💁 Possible Solution
There are two major parts in order to support cancellation for tiles:
🔦 Context
We might switch to reqwest for the web target if it supports cancellation on all platforms.
💻 Examples
Does not apply.
The text was updated successfully, but these errors were encountered: