MapLayerToolLegend
geovisto-map / MapLayerToolLegend
Class: abstract
MapLayerToolLegend\<T>
The interface declares functions for management of legends.
Author
Tomas Koscielniak
Extends
MapObjectLegend
\<T
>
Type parameters
• T extends ILayerTool
Constructors
new MapLayerToolLegend()
new MapLayerToolLegend\<
T
>(layerTool
):MapLayerToolLegend
\<T
>
Parameters
• layerTool: T
Returns
Overrides
Source
model/internal/legend/MapLayerToolLegend.ts:12
Methods
getContent()
abstract
getContent(tool
):undefined
|HTMLElement
It returns a HTML div element conatining the legends.
Parameters
• tool: IMapTool
\<IMapToolProps
, IMapToolDefaults
, IMapToolState
\<IMapToolProps
, IMapToolDefaults
, IMapToolConfig
, IMapToolInitProps
\<IMapToolConfig
>>, IMapToolConfig
, IMapToolInitProps
\<IMapToolConfig
>, IMapToolAPI
>
Returns
undefined
| HTMLElement
Overrides
Source
model/internal/legend/MapLayerToolLegend.ts:19
getMapObject()
protected
getMapObject():T
Returns
T