1、pre-conditions
I have a class inherited from QuadtreeRasterOverlayTileProvider. And I had over-write the loadQuadtreeTileImage function.In the function,I had written a funtion,like "CesiumAsync::Future XxTileProvider::loadThisTileImage(const CesiumGeometry::QuadtreeTileID& tileID,const CesiumGeometry::QuadtreeTileID& parentID, std::string url… ).
2、question
What I want is recursive calling loadThisTileImage(…) function to if curTileID loaded Image failed load it’s parents’s image and use the parents’s image to Up sample. I had learned the QuadtreeRasterOverlayTileProvider’s getQuadtreeTile(…) function, but I failed. I have a necessary reason to Upsample in QuadtreeRasterOverlayTileProvider’s son class.So , have can I do this? Could it can do this?
Thanks!
I look forward to hearing from you.
Hi @whyafer, welcome to the community!
It’s hard to tell what’s going on from a text description. Is it possible for you to share some code snippets? For example, how are you using the loadThisTileImage
and getQuadreeTile
functions? And what changes have you made to them? That would really help us understand Thank you!