Class: GeoHashGridAggParameter

ol.supermap.GeoHashGridAggParameter

Grid aggregation query parameter class, which only supports data services from the Elasticsearch service.

new ol.supermap.GeoHashGridAggParameter(option)

GeoHashGridAggParameter.js, line 6
Name Type Description
option Object

Initializes the argument.

Name Type Default Description
precision number 5 optional

The precision of the numbers in the grid.

aggType ol.supermap.AggregationType ol.supermap.AggregationType.GEOHASH_GRID optional

Grid aggregation type.

Members

Grid aggregation type.

Default Value:
ol.supermap.AggregationType.GEOHASH_GRID

precisionnumber

The precision of the numbers in the grid.

Default Value:
5

Methods

static toJsonParameters(param){string|object}

GeoHashGridAggParameter.js, line 38

Convert the object to JSON format.

Name Type Description
param

The object that needs to be converted.

Returns:
Type Description
string | object