Skip to main content

InfoToolMapForm

geovisto-map • Readme | API


geovisto-map / InfoToolMapForm

Class: InfoToolMapForm

This class provides controls for management of info map form inputs.

Author​

Jiri Hynek

Author​

Tomas Koscielniak

Extends​

Implements​

Constructors​

new InfoToolMapForm()​

new InfoToolMapForm(tool): InfoToolMapForm

It creates new map form with respect to the given props.

Parameters​

• tool: IInfoTool\<IInfoToolProps, IInfoToolDefaults, IInfoToolState\<IInfoToolProps, IInfoToolDefaults, IInfoToolConfig>, IInfoToolConfig, IMapToolInitProps\<IInfoToolConfig>>

Returns​

InfoToolMapForm

Overrides​

MapObjectForm.constructor

Source​

tools/info/model/internal/form/InfoToolMapForm.ts:33

Properties​

htmlContent​

private htmlContent: HTMLDivElement

TODO: exclude class variables to the defaults and state.

Source​

tools/info/model/internal/form/InfoToolMapForm.ts:26

Methods​

getContent()​

getContent(): HTMLDivElement

It returns a HTML div element containing the form.

Returns​

HTMLDivElement

Implementation of​

IMapForm.getContent

Overrides​

MapObjectForm.getContent

Source​

tools/info/model/internal/form/InfoToolMapForm.ts:47


getDataManager()​

protected getDataManager(): undefined | IMapDataManager

A help function which returns data manager

Returns​

undefined | IMapDataManager

Source​

tools/info/model/internal/form/InfoToolMapForm.ts:40


getMapObject()​

protected getMapObject(): IInfoTool\<IInfoToolProps, IInfoToolDefaults, IInfoToolState\<IInfoToolProps, IInfoToolDefaults, IInfoToolConfig>, IInfoToolConfig, IMapToolInitProps\<IInfoToolConfig>>

Returns​

IInfoTool\<IInfoToolProps, IInfoToolDefaults, IInfoToolState\<IInfoToolProps, IInfoToolDefaults, IInfoToolConfig>, IInfoToolConfig, IMapToolInitProps\<IInfoToolConfig>>

Inherited from​

MapObjectForm.getMapObject

Source​

model/internal/form/MapObjectForm.ts:16