Last updated

API / geotoolkit / map / features / Aggregation / Aggregation

Class: Aggregation

features.Aggregation.Aggregation

Point map feature implementation.

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new Aggregation(options)

new Aggregation(options?)

Parameters

Name Type
Optional optionsOptions

Overrides

PointFeature.constructor

Methods

applyMapCS

applyMapCS(layer): Aggregation

Applies Map coordinate system to itself

Parameters

Name Type Description
layerAbstractLayermap layer to use for coordinate system conversion

Returns

Aggregation

this

Inherited from

Point.applyMapCS


copyConstructor

Protected copyConstructor(src): Aggregation

Copy constructor function.
Function used as part of the cloning mechanism.
Implementations should copy the given instance state to this instance.
Makes a shallow copy of the feature.

Parameters

Name Type Description
srcAbstractFeatureSource to copy from

Returns

Aggregation

this

Inherited from

Point.copyConstructor


getAggregation

getAggregation(): Iterator<Point>

Returns iterator through aggregated features

Returns

Iterator<Point>


getAttributes

getAttributes(): Attributes

Gets attributes (non-spatial properties) Attributes are some additional (non-spatial) properties. These attributes can be written as a text next to the feature itself for more information for the user.

Returns

Attributes

attributes

Inherited from

Point.getAttributes


getClassName

getClassName(): string

Returns

string

Inherited from

Point.getClassName


getGeometry

getGeometry(isMapCS?): Geometry

Gets geometry Geometry is the place, where the feature should be rendered. It is point coordinates for a point feature or a points array for polygons and polylines.

Parameters

Name Type Description
Optional isMapCSbooleanMap coordinate system flag

Returns

Geometry

geometry

Inherited from

Point.getGeometry


getId

getId(): string

Gets ID Id is a unique identifier of the feature, usually one of the attributes. It is used to simplify settings for the user, as a default 'annotation' (text info) for the feature.

Returns

string

ID

Inherited from

Point.getId


setExpanded

setExpanded(expanded): Aggregation

Sets expanded mode

Parameters

Name Type Description
expandedbooleantrue, if expanded, else false

Returns

Aggregation

this


shallowClone

shallowClone(): AbstractFeature

All subclasses should override copyConstructor or provide custom implementation for this method Returns shallow copy of the feature

Returns

AbstractFeature

clone

Inherited from

Point.shallowClone


getClassName

Static getClassName(): string

Returns

string

Inherited from

Point.getClassName