ITwinData

external object ITwinData(source)

Methods for loading iTwin platform data into CesiumJS

See also

Functions

Link copied to clipboard
suspend fun createDataSourceForRealityDataId(options: ITwinData.CreateDataSourceForRealityDataIdOptions): ERROR CLASS: Symbol not found for JsAny

Create a data source of the correct type for the specified reality data id. This function only works for KML and GeoJSON type data.

Link copied to clipboard
fun createDataSourceForRealityDataIdAsync(options: ITwinData.CreateDataSourceForRealityDataIdOptions): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for JsAny>
Link copied to clipboard

Create a tileset for the specified reality data id. This function only works with 3D Tiles meshes and point clouds.

Link copied to clipboard
fun createTilesetForRealityDataIdAsync(options: ITwinData.CreateTilesetForRealityDataIdOptions): ERROR CLASS: Symbol not found for Promise<cesium/engine/Cesium3DTileset>
Link copied to clipboard

Create a Cesium3DTileset for the given iModel id using iTwin's Mesh Export API.

Link copied to clipboard
fun createTilesetFromIModelIdAsync(options: ITwinData.CreateTilesetFromIModelIdOptions): ERROR CLASS: Symbol not found for Promise<cesium/engine/Cesium3DTileset?>
Link copied to clipboard

Load data from the Geospatial Features API as GeoJSON.

Link copied to clipboard
fun loadGeospatialFeaturesAsync(options: ITwinData.LoadGeospatialFeaturesOptions): ERROR CLASS: Symbol not found for Promise<cesium/engine/GeoJsonDataSource>