diff --git a/Apps/Sandcastle/gallery/Web Map Tile Service with Time.html b/Apps/Sandcastle/gallery/Web Map Tile Service with Time.html index ee34becba45b..719c0c036781 100644 --- a/Apps/Sandcastle/gallery/Web Map Tile Service with Time.html +++ b/Apps/Sandcastle/gallery/Web Map Tile Service with Time.html @@ -47,20 +47,22 @@ dataCallback: dataCallback }); -// Add a WMTS imagery layer +// Add a WMTS imagery layer. +// This comes from NASA's GIBS API. +// See https://wiki.earthdata.nasa.gov/display/GIBS/GIBS+API+for+Developers#GIBSAPIforDevelopers-OGCWebMapService(WMS) var provider = new Cesium.WebMapTileServiceImageryProvider({ - url : 'https://gibs.earthdata.nasa.gov/wmts/epsg4326/best/AMSR2_Snow_Water_Equivalent/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.png', - layer : 'AMSR2_Snow_Water_Equivalent', + url : 'https://gibs.earthdata.nasa.gov/wmts/epsg4326/best/MODIS_Terra_CorrectedReflectance_TrueColor/default/{Time}/{TileMatrixSet}/{TileMatrix}/{TileRow}/{TileCol}.jpg', + layer : 'MODIS_Terra_CorrectedReflectance_TrueColor', style : 'default', - tileMatrixSetID : '2km', + tileMatrixSetID : '250m', maximumLevel : 5, - format : 'image/png', + format : 'image/jpeg', clock: viewer.clock, times: times, credit : 'NASA Global Imagery Browse Services for EOSDIS' }); var imageryLayers = viewer.imageryLayers; -imageryLayers.addImageryProvider(provider); +var layer = imageryLayers.addImageryProvider(provider); provider.readyPromise .then(function() { var start = Cesium.JulianDate.fromIso8601('2015-07-30'); @@ -73,7 +75,9 @@ clock.stopTime = stop; clock.currentTime = start; clock.clockRange = Cesium.ClockRange.LOOP_STOP; - clock.multiplier = 86400; + clock.multiplier = 7200; + // Make the weather layer semi-transparent to see the underlying geography. + layer.alpha = 0.5; }); //Sandcastle_End Sandcastle.finishedLoading(); diff --git a/Apps/Sandcastle/gallery/Web Map Tile Service with Time.jpg b/Apps/Sandcastle/gallery/Web Map Tile Service with Time.jpg index b66ba2fac7fe..63fcc704004e 100644 Binary files a/Apps/Sandcastle/gallery/Web Map Tile Service with Time.jpg and b/Apps/Sandcastle/gallery/Web Map Tile Service with Time.jpg differ