Hide Table of Contents
esri
esri/arcgis
esri/dijit
esri/dijit/analysis
esri/dijit/geoenrichment
esri/dijit/geoenrichment/ReportPlayer
esri/geometry
esri/layers
esri/renderers
esri/symbols
esri/tasks
esri/tasks/datareviewer
esri/tasks/geoenrichment
esri/tasks/locationproviders
require(["esri/layers/FeatureType"], function(FeatureType) { /* code goes here */ });
| Name | Type | Summary |
|---|---|---|
| domains | Object | Map of field names to domains. |
| id | Number | The feature type identifier. |
| name | String | The feature type name. |
| templates | FeatureTemplate[] | Array of feature templates associated with this feature type. |
| Name | Return type | Summary |
|---|---|---|
| toJson() | Object | Converts object to its ArcGIS Server JSON representation. |
Object> domainsMap of field names to domains. For example:
{
"<field1>" : <domain1>,
"<field2>" : <domain2>
}
In the above dictionary, if the domain defined for a field is an instance of InheritedDomain the application will use the domains defined for the field by the layer. If the dictionary does not include an entry for a field, the field does not have an associated domain.
Number> idString> nameFeatureTemplate[]> templatesObject