Skip to main content

DotLayerToolMapForm

geovisto-mapReadme | API


geovisto-map / DotLayerToolMapForm

Class: DotLayerToolMapForm

This class provides controls for management of the layer sidebar tab.

Author

Vladimir Korencik

Extends

Implements

Constructors

new DotLayerToolMapForm()

new DotLayerToolMapForm(tool): DotLayerToolMapForm

Parameters

tool: IDotLayerTool\<IDotLayerToolProps, IDotLayerToolDefaults, IDotLayerToolState\<IDotLayerToolProps, IDotLayerToolDefaults, IDotLayerToolConfig, object, object>, IDotLayerToolConfig, IMapToolInitProps\<IDotLayerToolConfig>>

Returns

DotLayerToolMapForm

Overrides

MapLayerToolForm.constructor

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:45

Properties

btnGroup

private btnGroup: null | HTMLDivElement

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:33


categoryColor

private categoryColor: HTMLDivElement

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:31


categoryColorForm?

private optional categoryColorForm: ICategoryColorForm[]

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:43


categoryColorInputs?

private optional categoryColorInputs: ICategoryColorInputs

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:42


htmlContent

private htmlContent: HTMLDivElement

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:30


inputs?

private optional inputs: object

category

category: IMapFormInput

color

color: IMapFormInput

latitude

latitude: IMapFormInput

longitude

longitude: IMapFormInput

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:35


tool

private tool: IDotLayerTool\<IDotLayerToolProps, IDotLayerToolDefaults, IDotLayerToolState\<IDotLayerToolProps, IDotLayerToolDefaults, IDotLayerToolConfig, object, object>, IDotLayerToolConfig, IMapToolInitProps\<IDotLayerToolConfig>>

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:32

Methods

addSelectItem()

private addSelectItem(): void

Returns

void

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:108


applyFilters()

private applyFilters(): void

Returns

void

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:163


getAutocompleteInput()

protected getAutocompleteInput(dimension, formAction?): IMapFormInput

Help method which returns a new universal autocomplete input for the any map domain dimension.

Parameters

dimension: IMapDomainDimension\<IMapDomain>

formAction?

Returns

IMapFormInput

Inherited from

MapLayerToolForm.getAutocompleteInput

Source

model/internal/form/MapLayerToolForm.ts:43


getCategoryColorContent()

private getCategoryColorContent(): HTMLDivElement

Returns

HTMLDivElement

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:190


getCheckboxInput()

protected getCheckboxInput(dimension, formAction?): IMapFormInput

Help method which returns a new universal checkbox input for the any map boolean dimension.

Parameters

dimension: IMapTypeDimension\<boolean, ITypeManager\<boolean>>

formAction?

Returns

IMapFormInput

Inherited from

MapLayerToolForm.getCheckboxInput

Source

model/internal/form/MapLayerToolForm.ts:78


getColorInput()

protected getColorInput(dimension, formAction?): IMapFormInput

Help method which returns a new universal color input for the any map string dimension.

Parameters

dimension: IMapTypeDimension\<string, ITypeManager\<string>>

formAction?

Returns

IMapFormInput

Inherited from

MapLayerToolForm.getColorInput

Source

model/internal/form/MapLayerToolForm.ts:96


getContent()

getContent(): HTMLDivElement

It returns a HTML div element conatining the form.

Returns

HTMLDivElement

Implementation of

IMapForm.getContent

Overrides

MapLayerToolForm.getContent

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:79


getInputCategory()

getInputCategory(dimension): IMapFormInput

Parameters

dimension: IMapDomainDimension\<IMapDataDomain>

Returns

IMapFormInput

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:240


getInputCategoryColor()

getInputCategoryColor(dimension): IMapFormInput

Parameters

dimension: IMapTypeDimension\<string, ITypeManager\<string>>

Returns

IMapFormInput

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:260


getInputCategoryColorOperation()

getInputCategoryColorOperation(dimension): IMapFormInput

Parameters

dimension: IMapDomainDimension\<IMapFilterOperation>

Returns

IMapFormInput

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:250


getInputCategoryColorValue()

getInputCategoryColorValue(dimension): IMapFormInput

Parameters

dimension: IMapTypeDimension\<string, ITypeManager\<string>>

