Report errors when parsing raster tiles
Use the same API/pattern for parsing raster tiles as we use for vector tiles. Forward the error as an exception that will ultimately reach the StillImageCallback. Also set the tile to State::obsolete on error like we do for vector tiles.
This commit is contained in:
@@ -28,9 +28,6 @@ public:
|
||||
// the TileData object is not effectively on the 'invalid' state and will
|
||||
// cause tiles on 'invalid' state to get reloaded.
|
||||
//
|
||||
// Raster tiles (only) are changing to 'invalid' on error, which will cause a
|
||||
// re-request of the tile.
|
||||
//
|
||||
// loading:
|
||||
// A request to the FileSource was made for the actual tile data and TileData
|
||||
// is waiting for it to arrive.
|
||||
|
||||
Reference in New Issue
Block a user