ChoroplethLayerToolMapLegend
geovisto-map / ChoroplethLayerToolMapLegend
Class: ChoroplethLayerToolMapLegend
This class provides controls for management of the layer legend.
Author
Tomas Koscielniak
Extends
Implements
Constructors
new ChoroplethLayerToolMapLegend()
new ChoroplethLayerToolMapLegend(
tool
):ChoroplethLayerToolMapLegend
It creates new map Legend with respect to the given props.
Parameters
• tool: IChoroplethLayerTool
\<IChoroplethLayerToolProps
, IChoroplethLayerToolDefaults
, IChoroplethLayerToolState
\<IChoroplethLayerToolProps
, IChoroplethLayerToolDefaults
, IChoroplethLayerToolConfig
, object
, object
>, IChoroplethLayerToolConfig
, IMapToolInitProps
\<IChoroplethLayerToolConfig
>>
Returns
Overrides
MapLayerToolLegend
.constructor
Source
tools/layers/choropleth/model/internal/legend/ChoroplethLayerToolMapLegend.ts:24
Properties
htmlContent
private
htmlContent:HTMLElement
Source
tools/layers/choropleth/model/internal/legend/ChoroplethLayerToolMapLegend.ts:17
Methods
getContent()
getContent(
tool
):undefined
|HTMLElement
It returns the legend.
Parameters
• tool: IChoroplethLayerTool
\<IChoroplethLayerToolProps
, IChoroplethLayerToolDefaults
, IChoroplethLayerToolState
\<IChoroplethLayerToolProps
, IChoroplethLayerToolDefaults
, IChoroplethLayerToolConfig
, object
, object
>, IChoroplethLayerToolConfig
, IMapToolInitProps
\<IChoroplethLayerToolConfig
>>
Returns
undefined
| HTMLElement
Implementation of
Overrides
Source
tools/layers/choropleth/model/internal/legend/ChoroplethLayerToolMapLegend.ts:31
getMapObject()
protected
getMapObject():IChoroplethLayerTool
\<IChoroplethLayerToolProps
,IChoroplethLayerToolDefaults
,IChoroplethLayerToolState
\<IChoroplethLayerToolProps
,IChoroplethLayerToolDefaults
,IChoroplethLayerToolConfig
,object
,object
>,IChoroplethLayerToolConfig
,IMapToolInitProps
\<IChoroplethLayerToolConfig
>>
Returns
IChoroplethLayerTool
\<IChoroplethLayerToolProps
, IChoroplethLayerToolDefaults
, IChoroplethLayerToolState
\<IChoroplethLayerToolProps
, IChoroplethLayerToolDefaults
, IChoroplethLayerToolConfig
, object
, object
>, IChoroplethLayerToolConfig
, IMapToolInitProps
\<IChoroplethLayerToolConfig
>>
Inherited from
MapLayerToolLegend
.getMapObject