import BuildingNumericFilterViewModel from "@arcgis/core/widgets/BuildingExplorer/BuildingNumericFilterViewModel.js";const BuildingNumericFilterViewModel = await $arcgis.import("@arcgis/core/widgets/BuildingExplorer/BuildingNumericFilterViewModel.js");- Inheritance
- BuildingNumericFilterViewModel→
Accessor
- Subclasses
- BuildingLevel, BuildingPhase
- Since
- ArcGIS Maps SDK for JavaScript 4.16
Base class for the level filter and the construction phase filter in the BuildingExplorerViewModel.
Properties
Any properties can be set, retrieved or listened to. See the Watch for changes topic.
enabled
Property
- Type
- boolean
Whether the filter is enabled. If false, the filter's expression won't be used to filter a BuildingSceneLayer.
- Default value
- false
Methods
| Method | Signature | Class |
|---|---|---|
| clear(): void | | |
| getValueLabel(value: number): string | null | undefined | | |
| next(): void | | |
| previous(): void | | |
| select(value: number): void | |
getValueLabel
Method
- Signature
-
getValueLabel (value: number): string | null | undefined
If the field that is used for filtering has a coded value domain, the label for the value can be used to be displayed in a tooltip or in the widget UI. This method returns the label corresponding to a certain value.