Last updated

API / geotoolkit / map / features / adapters / Point / Point

Class: Point

adapters.Point.Point

Applies feature geometry's 'x' and 'y' (in Map C.S.) to AnchoredShape as an anchor

Implements

Table of contents

Constructors
Methods

Contents

Constructors

new Point(options)

new Point(options?)

Parameters

Name Type Description
Optional optionsOffsetoptions
Methods

apply

apply(geometry, shape, context?): void

Applies feature geometry's 'x' and 'y' to AnchoredShape as an anchor

Parameters

Name Type Description
geometryGeometryfeature geometry
shapeAnchoredShapeshape to set the anchor on
Optional contextTransformation | RenderingContextrendering context or its transformation

Returns

void

Implementation of

IGeometryToText.apply


getClassName

getClassName(): string

Returns

string


setOptions

setOptions(options?): Point

Sets feature_geometry-to-text_anchor_position offset options. For the new options to take effect on layer, the layer has to be invalidated.

Parameters

Name Type Description
Optional optionsOffsetoptions

Returns

Point

this


getClassName

Static getClassName(): string

Returns

string