new SuperMap.EditFeaturesParameters(options)
Name | Type | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The parameters.
|
Members
-
dataSetNamestring
-
The data set to be created or modified.
-
dataSourceNamestring
-
The data source to be created or modified.
-
editTypeSuperMap.EditType
-
The update type for feature dataset (add, update, delete).
- Default Value: SuperMap.EditType.ADD
featuresArray.<(SuperMap.Feature.Vector|GeoJSONObject|ol.feature)>
The feature dataset to be created or modified.
IDsArray.<(string|number)>
The feature ID collection when deleting.
isUseBatchboolean
Whether to use the bulk addition of features. This function is active for adding features. The bulk addition function can improve the editing efficiency of features. True denotes to use the bulk addition function; false denotes not to use this function.
returnContentboolean
It is valid when adding features. Ture, return the new array of the feature IDs. false, return URI of featureResult.
Methods
-
destroy()
EditFeaturesParameters.js, line 69 -
Disposes the resource. The property that references resource is set to null.
-
toJsonParameters(params){string}
EditFeaturesParameters.js, line 83 -
Transform the EditFeaturesParameters to JSON string.
Name Type Description params
SuperMap.EditFeaturesParameters The EditFeaturesParameters class
Returns:
Type Description string The JSON object.