Class: GetFeaturesParametersBase

SuperMap.GetFeaturesParametersBase

The GetFeaturesParametersBase class.

new SuperMap.GetFeaturesParametersBase(options)

GetFeaturesParametersBase.js, line 4
Name Type Description
options Object

The parameters.

Name Type Default Description
datasetNames Array.<string>

A list of data set names in the dataset collection.

returnContent boolean true optional

Whether to return query result directly.

fromIndex number 0 optional

The minimum index.

toIndex number 19 optional

The maximum index.

Members

aggregationsObject

Aggregate query parameters, which only support data services from the Elasticsearch service.

datasetNameArray.<string>

A list of data set names in the dataset collection.

fromIndexnumber

The minimum index. If this value is greater than the max index, the result is null.

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

destroy()

GetFeaturesParametersBase.js, line 67

Disposes the resource. The property that references resource is set to null.