CesiumGS / CesiumGS/cesium

Better error handling for billboard if image cannot be loaded

Open
#3,117 2 comments 0 reactions 0 assignees View on GitHub
category - billboards type - enhancement
Dominant language
JavaScript
Stars
15.8k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

Currently, if a billboard can't load an image (like if the URL returns a 404 error) it prints an error to the console. The application has no way of knowing if and when the image was loaded. It would be better if there was a promise or something that was publicly accessible.

This has come up a few times in the forum, most recently here: https://groups.google.com/forum/#!topic/cesium-dev/A1CCO5u53W4

Contributor guide

Open the contributing guide

Research direction

Start from the billboard image-loading path and reproduce the 404 case described in the issue and forum thread. Determine how a publicly accessible completion or failure signal should cover both successful and failed image loads; done means callers can reliably observe when loading finishes or fails instead of relying on console output.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.