I can’t seem to get CesiumJS load load tiles on mobile, it does download the tiles (Verified using remote debugging) but it leaves the globe totally blank.
The site works properly on desktop so I think its some sort of mobile vs desktop JS/ visual thing.
Theres no errors at all in the console other then a few warnings about timings that are also present on desktop. (Due to my servers network speed and some of my CZML files sizes)
Are you able to share a Sandcastle example of the 3D tileset you are trying to load here? I’ll check if it’s unique to your device or if it’s an issue for other mobile devices as well. If you are not comfortable sharing the code or asset in this public forum, you can email it to support@cesium.com.
Btw is there a way just to just use CesiumJS without Cesium ION? As I don’t use it at all and only have an API token because the tutorial on the site I was following back in 2018 made it sound like it was required.
This is possible. You can load a local dataset knowing the filepath to the dataset or you can load asset from another data source like aws. Here is a Sandcastle example of offline loading of an imageryProvider: Cesium Sandcastle.
The access token does give you access to Cesium World Terrain and Bing imagery, so if you need them in your application, you would still need an access token.
I am already using Mapbox as an alternative to using any of the datasets or assets from Cesium ION, yet somehow its still using data streaming on my access token. (Unless using the MapboxStyleImageryProvider still counts as using Cesium ION or maybe the Cesium.createWorldTerrain() call is using Cesium ION.)
I will test on my old Iphone 7 when I get home to see if it works or not.
Hm that’s weird, wonder if its some setting I have that’s messing up Googles version of WebGL, as the sandcastle example you linked loads and works on my phone as well.
Also just did an experiment after commenting out createWorldTerrain() and also my access token it says I need to have an access token set before making ANY Cesium api calls. Which means I have to have a Cesium ION token even if I don’t intend on using Cesium ION (didn’t know createWorldTerrain() used it as its not documented that it does in the docs)