Skip to content

Commit

Permalink
Fix broken Sandcastle terrain and imagery urls
Browse files Browse the repository at this point in the history
  • Loading branch information
ggetz committed Jan 11, 2018
1 parent 49b0e80 commit 059927e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Apps/Sandcastle/gallery/ArcticDEM.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

// Load ArcticDEM terrain
var cesiumTerrainProviderMeshes = new Cesium.CesiumTerrainProvider({
url : 'http://assets.agi.com/stk-terrain/v1/tilesets/ArticDEM/tiles',
url : 'https://assets.agi.com/stk-terrain/v1/tilesets/ArticDEM/tiles',
requestWaterMask : true,
requestVertexNormals : true
});
Expand Down
10 changes: 4 additions & 6 deletions Apps/Sandcastle/gallery/Imagery Layers Manipulation.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
addBaseLayerOption(
'ArcGIS World Street Maps',
new Cesium.ArcGisMapServerImageryProvider({
url : 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer'
url : 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer'
}));
addBaseLayerOption(
'OpenStreetMaps',
Expand All @@ -140,7 +140,7 @@
addBaseLayerOption(
'Natural Earth II (local)',
Cesium.createTileMapServiceImageryProvider({
url : require.toUrl('Assets/Textures/NaturalEarthII')
url : Cesium.buildModuleUrl('Assets/Textures/NaturalEarthII')
}));
addBaseLayerOption(
'USGS Shaded Relief (via WMTS)',
Expand All @@ -164,8 +164,7 @@
parameters : {
transparent : 'true',
format : 'image/png'
},
proxy : new Cesium.DefaultProxy('/proxy/')
}
}));
addAdditionalLayerOption(
'United States Weather Radar',
Expand All @@ -176,8 +175,7 @@
parameters : {
transparent : 'true',
format : 'image/png'
},
proxy : new Cesium.DefaultProxy('/proxy/')
}
}));
addAdditionalLayerOption(
'TileMapService Image',
Expand Down
2 changes: 1 addition & 1 deletion Apps/Sandcastle/gallery/Imagery Layers Split.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
//Sandcastle_Begin
var viewer = new Cesium.Viewer('cesiumContainer', {
imageryProvider : new Cesium.ArcGisMapServerImageryProvider({
url : 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer'
url : 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer'
}),
baseLayerPicker : false,
infoBox : false
Expand Down
2 changes: 1 addition & 1 deletion Apps/Sandcastle/gallery/Imagery Layers.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
//Sandcastle_Begin
var viewer = new Cesium.Viewer('cesiumContainer', {
imageryProvider : new Cesium.ArcGisMapServerImageryProvider({
url : 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer'
url : 'https://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer'
}),
baseLayerPicker : false
});
Expand Down

0 comments on commit 059927e

Please sign in to comment.