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 Objectoptional
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.
Name | Type | Summary | Class | |
---|---|---|---|---|
String | The name of the class. more details | more details | Accessor | |
SearchLayerField | The field to use for search. more details | more details | SearchLayer | |
String | The id of the layer. more details | more details | SearchLayer | |
Number | The sub layer index. more details | more details | SearchLayer |
Property Details
The name of the class. The declared class name is formatted as
esri.folder.className
.
- field SearchLayerField
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 details | SearchLayer |
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.
Loading...