Skip to content
Last updated

API / geotoolkit3d / scene / grid / legend / GridLegend / GridLegend

Class: GridLegend

legend.GridLegend.GridLegend

Widget for projecting texts/legends on the grid's 4 cardinal directions.

Table of contents

Constructors
  • [new GridLegend(options)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit3d.scene-3.grid-1.legend.gridlegend.gridlegend.md#new gridlegend(options))
Methods

Contents

Constructors

new GridLegend(options)

• new GridLegend(options)

Parameters

Name Type
optionsOptions
Methods

addToGrid

▸ addToGrid(grid): void

Add this legend to the given Grid

Parameters

Name Type Description
gridGridthe grid to add the legend to

Returns

void


dispose

▸ dispose(): void

Dispose widget

Returns

void


setOptions

▸ setOptions(options?): void

Parameters

Name Type
Optional optionsOptions

Returns

void