esri.layers.FeatureType
| Property | Type | Description |
|---|---|---|
| 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. |
| Method | Return Value | Description |
|---|---|---|
| toJson() | Object | Converts object to its ArcGIS Server JSON representation. |
Map 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.