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 | more details The name of the class. | more details | Accessor | |
SearchLayerField | more details The field to use for search. | more details | SearchLayer | |
String | more details The id of the layer. | more details | SearchLayer | |
Number | more details The sub layer index. | 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 | more details Creates a deep clone of this object. | 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.