createDataSourceForRealityDataId
suspend fun createDataSourceForRealityDataId(options: ITwinData.CreateDataSourceForRealityDataIdOptions): JsAny(source)
Create a data source of the correct type for the specified reality data id. This function only works for KML and GeoJSON type data.
If the type or rootDocument are not provided this function will first request the full metadata for the specified reality data to fill these values.