new SuperMap.GetFeaturesByBufferParameters(options)
Name | Type | Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The parameters.
|
Extends
Members
-
aggregationsObject
-
Aggregate query parameters, which only support data services from the Elasticsearch service.
-
attributeFilterstring
-
The query conditions.
-
bufferDistancenumber
-
The buffer distance. The unit is identical to the dataset units of the queried layer.
-
datasetNameArray.<string>
-
A list of data set names in the dataset collection.
-
fieldsArray.<string>
-
Sets the result query field. If specified, features of GetFeaturesResult only contains the specified field. If not, return all fields.
-
fromIndexnumber
-
The minimum index. If this value is greater than the max index, the result is null.
-
geometryObject
-
The geometry query condition. The point type could be: SuperMap.Geometry.Point|L.Point|L.GeoJSON|ol.geom.Point|ol.format.GeoJSON. The line type could be: SuperMap.Geometry.LineString|SuperMap.Geometry.LinearRing|L.Polyline|L.GeoJSON|ol.geom.LineString|ol.format.GeoJSON. The Polygon type could be: SuperMap.Geometry.Polygon|L.Polygon|L.GeoJSON|ol.geom.Polygon|ol.format.GeoJSON.
-
maxFeaturesnumber
-
When processing the SQL query, it is used to set the number of query result returned by the server.
- Default Value: 1000
returnContentboolean
Whether to return the new created resource representation or return the URL of the new resource. If the result is true, then the new created resource, i.e., the the query result representation. If the result is false, the URI of the querying result is returned.
- Default Value: true
returnCountOnlyboolean
Only return the total amount of the query result.
toIndexnumber
The maximum index. If this value is greater than the max index, treat this value as the end index.
- Default Value: 19
Methods
-
SuperMap.GetFeaturesByBufferParameters.toJsonParameters(params){string}
GetFeaturesByBufferParameters.js, line 79 -
Transform the SuperMap.GetFeaturesByBufferParameters to JSON string.
Name Type Description params
SuperMap.GetFeaturesByBufferParameters The GetFeaturesByBufferParameters
Returns:
Type Description string The converted JSON string. -
inherited destroy()
GetFeaturesParametersBase.js, line 67 -
Disposes the resource. The property that references resource is set to null.
-
inherited destroy()
GetFeaturesParametersBase.js, line 67 -
Disposes the resource. The property that references resource is set to null.