Building an app with ol-cesium, depending on the WMS, Cross-Origin errors may occur:
"Image from origin 'http://www.ifremer.fr' has been blocked
from loading by Cross-Origin Resource Sharing policy:
No 'Access-Control-Allow-Origin' header is present on
the requested resource. Origin 'http://localhost:8080'
is therefore not allowed access"
I don't have the capability to set CORS header on the WMS used (like suggested here https://github.com/openlayers/ol3-cesium/issues/127).
It looks like a proxy can be set up at Cesium level (see https://cesiumjs.org/2013/01/04/Cesium-Imagery-Layers-Tutorial/).
Can it be setup at OL level so that it set it up at Cesium level ? and if yes, how ?
Looking at the initialization code for OL3-Cesium, there is no built in functionality for applying the proxy at the OL level.
You could try to copy over the imageryProvider settings for the layers they created and include the proxy on the new one.
I haven't tried this so I don't know if that will work, but it's worth a shot if OL3 doesn't plan to release an update any time soon that fixes this.