TilesLayerToolMapForm
geovisto-map / TilesLayerToolMapForm
Class: TilesLayerToolMapForm
This class provides functions for management of the layer sidebar tab.
Author
Jiri Hynek
Extends
Implements
Constructors
new TilesLayerToolMapForm()
new TilesLayerToolMapForm(
tool
):TilesLayerToolMapForm
It creates new map form with respect to the given props.
Parameters
• tool: ITilesLayerTool
\<ITilesLayerToolProps
, ITilesLayerToolDefaults
, ITilesLayerToolState
\<ITilesLayerToolProps
, ITilesLayerToolDefaults
, ILayerToolConfig
, ILayerToolDimensionsConfig
, ILayerToolDimensions
>, ILayerToolConfig
, IMapToolInitProps
\<ILayerToolConfig
>>
Returns
Overrides
Source
tools/layers/tiles/model/internal/form/TilesLayerToolMapForm.ts:22
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
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
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
Inherited from
MapLayerToolForm
.getColorInput
Source
model/internal/form/MapLayerToolForm.ts:96
getContent()
getContent():
HTMLDivElement
It returns tab pane which will be placed in sidebar tab.
Returns
HTMLDivElement
Implementation of
Overrides
Source
tools/layers/tiles/model/internal/form/TilesLayerToolMapForm.ts:39
getMapObject()
protected
getMapObject():ITilesLayerTool
\<ITilesLayerToolProps
,ITilesLayerToolDefaults
,ITilesLayerToolState
\<ITilesLayerToolProps
,ITilesLayerToolDefaults
,ILayerToolConfig
,ILayerToolDimensionsConfig
,ILayerToolDimensions
>,ILayerToolConfig
,IMapToolInitProps
\<ILayerToolConfig
>>
Returns
ITilesLayerTool
\<ITilesLayerToolProps
, ITilesLayerToolDefaults
, ITilesLayerToolState
\<ITilesLayerToolProps
, ITilesLayerToolDefaults
, ILayerToolConfig
, ILayerToolDimensionsConfig
, ILayerToolDimensions
>, ILayerToolConfig
, IMapToolInitProps
\<ILayerToolConfig
>>
Inherited from
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
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
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
Inherited from
Source
model/internal/form/MapLayerToolForm.ts:61
setInputValues()
setInputValues(
dimensions
):void
It updates selected input values according to the given dimensions.
Parameters
• dimensions: ILayerToolDimensions
Returns
void
Overrides
MapLayerToolForm
.setInputValues
Source
tools/layers/tiles/model/internal/form/TilesLayerToolMapForm.ts:32