TilesetSource

data class TilesetSource(val rootUri: String, val authProvider: TilesetAuthProvider = NoAuthProvider, val displayName: String = rootUri)

Identifies a 3D Tiles dataset: the absolute URI of its root document (tileset.json for a self-hosted set; an asset-endpoint URL for Cesium Ion; root.json?key=... for Google Photorealistic 3D Tiles) and the TilesetAuthProvider used to authenticate every fetch the layer makes on its behalf.

Constructors

Link copied to clipboard
constructor(rootUri: String, authProvider: TilesetAuthProvider = NoAuthProvider, displayName: String = rootUri)

Properties

Link copied to clipboard

Auth strategy. Default is unauthenticated.

Link copied to clipboard

Display name used for logging + debug overlays. Defaults to rootUri.

Link copied to clipboard

Absolute URL of the root document. Relative content URIs inside the dataset are resolved against this.