ITwinData
Methods for loading iTwin platform data into CesiumJS
See also
Types
Link copied to clipboard
interface CreateDataSourceForRealityDataIdOptions
Link copied to clipboard
interface CreateTilesetForRealityDataIdOptions
Link copied to clipboard
interface CreateTilesetFromIModelIdOptions
Link copied to clipboard
interface LoadGeospatialFeaturesOptions
Functions
Link copied to clipboard
suspend fun createDataSourceForRealityDataId(options: ITwinData.CreateDataSourceForRealityDataIdOptions): 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
Link copied to clipboard
suspend fun createTilesetForRealityDataId(options: ITwinData.CreateTilesetForRealityDataIdOptions): Cesium3DTileset
Create a tileset for the specified reality data id. This function only works with 3D Tiles meshes and point clouds.
Link copied to clipboard
Link copied to clipboard
suspend fun createTilesetFromIModelId(options: ITwinData.CreateTilesetFromIModelIdOptions): Cesium3DTileset?
Create a Cesium3DTileset for the given iModel id using iTwin's Mesh Export API.
Link copied to clipboard
Link copied to clipboard
suspend fun loadGeospatialFeatures(options: ITwinData.LoadGeospatialFeaturesOptions): GeoJsonDataSource
Load data from the Geospatial Features API as GeoJSON.
Link copied to clipboard