Skip to main content

SpikeLayerToolMapForm

geovisto-mapReadme | API


geovisto-map / SpikeLayerToolMapForm

Class: SpikeLayerToolMapForm

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

Author

Vladimir Korencik

Extends

Implements

Constructors

new SpikeLayerToolMapForm()

new SpikeLayerToolMapForm(tool): SpikeLayerToolMapForm

Parameters

tool: ISpikeLayerTool\<ISpikeLayerToolProps, ISpikeLayerToolDefaults, ISpikeLayerToolState\<ISpikeLayerToolProps, ISpikeLayerToolDefaults, ISpikeLayerToolConfig, object, object>, ISpikeLayerToolConfig, IMapToolInitProps\<ISpikeLayerToolConfig>>

Returns

SpikeLayerToolMapForm

Overrides

MapLayerToolForm.constructor

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:49

Properties

btnGroup

private btnGroup: null | HTMLDivElement

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:34


categoryColor

private categoryColor: HTMLDivElement

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:35


categoryColorForm?

private optional categoryColorForm: ICategoryColorForm[]

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:47


categoryColorInputs?

private optional categoryColorInputs: ICategoryColorInputs

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:46


htmlContent

private htmlContent: HTMLDivElement

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:32


inputs?

private optional inputs: object

aggregation

aggregation: IMapFormInput

category

category: IMapFormInput

color

color: IMapFormInput

latitude

latitude: IMapFormInput

longitude

longitude: IMapFormInput

value

value: IMapFormInput

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:37


tool

private tool: ISpikeLayerTool\<ISpikeLayerToolProps, ISpikeLayerToolDefaults, ISpikeLayerToolState\<ISpikeLayerToolProps, ISpikeLayerToolDefaults, ISpikeLayerToolConfig, object, object>, ISpikeLayerToolConfig, IMapToolInitProps\<ISpikeLayerToolConfig>>

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:33

Methods

addSelectItem()

private addSelectItem(): void

Returns

void

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:120


applyFilters()

private applyFilters(): void

Returns

void

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:175


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/spike/model/internal/form/SpikeLayerToolMapForm.ts:202


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/spike/model/internal/form/SpikeLayerToolMapForm.ts:87


getInputAggregation()

getInputAggregation(dimension): IMapFormInput

Parameters

dimension: IMapDomainDimension\<IMapAggregationFunction>

Returns

IMapFormInput

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:264


getInputCategory()

getInputCategory(dimension): IMapFormInput

Parameters

dimension: IMapDomainDimension\<IMapDataDomain>

Returns

IMapFormInput

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:252


getInputCategoryColor()

getInputCategoryColor(dimension): IMapFormInput

Parameters

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

Returns

IMapFormInput

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:284


getInputCategoryColorOperation()

getInputCategoryColorOperation(dimension): IMapFormInput

Parameters

dimension: IMapDomainDimension\<IMapFilterOperation>

Returns

IMapFormInput

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:274


getInputCategoryColorValue()

getInputCategoryColorValue(dimension): IMapFormInput

Parameters

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

Returns

IMapFormInput

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:279


getInputColor()

getInputColor(dimension): IMapFormInput

Parameters

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

Returns

IMapFormInput

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:270


getInputLatitude()

getInputLatitude(dimension): IMapFormInput

Parameters

dimension: IMapDomainDimension\<IMapDataDomain>

Returns

IMapFormInput

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:240


getInputLongtitude()

getInputLongtitude(dimension): IMapFormInput

Parameters

dimension: IMapDomainDimension\<IMapDataDomain>

Returns

IMapFormInput

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:246


getInputValue()

getInputValue(dimension): IMapFormInput

Parameters

dimension: IMapDomainDimension\<IMapDataDomain>

Returns

IMapFormInput

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:258


getMapObject()

protected getMapObject(): ISpikeLayerTool\<ISpikeLayerToolProps, ISpikeLayerToolDefaults, ISpikeLayerToolState\<ISpikeLayerToolProps, ISpikeLayerToolDefaults, ISpikeLayerToolConfig, object, object>, ISpikeLayerToolConfig, IMapToolInitProps\<ISpikeLayerToolConfig>>

Returns

ISpikeLayerTool\<ISpikeLayerToolProps, ISpikeLayerToolDefaults, ISpikeLayerToolState\<ISpikeLayerToolProps, ISpikeLayerToolDefaults, ISpikeLayerToolConfig, object, object>, ISpikeLayerToolConfig, IMapToolInitProps\<ISpikeLayerToolConfig>>

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(): ISpikeLayerTool\<ISpikeLayerToolProps, ISpikeLayerToolDefaults, ISpikeLayerToolState\<ISpikeLayerToolProps, ISpikeLayerToolDefaults, ISpikeLayerToolConfig, object, object>, ISpikeLayerToolConfig, IMapToolInitProps\<ISpikeLayerToolConfig>>

Returns

ISpikeLayerTool\<ISpikeLayerToolProps, ISpikeLayerToolDefaults, ISpikeLayerToolState\<ISpikeLayerToolProps, ISpikeLayerToolDefaults, ISpikeLayerToolConfig, object, object>, ISpikeLayerToolConfig, IMapToolInitProps\<ISpikeLayerToolConfig>>

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:57


removeSelectItem()

private removeSelectItem(e): void

Parameters

e: MouseEvent

Returns

void

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:161


setInputValues()

setInputValues(dimensions): void

It updates selected input values according to the given dimensions.

Parameters

dimensions

dimensions.aggregation: IMapDomainDimension\<IMapAggregationFunction>

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>

dimensions.value: IMapDomainDimension\<IMapDataDomain>

Returns

void

Overrides

MapLayerToolForm.setInputValues

Source

tools/layers/spike/model/internal/form/SpikeLayerToolMapForm.ts:61