Skip to content
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

Tile manager #24

Merged
merged 6 commits into from
Oct 13, 2018
Merged

Tile manager #24

merged 6 commits into from
Oct 13, 2018

Conversation

green-anger
Copy link
Owner

Should resolve #22

+ test example to get a single tile (based on boost.beast http_client_async.cpp example)
+ test red square (https://stackoverflow.com/a/5889550/10471776)
+ saving http.GET response body to file is sufficient to get .png tile
- removed dependencies to boost.gil and libpng
+ Tile keeps information about single tile
+ TileManager download and cache tiles
+ TileManager::Session launches in separate thread to download a tile using Boost.Beast
+ TileManager can download tile concurrently in multiple thread thanks to boost.asio
+ TileManager caches tiles and check cache before downloading
~ some changes in Tile* classes to better arrange data (see Tile.h)
! GlobeViewer request tiles from TileManager for testing purpose only, to be moved
! a lot of testing output, needed to test properly, to be removed later
#22 done, in a way
@green-anger green-anger added the enhancement New feature or request label Oct 13, 2018
@green-anger green-anger self-assigned this Oct 13, 2018
@green-anger green-anger merged commit ed3549f into master Oct 13, 2018
@green-anger green-anger deleted the tile_manager branch October 22, 2018 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add class to manage map tiles
1 participant