Hello my name Atcha .
I’m from Thailand.
I learned the Cesium program and have questions as follows.
CesiumJS is a open source JavaScript.
If I use it in locallhost .
I made a data of 10 buildings.
I want to make the data public.
What restrictions are there? If so, how much will it cost?
Is it necessary for me to use Cesium ion?
How is it different?
It depends on the size of your data. With the community plan, you can upload up to 5GB of data onto Cesium Ion. Please visit our pricing plans for more details on this: https://cesium.com/pricing/.
Cesium ion is a secure platform to serve and tile your data. Once you upload your data onto Cesium ion, you can load it into your applications using CesiumJS, like this:
var viewer = new Cesium.Viewer("cesiumContainer");
// Your asset token for Cesium ion
Cesium.Ion.defaultAccessToken =
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI4ZWM2YTYyMC03YzBhLTQ1MTQtOGUxNS05YzRhYTVjMjZmOGMiLCJpZCI6MzQwNTgsImlhdCI6MTU5OTY3MzA5OX0.nZh9YcQz8EakMD1T6nSU9TG5w6QnqnHJYx6QxCxJxA8';
var tileset = new Cesium.Cesium3DTileset({
url: Cesium.IonResource.fromAssetId(40866), // The asset id of your data on Cesium ion
});