Interface
IFeatureServiceDefinition can also be imported from the following packages:
import { IFeatureServiceDefinition } from "@esri/arcgis-rest-feature-service";Properties
| Property | Type | Notes |
|---|---|---|
advancedEditingCapabilities | {} | |
allowGeometryUpdates | boolean | Boolean value indicating whether the geometry of the features in the layer can be edited. |
capabilities | string | A comma separated list of supported capabilities, e.g. Query,Editing. |
copyrightText | string | String value for the copyright text information for the layer. |
currentVersion | number | |
description | string | String value of the layer as defined in the map service. |
documentInfo | {} | |
editorTrackingInfo | { allowOthersToDelete: boolean; allowOthersToUpdate: boolean; enableEditorTracking: boolean; enableOwnershipAccessControl: boolean } | |
enableZDefaults | boolean | |
extractChangesCapabilities | { supportsLayerQueries: boolean; supportsReturnAttachments: boolean; supportsReturnExtentOnly: boolean; supportsReturnFeature: boolean; supportsReturnIdsOnly: boolean; supportsSpatialFilter: boolean } | |
fullExtent | IExtent | |
hasStaticData | boolean | Boolean value indicating whether data changes. True if it does not. |
hasVersionedData | boolean | |
initialExtent | IExtent | |
isLocationTrackingService | boolean | |
isLocationTrackingView | boolean | |
layers | ILayerDefinition[] | |
maxRecordCount | number | Numeric value indicating tbe maximum number of records that will be returned at once for a query. |
relationships | [void] | |
returnServiceEditsHaveSR | boolean | |
serviceDescription | string | |
spatialReference | ISpatialReference | An object containing the WKID or WKT identifying the spatial reference of the layer's geometry. |
supportedQueryFormats | string | String value indicating the output formats that are supported in a query. |
supportsDisconnectedEditing | boolean | |
supportsRelationshipsResource | boolean | |
supportsReturnDeleteResults | boolean | |
syncCapabilities | { supportedSyncDataOptions: number; supportsASync: boolean; supportsPerLayerSync: boolean; supportsPerReplicaSync: boolean; supportsRegisteringExistingData: boolean; supportsRollbackOnFailure: boolean; supportsSyncDirectionControl: boolean } | |
syncEnabled | boolean | |
tables | ITable[] | |
units | string | |
validationSystemLayers | { validationLineErrorlayerId: number; validationObjectErrortableId: number; validationPointErrorlayerId: number; validationPolygonErrorlayerId: number } | |
zDefault | number |
allowGeometryUpdates
Interface PropertyallowGeometryUpdates: booleanBoolean value indicating whether the geometry of the features in the layer can be edited.
capabilities
Interface Propertycapabilities: stringA comma separated list of supported capabilities, e.g. Query,Editing.
copyrightText
Interface PropertycopyrightText: stringString value for the copyright text information for the layer.
description
Interface Propertydescription: stringString value of the layer as defined in the map service.
editorTrackingInfo
Interface PropertyeditorTrackingInfo: { allowOthersToDelete: boolean; allowOthersToUpdate: boolean; enableEditorTracking: boolean; enableOwnershipAccessControl: boolean }Type declaration
extractChangesCapabilities
Interface PropertyextractChangesCapabilities: { supportsLayerQueries: boolean; supportsReturnAttachments: boolean; supportsReturnExtentOnly: boolean; supportsReturnFeature: boolean; supportsReturnIdsOnly: boolean; supportsSpatialFilter: boolean }Type declaration
fullExtent
Interface PropertyfullExtent: IExtenthasStaticData
hasStaticData: booleanBoolean value indicating whether data changes. True if it does not.
initialExtent
Interface PropertyinitialExtent: IExtentlayers
Interface Propertylayers: ILayerDefinition[]maxRecordCount
Interface PropertymaxRecordCount: numberNumeric value indicating tbe maximum number of records that will be returned at once for a query.
spatialReference
Interface PropertyspatialReference: ISpatialReferenceAn object containing the WKID or WKT identifying the spatial reference of the layer's geometry.
supportedQueryFormats
Interface PropertysupportedQueryFormats: stringString value indicating the output formats that are supported in a query.
syncCapabilities
Interface PropertysyncCapabilities: { supportedSyncDataOptions: number; supportsASync: boolean; supportsPerLayerSync: boolean; supportsPerReplicaSync: boolean; supportsRegisteringExistingData: boolean; supportsRollbackOnFailure: boolean; supportsSyncDirectionControl: boolean }Type declaration
tables
Interface Propertytables: ITable[]