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:
@@ -34,7 +34,7 @@ public:
|
||||
Request parseRasterTile(
|
||||
RasterBucket&,
|
||||
std::string data,
|
||||
std::function<void (bool)> callback);
|
||||
std::function<void (TileParseResult)> callback);
|
||||
|
||||
Request parseVectorTile(
|
||||
TileWorker&,
|
||||
|
||||
Reference in New Issue
Block a user