I can't display local terrain without an internet connection

Hi,

i try to display terrain and building from my local machine.

If my PC is connected to Internet, it works with:
file:///C:/Temp/MyTerrain/terrain/tileset.json
and using a server:
http://127.0.0.1:8080/MyTerrain/terrain/tileset.json

But when i do the same thing without any Internet connection, my terrain is not loaded (i just have a gray area near the camera).
My terrain is local, why do i need Internet ?
How can i solve the problem ?

Gregory

Hi @Greg2021,

That’s odd - I haven’t heard of this issue before. You shouldn’t need internet to load from your local disk or a local server.

Can you try testing from a local server in CesiumJS? You can use this sandcastle to get started. Please let me know if you’re able to get it working with CesiumJS.

-Alex

Also, can you let me know if you’re getting any errors in the Output Log when you try loading without an internet connection?

Hi,

i have found the source of the problem.
I have modified a Cesium3DTiles which was using CesiumIon to use my local 3DTiles, but i have not deleted the Cesium Raster Overlay from Bing.

Sorry.
Thanks.

1 Like

No worries, glad to hear you figured it out!