Skip to content

Conversation

@monsieurtanuki
Copy link
Contributor

What

  • Now we refresh the tile display even when in error and without a default error image.
  • That gives more flexibility on the error display, e.g. an image that depends on the tile coordinates.
  • Fixes: Tile builder not invoked on load error #2154

Screenshot

image

Files

New file:

  • tile_error.dart: Example of tile loading systematically failing.

Impacted files:

  • main.dart: added the "Tile error" example
  • menu_drawer.dart: added the "Tile error" example
  • tile_image.dart: refresh the tile display even if there's no default error image

monsieurtanuki and others added 3 commits November 24, 2025 08:42
New file:
* `tile_error.dart`: Example of tile loading systematically failing.

Impacted files:
* `main.dart`: added the "Tile error" example
* `menu_drawer.dart`: added the "Tile error" example
* `tile_image.dart`: refresh the tile display even if there's no default error image
@JaffaKetchup JaffaKetchup self-requested a review November 30, 2025 18:56
@JaffaKetchup JaffaKetchup changed the title fix: 2154 - refresh loading tile even without default error image fix: build errored tile without error image using custom tile builder Nov 30, 2025
Copy link
Member

@JaffaKetchup JaffaKetchup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@JaffaKetchup JaffaKetchup merged commit b5056c0 into fleaflet:master Nov 30, 2025
11 checks passed
@monsieurtanuki
Copy link
Contributor Author

Thank you @JaffaKetchup for your review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tile builder not invoked on load error

2 participants