GitHub user dosubot[bot] added a comment to the discussion: Deck.gl map change 
style directly on dashboard

<!-- Answer -->
If your TileLayer is not loading, here are the most common causes and how to 
debug them:

1. Check the browser console (F12 → Console tab) for JavaScript errors or 
warnings related to deck.gl, TileLayer, or failed resource loads. These errors 
often point directly to the problem.
2. In the browser's Network tab, look for tile requests (for example, requests 
to `http://storage.cockpit.hell.ee.loc/intensity/{z}/{x}/{y}.png`). Make sure 
these requests return HTTP 200. If you see 404, 403, or CORS errors, the tiles 
are not accessible—this is often the root cause.
3. Make sure the `visible` property on your TileLayer is set to `true`. In your 
code, `IntensityLayer` is set to `visible: false`, so it will not render.
4. Double-check that the URLs in your `data` property are correct and 
accessible from your browser. Try opening one of the tile URLs directly in your 
browser to confirm.
5. If you want to see backend errors, enable debug logging in Superset by 
editing your `superset/config.py` as follows:
   ```python
   import logging, os
   LOG_LEVEL = logging.DEBUG
   ENABLE_TIME_ROTATE = True
   TIME_ROTATE_LOG_LEVEL = logging.DEBUG
   FILENAME = os.path.join(DATA_DIR, "superset.log")
   ROLLOVER = "midnight"
   INTERVAL = 1
   BACKUP_COUNT = 30
   ```
   This will create a `superset.log` file with detailed error messages.

If you check these areas and still can't load the TileLayer, please share any 
specific error messages from the browser console or network tab—those will help 
pinpoint the issue.


<!-- Dosu Comment Footer -->
*To reply, just mention my name [@dosu](https://go.dosu.dev/dosubot).*

---
<sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/a11c0ca8-8947-4449-96f8-3b9d3f4a0b57?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/a11c0ca8-8947-4449-96f8-3b9d3f4a0b57?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/a11c0ca8-8947-4449-96f8-3b9d3f4a0b57?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/a11c0ca8-8947-4449-96f8-3b9d3f4a0b57?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/a11c0ca8-8947-4449-96f8-3b9d3f4a0b57?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/a11c0ca8-8947-4449-96f8-3b9d3f4a0b57?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/a11c0ca8-8947-4449-96f8-3b9d3f4a0b57?feedback_type=other)</sup>&nbsp;&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Sh
 are on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/32149)

GitHub link: 
https://github.com/apache/superset/discussions/32149#discussioncomment-13297867

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to