FloorFilterViewModel

AMD: require(["esri/widgets/FloorFilter/FloorFilterViewModel"], (FloorFilterViewModel) => { /* code goes here */ });
ESM: import FloorFilterViewModel from "@arcgis/core/widgets/FloorFilter/FloorFilterViewModel";
Class: esri/widgets/FloorFilter/FloorFilterViewModel
Inheritance: FloorFilterViewModel Accessor
Since: ArcGIS API for JavaScript 4.19

Provides the logic for the FloorFilter widget.

See also:

Constructors

new FloorFilterViewModel(properties)
Parameter:
properties Object
optional

See the properties for a list of all the properties that may be passed into the constructor.

Property Overview

Any properties can be set, retrieved or listened to. See the Working with Properties topic.
Show inherited properties Hide inherited properties
Name Type Summary Class
Stringmore details

The name of the class.

more detailsAccessor
Stringmore details

The currently selected facility.

more detailsFloorFilterViewModel
GoToOverridemore details

This function provides the ability to override either the MapView goTo() or SceneView goTo() methods.

more detailsFloorFilterViewModel
Stringmore details

The currently selected level.

more detailsFloorFilterViewModel
Booleanmore details

Determines if the widget is expanded or collapsed.

more detailsFloorFilterViewModel
Stringmore details

The currently selected site.

more detailsFloorFilterViewModel
MapView|SceneViewmore details

A reference to the MapView or SceneView.

more detailsFloorFilterViewModel

Property Details

declaredClass Stringreadonly inherited

The name of the class. The declared class name is formatted as esri.folder.className.

facility String

The currently selected facility.

Default Value:undefined
goToOverride GoToOverride

This function provides the ability to override either the MapView goTo() or SceneView goTo() methods.

See also:
Example:
// The following snippet uses the Search widget but can be applied to any
// widgets that support the goToOverride property.
search.goToOverride = function(view, goToParams) {
  goToParams.options.duration = updatedDuration;
  return view.goTo(goToParams.target, goToParams.options);
};
level String

The currently selected level.

Default Value:undefined
longNames Boolean

Determines if the widget is expanded or collapsed. If the value is true, the widget is expanded and the long names appear. Otherwise, short names are used and icons appear alone on buttons.

Default Value:false
site String

The currently selected site.

Default Value:undefined

A reference to the MapView or SceneView. If this property is set, the FloorFilter widget will update the view's floors property whenever the floor filter is manipulated or updated programmatically. This property will affect any floor-aware layer in the view.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.