--
You received this message because you are subscribed to the Google Groups "cesium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cesium-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
var clouds = imageryLayers.addImageryProvider(new Cesium.OpenStreetMapImageryProvider({
url : 'http://a.tile.openweathermap.org/map/clouds',
fileExtension : 'png',
tileMatrixSetID : 'a',
proxy: new Cesium.DefaultProxy('/proxy/')
}));
Easy enough!Hi Davor,
I got the updated OpenWeatherMap interface working with the following code:
var mapOpenWeatherMaps = layers.addImageryProvider(
new Cesium.createOpenStreetMapImageryProvider( {
url: 'http://tile.openweathermap.org/map/precipitation_new',
fileExtension: 'png' + '?appid={APPID}'
})
);
OpenWeatherMaps requires your own unique AppID with each request and it is required to be the last entry of the url, hence the 'hack' where the AppID is added after the image-type.
So in the code above replace {APPID} with your own unique ID when you subscribe to the OpenWeatherMap site.