TileLayer sometimes fails to fetch from local server using Anywidget and Google Colab #8504
Unanswered
cornhundred
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm experimenting with building a Jupyter widget using Anywidget in order to use deck.gl's TileLayer in a Jupyter notebook and load pyramidal JPEG images that are saved on disk and hosted using a server run in the notebook.
See Google Colab Notebook link for a live example which appears after running the cells
However, sometimes after a few minutes or longer the tiles will sometimes spontaneously stop loading and the console logs will say:
Do you think this could be an issue with how I'm implementing error handling on my TileLayer or is it more likely outside the scope of deck.gl and related to the local server. If so, do you have any advice on setting up a server to more stably provide tiles to the front-end?
Here is the code for the front-end:
and server
which is hosting the JPEG files that I obtained by cloning the repo into the Colab notebook instance.
Beta Was this translation helpful? Give feedback.
All reactions