Returns

IMapFormInput

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:255


getInputColor()

getInputColor(dimension): IMapFormInput

Parameters

dimension: IMapTypeDimension\<string, ITypeManager\<string>>

Returns

IMapFormInput

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:246


getInputLatitude()

getInputLatitude(dimension): IMapFormInput

Parameters

dimension: IMapDomainDimension\<IMapDataDomain>

Returns

IMapFormInput

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:228


getInputLongtitude()

getInputLongtitude(dimension): IMapFormInput

Parameters

dimension: IMapDomainDimension\<IMapDataDomain>

Returns

IMapFormInput

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:234


getMapObject()

protected getMapObject(): IDotLayerTool\<IDotLayerToolProps, IDotLayerToolDefaults, IDotLayerToolState\<IDotLayerToolProps, IDotLayerToolDefaults, IDotLayerToolConfig, object, object>, IDotLayerToolConfig, IMapToolInitProps\<IDotLayerToolConfig>>

Returns

IDotLayerTool\<IDotLayerToolProps, IDotLayerToolDefaults, IDotLayerToolState\<IDotLayerToolProps, IDotLayerToolDefaults, IDotLayerToolConfig, object, object>, IDotLayerToolConfig, IMapToolInitProps\<IDotLayerToolConfig>>

Inherited from

MapLayerToolForm.getMapObject

Source

model/internal/form/MapObjectForm.ts:16


getNumberInput()

protected getNumberInput(dimension, formAction?): IMapFormInput

Help method which returns a new universal number input for the any map number dimension.

Parameters

dimension: IMapTypeDimension\<number, ITypeManager\<number>>

formAction?

Returns

IMapFormInput

Inherited from

MapLayerToolForm.getNumberInput

Source

model/internal/form/MapLayerToolForm.ts:133


getSliderInput()

protected getSliderInput(dimension, formAction?): IMapFormInput

Help method which returns a new universal slider input for the any map range integer dimension.

Parameters

dimension: IMapTypeDimension\<number, IIntegerRangeManager>

formAction?

Returns

IMapFormInput

Inherited from

MapLayerToolForm.getSliderInput

Source

model/internal/form/MapLayerToolForm.ts:113


getTextInput()

protected getTextInput(dimension, formAction?): IMapFormInput

Help method which returns a new universal text input for the any map domain dimension.

Parameters

dimension: IMapTypeDimension\<string, ITypeManager\<string>>

formAction?

Returns

IMapFormInput

Inherited from

MapLayerToolForm.getTextInput

Source

model/internal/form/MapLayerToolForm.ts:61


getTool()

getTool(): IDotLayerTool\<IDotLayerToolProps, IDotLayerToolDefaults, IDotLayerToolState\<IDotLayerToolProps, IDotLayerToolDefaults, IDotLayerToolConfig, object, object>, IDotLayerToolConfig, IMapToolInitProps\<IDotLayerToolConfig>>

Returns

IDotLayerTool\<IDotLayerToolProps, IDotLayerToolDefaults, IDotLayerToolState\<IDotLayerToolProps, IDotLayerToolDefaults, IDotLayerToolConfig, object, object>, IDotLayerToolConfig, IMapToolInitProps\<IDotLayerToolConfig>>

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:53


removeSelectItem()

private removeSelectItem(e): void

Parameters

e: MouseEvent

Returns

void

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:149


setInputValues()

setInputValues(dimensions): void

It updates selected input values according to the given dimensions.

Parameters

dimensions

dimensions.category: IMapDomainDimension\<IMapDataDomain>

dimensions.categoryColor: IMapTypeDimension\<string, ITypeManager\<string>>

dimensions.categoryColorOp: IMapDomainDimension\<IMapFilterOperation>

dimensions.categoryColorValue: IMapTypeDimension\<string, ITypeManager\<string>>

dimensions.color: IMapTypeDimension\<string, ITypeManager\<string>>

dimensions.latitude: IMapDomainDimension\<IMapDataDomain>

dimensions.longitude: IMapDomainDimension\<IMapDataDomain>

Returns

void

Overrides

MapLayerToolForm.setInputValues

Source

tools/layers/dot/model/internal/form/DotLayerToolMapForm.ts:57