I’m getting the same issue having added at the start of my js file the following:
var viewer = new Cesium.Viewer(‘cesiumContainer’,{
imageryProvider: false,
baseLayerPicker: false,
geocoder : false
});
viewer.imageryLayers.addImageryProvider(new Cesium.TileMapServiceImageryProvider({
url : Cesium.buildModuleUrl(‘Assets/Textures/NaturalEarthII’),
}));
When I disconnect my computer (no internet, no wireless, completely off line) I get a message starting : " Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.cesium.com/v1/assets"
Clearly, in spite of entering code that should prevent calls to the internet, I’m getting calls to the internet. As I’m trying to replicate an environment with no access to the outside world, the error message (and the resulting lack of world imagery) is a bit of a problem. If anyone can steer me in the right direction, I’d appreciate it.