Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

cancellation of tile loads #67

Closed
incanus opened this issue Feb 15, 2014 · 3 comments
Closed

cancellation of tile loads #67

incanus opened this issue Feb 15, 2014 · 3 comments

Comments

@incanus
Copy link
Contributor

incanus commented Feb 15, 2014

On very fast zooming on both platforms, tile loads still have to complete fetch before successive ones can run through. We should expire and cancel actual network fetches, not wait until the fetch is complete regardless then possibly throw the tile away before render.

@incanus
Copy link
Contributor Author

incanus commented Feb 19, 2014

One simple approach here would be to assume that incoming requests for tiles at a given zoom will obsolete in-progress downloads of tiles from other zooms. Then the renderer itself isn't responsible for posting cancellations and platform::request_http could just manage this entirely internally.

Pan is likely not as much of an issue as both mouse & touch gestures are related to screen and trackpad size, whereas zooms are related to potentially very fast trackpad/wheel, quickstart pan, and/or tap gestures.

@incanus
Copy link
Contributor Author

incanus commented Feb 19, 2014

Based on the likely outcome of OS versions in #75 I am going to switch over to NSURLSession to make this easier.

@incanus
Copy link
Contributor Author

incanus commented Feb 20, 2014

Pull happening in #76.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant