I3SLayer

open external class I3SLayer(source)

This class implements an I3S layer. In CesiumJS each I3SLayer creates a Cesium3DTileset.

Do not construct this directly, instead access layers through I3SDataProvider.

See also

Properties

Link copied to clipboard
external val data: JsAny

Gets the I3S data for this object.

Link copied to clipboard
external val legacyVersion16: Boolean

When true, when the loaded I3S version is 1.6 or older

Link copied to clipboard
external val majorVersion: Double

The major version number of the loaded I3S dataset

Link copied to clipboard
external val minorVersion: Double

The minor version number of the loaded I3S dataset

Link copied to clipboard
external val resource: Resource

Gets the resource for the layer.

Link copied to clipboard
external val rootNode: I3SNode

Gets the root node of this layer.

Link copied to clipboard
external val tileset: Cesium3DTileset?

Gets the Cesium3DTileset for this layer.

Link copied to clipboard
external val version: String

The version string of the loaded I3S dataset

Functions

Link copied to clipboard
suspend external fun filterByAttributes(filters: ReadonlyArray<I3SNode.AttributeFilter>? = definedExternally)

Filters the drawn elements of a layer to specific attribute names and values

Link copied to clipboard
external fun filterByAttributesAsync(filters: ReadonlyArray<I3SNode.AttributeFilter>? = definedExternally): Promise<Void>