How to add a Cesium layer
Adding Cesium data in a layer
Jim van de Burgwal
Last Update bir yıl önce
To add 3D Tiles from Cesium, you need the ID of the asset and an access token. Follow the steps below to add your own Cesium layer.
Cesium is a platform where you can find 3D Geospatial data. On https://cesium.com/ you can create an account and then press Open Ion in the top right corner once you're logged in.

In Cesium Ion you can find your assets under My Assets at the top of the page. There you will find a list with your assets, which all have an ID, Name, Type etc. This ID is what you will need to add your asset in the 3D Cityplanner. When you create a new account you will find the following assets already in your My Assets folder.


In the Asset Depot tab you can find more assets. In there you can also search for Google Photorealistic 3D Tiles, click the + button to add your desired asset to My Assets where you can also find the assets ID.


You will also need an access token, which you can find in the access tokens tab. There is an automatically generated token called Default Token. If you click on that token you will find your token on the right side.


Now open the Map Layers tab in the 3D Cityplanner and click on Add Data. Then select Simple Cesium Setup, this will open the window in which you can add the assets ID and your access token.


In the Simple Cesium Setup window you can fill in the ID and access token and then press Connect. This will zoom in and give you a preview of the data. The Layer name will also be set to the asset name in Cesium Ion. You can adjust the Layer name and Category name to your liking.

When your asset is connected and loaded, you can also adjust the base height to make sure it isn't below the ground or floating in the air. Once you're happy with the height adjustment, click Add Layer to save.

The new layer is now saved and can be found in the Map Layers list under the given category and name. Here you can enable and dissable the layer like any other layer.
