SearchLayer

AMD: require(["esri/webdoc/applicationProperties/SearchLayer"], (SearchLayer) => { /* code goes here */ });
ESM: import SearchLayer from "@arcgis/core/webdoc/applicationProperties/SearchLayer";
Class: esri/webdoc/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.
Show inherited properties Hide inherited properties
Name Type Summary Class
Stringmore details

The name of the class.

more detailsAccessor
SearchLayerFieldmore details

The field to use for search.

more detailsSearchLayer
Stringmore details

The id of the layer.

more detailsSearchLayer
Numbermore details

The sub layer index.

more detailsSearchLayer

Property Details

declaredClass Stringreadonly inherited

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

The field to use for search.

id String

The id of the layer.

subLayer Number

The sub layer index.

Method Overview

Name Return Type Summary Class
SearchLayermore details

Creates a deep clone of this object.

more detailsSearchLayer

Method Details

clone(){SearchLayer}

Creates a deep clone of this object.

Returns:
Type Description
SearchLayer Creates a deep clone of the instance calling this method.

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