Skip to main content

MapAggregationFunction

geovisto-mapReadme | API


geovisto-map / MapAggregationFunction

Class: MapAggregationFunction

This class provides a generic aggregation function.

Author

Jiri Hynek

Extends

Implements

Constructors

new MapAggregationFunction()

new MapAggregationFunction(type, aggregationBucket): MapAggregationFunction

It initializes the function.

Parameters

type: string

aggregationBucket

Returns

MapAggregationFunction

Overrides

MapDomain.constructor

Source

model/internal/aggregation/generic/MapAggregationFunction.ts:17

Properties

aggregationBucket()

private aggregationBucket: () => IMapAggregationBucket

Returns

IMapAggregationBucket

Source

model/internal/aggregation/generic/MapAggregationFunction.ts:12

Methods

getAggregationBucket()

getAggregationBucket(): IMapAggregationBucket

It returns a aggregation bucket for aggregation of multiple values.

Returns

IMapAggregationBucket

Implementation of

IMapAggregationFunction.getAggregationBucket

Source

model/internal/aggregation/generic/MapAggregationFunction.ts:26


getName()

getName(): string

It returns the name of the map domain.

Returns

string

Implementation of

IMapAggregationFunction.getName

Inherited from

MapDomain.getName

Source

model/internal/domain/generic/MapDomain.ts:21


toString()

toString(): string

The string representation is equal to the name of the map domain.

Returns

string

Inherited from

MapDomain.toString

Source

model/internal/domain/abstract/AbstractMapDomain.ts:18