# Problem load wms

**URL:** <https://community.cesium.com/t/problem-load-wms/23170>\
**Category:** CesiumJS\
**Created:** [March 31, 2023, 9:52am UTC](https://community.cesium.com/t/problem-load-wms/23170 "2023-03-31T09:52:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cristo](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/cristo/32/12437_2.png) [@Cristo](https://community.cesium.com/u/Cristo)\
**Post date:** [March 31, 2023, 9:52am UTC](https://community.cesium.com/t/problem-load-wms/23170/1 "2023-03-31T09:52:56Z")

</div>

good morning:  
I’m new to this and I’m just starting out, so first of all thank you very much for creating this channel and for helping people like me (a bit more clumsy).  
I’m trying to add a wms to cesium.js through a script I made  
const viewer = new Cesium.Viewer(“cesiumContainer”);

const provider = new Cesium.WebMapServiceImageryProvider({  
url : “[http://mapserver.gis.umn.edu/mapserver](http://mapserver.gis.umn.edu/mapserver)”,  
layers : ‘0’,  
proxy: new Cesium.DefaultProxy(‘/proxy/’)  
});

viewer.imageryLayers.addImageryProvider(provider);  
// Add a WMS imagery layer  
//const imageryLayers = viewer.imageryLayers;  
[//imageryLayers.addImageryProvider](https://imageryLayers.addImageryProvider)(  
new Cesium.WebMapServiceImageryProvider({  
url:  
“[https://idecan2.grafcan.es/ServicioWMS/Geologico?](https://idecan2.grafcan.es/ServicioWMS/Geologico?)”,  
layers: ‘CONTACTS’,  
parameters: {  
transparent: true,  
format: “image/png”,  
},  
})  
;

// Start off looking at CANARY ISLANDS  
viewer.camera.setView({  
destination: Cesium.Rectangle.fromDegrees(  
-15.50,  
28.00,  
-15.50,  
27.00  
),  
});  
I have managed to preview the place I want but the wms is not visible. the globe stays
