Hi everyone,
I try to loade imagery layer from http://geoservices.rijkswaterstaat.nl/vaarwegenkaart_nl
I have seen it with openlayers in http://maps.grade.de/
I want to use this imagery with cesium and I use this code to load it but I got erros such as “An error occurred in “v”: Failed to obtain image tile X: 1 Y: 0 Level: 1.”
Is there something wrong in my url above and why I can’t have image like this below. As an information, this url is obtained by reading according to the getcapability request.
it does not provide the same image that I see in http://maps.grade.de/ Here is what should this map looks like:
You configuration is probably fine. Your working image link does not have a CORS header, which is the reason Cesium can’t access it. I recommend you check out the Imagery Tutorial, which has a section on dealing with CORS. Ideally you would have them enable CORS on the server, but if that’s not an option, going through a Proxy is the only option.