FloorFilterViewModel

require(["esri/widgets/FloorFilter/FloorFilterViewModel"], function(FloorFilterViewModel) { /* code goes here */ });
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
String

The name of the class.

more details
more detailsAccessor
String

The currently selected facility.

more details
more detailsFloorFilterViewModel
GoToOverride

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

more details
more detailsFloorFilterViewModel
String

The currently selected level.

more details
more detailsFloorFilterViewModel
Boolean

Determines if the widget is expanded or collapsed.

more details
more detailsFloorFilterViewModel
String

The currently selected site.

more details
more detailsFloorFilterViewModel
MapView|SceneView

A reference to the MapView or SceneView.

more details
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.