English中文

I3SLayer

internal constructor new Cesium.I3SLayer()

此类实现 I3S 层。在CesiumJS中,每个I3SLayer都会创建一个Cesium3DTileset。 This class implements an I3S layer. In CesiumJS each I3SLayer creates a Cesium3DTileset.

不要直接构造它,而是通过访问层 Do not construct this directly, instead access layers through I3SDataProvider.

成员 Members

readonly data : object

获取此对象的 I3S 数据。 Gets the I3S data for this object.

readonly legacyVersion16 : boolean

When true,当加载的I3S版本为1.6或更旧时 , when the loaded I3S version is 1.6 or older

readonly majorVersion : number

加载的I3S数据集的主版本号 The major version number of the loaded I3S dataset

readonly minorVersion : number

加载的I3S数据集的次版本号 The minor version number of the loaded I3S dataset
获取图层的资源。 Gets the resource for the layer.
获取该层的根节点。 Gets the root node of this layer.
获取该层的Cesium3DTileset。 Gets the Cesium3DTileset for this layer.

readonly version : string

加载的I3S数据集的版本字符串 The version string of the loaded I3S dataset

方法 Methods

filterByAttributes(filters)Promise.<void>

将图层的绘制元素过滤为特定的属性名称和值 Filters the drawn elements of a layer to specific attribute names and values
名称 Name 类型 Type 默认值 Default 说明 Description
filters Array.<I3SNode.AttributeFilter> [] 可选 optional 属性过滤器的集合 The collection of attribute filters
返回: Returns:
应用过滤器时解决的承诺 A promise that is resolved when the filter is applied
需要帮助吗?获得答案的最快方法是从社区和团队那里获得答案 Need help? The fastest way to get answers is from the community and team on the Cesium Forum.