MarkerLayerToolMapLegend
geovisto-map / MarkerLayerToolMapLegend
Class: MarkerLayerToolMapLegend
This class provides controls for management of the layer legend.
Author
Tomas Koscielniak
Extends
Implements
Constructors
new MarkerLayerToolMapLegend()
new MarkerLayerToolMapLegend(
tool):MarkerLayerToolMapLegend
It creates new map Legend with respect to the given props.
Parameters
• tool: IMarkerLayerTool\<IMarkerLayerToolProps, IMarkerLayerToolDefaults, IMarkerLayerToolState\<IMarkerLayerToolProps, IMarkerLayerToolDefaults, IMarkerLayerToolConfig, object, object>, IMarkerLayerToolConfig, IMapToolInitProps\<IMarkerLayerToolConfig>>
Returns
Overrides
MapLayerToolLegend.constructor
Source
tools/layers/marker/model/internal/legend/MarkerLayerToolMapLegend.ts:23
Properties
htmlContent
privatehtmlContent:HTMLElement
Source
tools/layers/marker/model/internal/legend/MarkerLayerToolMapLegend.ts:16
Methods
getContent()
getContent(
tool):undefined|HTMLElement
It returns the legend.
Parameters
• tool: IMarkerLayerTool\<IMarkerLayerToolProps, IMarkerLayerToolDefaults, IMarkerLayerToolState\<IMarkerLayerToolProps, IMarkerLayerToolDefaults, IMarkerLayerToolConfig, object, object>, IMarkerLayerToolConfig, IMapToolInitProps\<IMarkerLayerToolConfig>>
Returns
undefined | HTMLElement
Implementation of
Overrides
Source
tools/layers/marker/model/internal/legend/MarkerLayerToolMapLegend.ts:30
getMapObject()
protectedgetMapObject():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
MapLayerToolLegend.getMapObject