I have to add the weather data layer. I try to connect to openweathermap service(description is here: http://openweathermap.org/hugemaps#wms).
var viewer = new Cesium.Viewer('cesiumContainer', {
baseLayerPicker: false,
homeButton: false,
infoBox: false,
imageryProviderViewModels: false
});
var imageryLayers = viewer.imageryLayers;
imageryLayers.addImageryProvider(new Cesium.WebMapServiceImageryProvider({
url: ‘http://wms.openweathermap.org/service’,
layers: ‘pressure’,
parameters: {
transparent: false,
format: ‘image/jpeg’,
APPID: ‘here my code’
}
}));
This code does not work. Tiles are not drawn, but loaded. In console I have the next errors: An error occurred in "N": Failed to obtain image tile X: 0 Y: 0 Level: 0. etc.
What could be the problem?