new SuperMap.ChartQueryParameters(options)
Name | Type | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The parameters.
|
Members
-
boundsSuperMap.Bounds L.Bounds ol.extent
-
Chart query range. This parameter is required when performing a chart range query.
-
chartLayerNamesArray.<string>
-
The name of the chart layer to be looked up.
-
chartQueryFilterParametersArray.<SuperMap.ChartQueryFilterParameter>
-
ChartQueryFilterParameter includes the feature ID, the applicable object's selection of the feature (whether looks up point, line or area), and the attribute field filter condition.
-
expectCountnumber
-
The expected number of the record returned from the query results, and this value is greater than 0.
-
queryModestring
-
The chart query mode type. SuperMap iClient for JavaScript supports two query patterns: "ChartAttributeQuery" and "ChartBoundsQuery".
-
returnContentboolean
-
Gets or sets whether it is the recordset (Recordsets) of the query results, or the resource (ResourceInfo) of the query results.
- Default Value: true
startRecordnumber
The start recording location of the query.
Methods
-
destroy()
ChartQueryParameters.js, line 69 -
Disposes the resource. The property that references resource is set to null.
-
getVariablesJson(){string}
ChartQueryParameters.js, line 84 -
Transform attributes information to JSON format string that can be identified by server.
Returns:
Type Description string The JSON string.