Error in loading online pictures on billboard in cesium tainted canvas may not be loaded

There is no problem loading the pictures in the project. An error will be reported when loading the online pictures

resolvent:

image.setAttribute(‘crossOrigin’, ‘anonymous’);  

Reason: when canvas is drawn, online pictures involve cross domain problems.

 

Of course, while setting the front end, you also need to set it in the background to allow cross domain access to pictures.

 

 

Read More: