BuildingFilter

Defines a set of conditions for filtering the features rendered in a BuildingSceneLayer. A filter uses BuildingFilterBlock objects to define conditions for displaying or hiding components of a BuildingSceneLayer. Only a single filter block may apply to a Feature at a time. The order of filter blocks influences the order in which the filter blocks are applied. For example, if a filter block is using a BuildingWireframeFilterMode that precedes a block that is using a BuildingSolidFilterMode in the collection, features that match both filter blocks will be drawn as wireframe.

BuildingFilters are only applied to a BuildingComponentSublayer with type BuildingComponentSublayerType.SceneObject.

Since

300.0.0

Constructors

Link copied to clipboard
constructor(name: String, description: String, blocks: Iterable<BuildingFilterBlock>)

Creates a new building filter with filter blocks.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The filter blocks define which features should be visible in the affected BuildingSceneLayer and how the filtered features should be drawn.

Link copied to clipboard

The description of the filter. Use the description to show the user information about the filter.

Link copied to clipboard

The unique identifier of the filter.

Link copied to clipboard

The name of the filter.

Functions

Link copied to clipboard

Clones this instance of the filter and its members.

Inherited functions

Link copied to clipboard
open override fun toJson(): String

Convert an object to JSON string.