1. A concise explanation of the problem you’re experiencing.
I am loading WMS Service from NASA Image Server. It’s not loading properly.
What is the error?. What I need to change ?.
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
var provider = new WebMapServiceImageryProvider({
url: “http://svs.gsfc.nasa.gov/cgi-bin/wms”,
//?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&LAYERS=3487_12773&FORMAT=image/png&WIDTH=1024&HEIGHT=512&CRS=CRS:84&BBOX=-180.0,-90.0,180.0,90.0&STYLES=
layers: ‘3487_12773’,
proxy: new DefaultProxy(’/proxy/’),
parameters: {
version: ‘1.3.0’,
format: ‘image/png’,
width: 1024,
height: 512,
crs: ‘CRS:84’,
bbox: ‘-180.0,-90.0,180.0,90.0’
}
});
console.log(provider);
viewer.imageryLayers.addImageryProvider(provider);
Above is the code I am used. Here If I am not giving height, width, crs, bbox , It’s not ven loading like above scrrenshot.
3. Context. Why do you need to do this? We might know a better way to accomplish your goal.
4. The Cesium version you’re using, your operating system and browser.
Cesium1.66, Windows 10, Chrome