SearchLayer

require(["esri/webdoc/applicationProperties/SearchLayer"], function(SearchLayer) { /* code goes here */ });
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
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

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
SearchLayer

Creates a deep clone of this object.

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