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

Handling errors on image loading for Tiles #495

Open
ataulm opened this issue Aug 4, 2022 · 1 comment
Open

Handling errors on image loading for Tiles #495

ataulm opened this issue Aug 4, 2022 · 1 comment
Labels

Comments

@ataulm
Copy link
Contributor

ataulm commented Aug 4, 2022

onResourcesRequest() is where we fetch bitmaps from the network, convert to an image resource, and then return it as a resource bundle when requested.

What happens if something fails in that pipeline? What is the correct behavior (for tile developers)?

@yschimke
Copy link
Contributor

We need to replace with a permanent replacement image, and refresh resources another way. Or fetch images while loading the tile, so we know what resource id to put.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants