Skip to content
Last updated

API / geotoolkit / scene / exports / AnnotatedLayout / AnnotatedLayout

Class: AnnotatedLayout

exports.AnnotatedLayout.AnnotatedLayout

Layout class that represents an AnnotatedLayout

Table of contents

Constructors
  • [new AnnotatedLayout(parent)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.scene.exports.annotatedlayout.annotatedlayout.md#new annotatedlayout(parent))
Methods

Contents

Constructors

new AnnotatedLayout(parent)

• new AnnotatedLayout(parent)

Parameters

Name Type Description
parentCompositeDocumentElementparent document element of this layout
Methods

getClassName

▸ getClassName(): string

Returns

string


getLayoutedDimension

▸ getLayoutedDimension(): LayoutedDimension

Compute the dimension in the layout this dimension is represented by a fixed dimension and a scaled dimension.

Returns

LayoutedDimension

that contains two objects


setParent

▸ setParent(parent): AnnotatedLayout

Set the parent of this annotated layout.

Parameters

Name Type Description
parentCompositeDocumentElementparent document element of this layout

Returns

AnnotatedLayout

this


updateLayout

▸ updateLayout(): void

update the position of elements in the layout

Returns

void


getClassName

▸ Static getClassName(): string

Returns

string