I implemented a subclass of ImageTiledLayer.
if I check cancellationToken.IsCancellationRequested == true and throw OperationCanceledException or TaskCanceledException with loading operation cancel, the method GetTileDataAsync will never be called with same level, row and column parameters. I guess that wrong result is cached.
How is the right way to use cancellationToken?
Thank you for your reply. My subclass has a lot of code which reading and some processing of geotiff files. I can make a simple project with this problem but only later, maybe after a couple of weeks