Skip to main content

MarkerLayerToolMapForm

geovisto-mapReadme | API


geovisto-map / MarkerLayerToolMapForm

Class: MarkerLayerToolMapForm

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

Author

Jiri Hynek

Extends

Implements

Constructors

new MarkerLayerToolMapForm()

new MarkerLayerToolMapForm(tool): MarkerLayerToolMapForm

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

Parameters

tool: IMarkerLayerTool\<IMarkerLayerToolProps, IMarkerLayerToolDefaults, IMarkerLayerToolState\<IMarkerLayerToolProps, IMarkerLayerToolDefaults, IMarkerLayerToolConfig, object, object>, IMarkerLayerToolConfig, IMapToolInitProps\<IMarkerLayerToolConfig>>

Returns

MarkerLayerToolMapForm

Overrides

MapLayerToolForm.constructor

Source

tools/layers/marker/model/internal/form/MarkerLayerToolMapForm.ts:41

Properties

htmlContent

private htmlContent: HTMLDivElement

Source

tools/layers/marker/model/internal/form/MarkerLayerToolMapForm.ts:23


inputs?

private optional inputs: object

aggregation

aggregation: IMapFormInput

category

category: IMapFormInput

geoData

geoData: IMapFormInput

geoId

geoId: IMapFormInput

units

units: IMapFormInput

unitsDesc

unitsDesc: IMapFormInput

unitsEnabled

unitsEnabled: IMapFormInput

value

value: IMapFormInput

Source

tools/layers/marker/model/internal/form/MarkerLayerToolMapForm.ts:25

Methods

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


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 the sidebar tab pane.

Returns

HTMLDivElement

Implementation of

IMapForm.getContent

Overrides

MapLayerToolForm.getContent

Source

tools/layers/marker/model/internal/form/MarkerLayerToolMapForm.ts:67


getInputAggregation()

getInputAggregation(dimension): IMapFormInput

It returns new input for the geo dimension.

Parameters

dimension: IMapDomainDimension\<IMapAggregationFunction>

Returns

IMapFormInput

Source

tools/layers/marker/model/internal/form/MarkerLayerToolMapForm.ts:137


getInputCategory()

getInputCategory(dimension): IMapFormInput

It returns new input for the geo dimension.

Parameters

dimension: IMapDomainDimension\<IMapDataDomain>

Returns

IMapFormInput

Source

tools/layers/marker/model/internal/form/MarkerLayerToolMapForm.ts:146


getInputGeoData()

getInputGeoData(dimension): IMapFormInput

It returns new input for the geo data dimension.

Parameters

dimension: IMapDomainDimension\<IGeoData>

Returns

IMapFormInput

Source

tools/layers/marker/model/internal/form/MarkerLayerToolMapForm.ts:110


getInputGeoId()

getInputGeoId(dimension): IMapFormInput

It returns new input for the geo id dimension.

Parameters

dimension: IMapDomainDimension\<IMapDataDomain>

Returns

IMapFormInput

Source

tools/layers/marker/model/internal/form/MarkerLayerToolMapForm.ts:119


getInputUnits()

getInputUnits(dimension): IMapFormInput

It returns new input for the units dimension.

Parameters

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

Returns

IMapFormInput

Source

tools/layers/marker/model/internal/form/MarkerLayerToolMapForm.ts:167


getInputUnitsDesc()

getInputUnitsDesc(dimension): IMapFormInput

It returns new input for the units description dimension.

Parameters

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

Returns

IMapFormInput

Source

tools/layers/marker/model/internal/form/MarkerLayerToolMapForm.ts:176


getInputUnitsEnabled()

getInputUnitsEnabled(dimension): IMapFormInput

It returns new input for the enabling inputs dimension.

Parameters

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

Returns

IMapFormInput

Source

tools/layers/marker/model/internal/form/MarkerLayerToolMapForm.ts:155


getInputValue()

getInputValue(dimension): IMapFormInput

It returns new input for the geo dimension.

Parameters

dimension: IMapDomainDimension\<IMapDataDomain>

Returns

IMapFormInput

Source

tools/layers/marker/model/internal/form/MarkerLayerToolMapForm.ts:128


getMapObject()

protected getMapObject(): IMarkerLayerTool\<IMarkerLayerToolProps, IMarkerLayerToolDefaults, IMarkerLayerToolState\<IMarkerLayerToolProps, IMarkerLayerToolDefaults, IMarkerLayerToolConfig, object, object>, IMarkerLayerToolConfig, IMapToolInitProps\<IMarkerLayerToolConfig>>

Returns

IMarkerLayerTool\<IMarkerLayerToolProps, IMarkerLayerToolDefaults, IMarkerLayerToolState\<IMarkerLayerToolProps, IMarkerLayerToolDefaults, IMarkerLayerToolConfig, object, object>, IMarkerLayerToolConfig, IMapToolInitProps\<IMarkerLayerToolConfig>>

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


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.geoData: IMapDomainDimension\<IGeoData>

dimensions.geoId: IMapDomainDimension\<IMapDataDomain>

dimensions.round: IMapTypeDimension\<number, ITypeManager\<number>>

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

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

dimensions.unitsEnabled: IMapTypeDimension\<boolean, ITypeManager\<boolean>>

dimensions.value: IMapDomainDimension\<IMapDataDomain>

Returns

void

Overrides

MapLayerToolForm.setInputValues

Source

tools/layers/marker/model/internal/form/MarkerLayerToolMapForm.ts:50