# how use Cesium3DTileset

**URL:** <https://community.cesium.com/t/how-use-cesium3dtileset/7637>\
**Category:** CesiumJS\
**Created:** [October 31, 2018, 11:59am UTC](https://community.cesium.com/t/how-use-cesium3dtileset/7637 "2018-10-31T11:59:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![engineerkarimi](https://avatars.discourse-cdn.com/v4/letter/e/a5b964/32.png) [@engineerkarimi](https://community.cesium.com/u/engineerkarimi)\
**Post date:** [October 31, 2018, 11:59am UTC](https://community.cesium.com/t/how-use-cesium3dtileset/7637/1 "2018-10-31T11:59:23Z")

</div>

1. A concise explanation of the problem you're experiencing.

I create MVC Demo, add build Folder of Cesium-1.50 to script Folder and want to create View such as below,but when I Run it got this Error:  
Cesium.Cesium3DTileset is not a constructor  
&nbsp;&nbsp;&nbsp;&nbsp;at window.onload

2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;window.onload = function () {  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var viewer = createViewer("viewer", "@Url.Content("~/Scripts")");  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var scene = viewer.scene;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cesium.Cartesian3.fromDegrees(53.9868, 26.5325, 0.0);

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var tileset =  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scene.primitives.add(new Cesium.Cesium3DTileset({  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url: ‘[https://d35ei6ur3bjvr1.cloudfront.net/berlin/small\_untextured](https://d35ei6ur3bjvr1.cloudfront.net/berlin/small_untextured)’  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}));  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scene.terrainProvider = new Cesium.CesiumTerrainProvider({  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url: ‘[https://d35ei6ur3bjvr1.cloudfront.net/berlin/86bd7c93-de44-455d-9efa-a41238172216](https://d35ei6ur3bjvr1.cloudfront.net/berlin/86bd7c93-de44-455d-9efa-a41238172216)’  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

4. The Cesium version you're using, your operating system and browser.  
Cesium-1.50,Google Chrome latest version

---

<div class="post-metadata">

**Author:** ![omar](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/omar/32/1999_2.png) [@omar](https://community.cesium.com/u/omar)\
**Post date:** [November 1, 2018, 6:25pm UTC](https://community.cesium.com/t/how-use-cesium3dtileset/7637/2 "2018-11-01T18:25:15Z")

</div>

How are you loading in Cesium? What does the “createViewer” function look like? Make sure you’re correctly including everything as described here:

> **[Documentation | cesium.com](https://cesium.com/docs/)**
>
> Cesium is geospatial. Use Cesium ion's simple workflow to create 3D maps of your geospatial data for visualization, analysis, and sharing. For developers, use the open-source CesiumJS library to create custom 3D mapping apps.
