require(["esri/webscene/applicationProperties/SearchLayer"], function(SearchLayer) { /* code goes here */ });
Class: esri/webscene/applicationProperties/SearchLayer
Inheritance: SearchLayer Accessor
Since: ArcGIS API for JavaScript 4.7

Represents a layer to be included in search.

Constructors

new SearchLayer(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.
NameTypeSummaryClass
String

The name of the class.

more details
more detailsAccessor
SearchLayerField

The field to use for search.

more details
more detailsSearchLayer
String

The id of the layer.

more details
more detailsSearchLayer
Number

The sub layer index.

more details
more detailsSearchLayer

Property Details

declaredClassStringreadonly inherited
Since: ArcGIS API for JavaScript 4.7

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

The field to use for search.

The id of the layer.

subLayerNumber

The sub layer index.

Method Overview

NameReturn TypeSummaryClass
SearchLayer

Creates a deep clone of this object.

more details
more detailsSearchLayer

Method Details

clone(){SearchLayer}

Creates a deep clone of this object.

Returns:
TypeDescription
SearchLayerCreates a deep clone of the instance calling this method.

API Reference search results

NameTypeModule
Loading...