You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My question is related to the samples and content within this repository. For all other issues, open a ticket with Esri Technical Support or post your question in the community forum.
I have checked for existing issues to avoid duplicates. If someone has already opened an issue for what you are experiencing, please add a 👍 reaction and comment as necessary to the existing issue instead of creating a new one. You can also refer to this repo's troubleshooting guide for hints and suggestions.
Actual behavior
Using the a WebTileLayer pointing to a hosted tile server using the urlTemplate property. My server returns tiles as expected. However when the requested tile does not exist I return a 204, and get an error in the browser saying the tile was unable to be loaded.
I can send a blank_tile.png back to the server when the asset is not found to avoid this error but this seems redundant when the map is requesting a multitude of files that don't exist.
Expected behavior
The frontend should ideally render a blank tile when receiving a 204 network status request rather than trying and throwing an error when loading an image that doesn't exist in the request.
Browser Error Example:
{
"name": "request:server",
"message": "Unable to load tile 17/49193/38845",
"details": {
"error": {
"stack": "Error: The source image could not be decoded."
},
"level": 17,
"row": 49193,
"col": 38845
}
}
IMPORTANT
Actual behavior
Using the a WebTileLayer pointing to a hosted tile server using the urlTemplate property. My server returns tiles as expected. However when the requested tile does not exist I return a 204, and get an error in the browser saying the tile was unable to be loaded.
I can send a blank_tile.png back to the server when the asset is not found to avoid this error but this seems redundant when the map is requesting a multitude of files that don't exist.
Expected behavior
The frontend should ideally render a blank tile when receiving a 204 network status request rather than trying and throwing an error when loading an image that doesn't exist in the request.
Browser Error Example:
Reproduction sample
https://codesandbox.io/p/sandbox/x7jt94
Reproduction steps
Reproduction browser
Chrome 130 on Windows 10
Operating System (check https://whatsmyos.com)
Windows 10* 64-bit
The text was updated successfully, but these errors were encountered: