Le lundi 25 avril 2016 07:31:04 UTC+2, Farook M a écrit :
> I tried configuring the CORS filter in my tomcat installed in Ubuntu in /etc/tomcat7/web.xml by adding the below lines
>
> On Thursday, 21 April 2016 13:22:36 UTC+5:30, Farook M wrote:
>
>
> I had tried adding a WMS layer from geoserver to cesium globes by below code which is in snapshot
>
> But no luck after adding CORS filter also. You could see my response from developer tools
>
>
>
>
> var widget = new Cesium.CesiumWidget('cesiumContainer');
> var url='
http://localhost:8080/geoserver/wms'; //Geoserver URL
> var layers = widget.scene.globe.imageryLayers;
> layers.removeAll();
> layers.addImageryProvider(new Cesium.WebMapServiceImageryProvider({
> url : url,
> layers: 'Vishakapatnam:Vishakapatnam_Imagery'
> }));
>
> The WMS layer is not getting added in the globe. Even i tried adding cors filter in /etc/tomcat7/web.xml. But no luck.
Hello,
I don't understand, why do you use a proxy? In your code there is no proxy and your network reports an URL with a proxy (port 8383).
Could you details your architecture and could you send your WMS capabilitues document?