Skip to main content

IMapLegend

geovisto-mapReadme | API


geovisto-map / IMapLegend

Interface: IMapLegend

The interface declares functions for management of legends.

Author

Tomas Koscielniak

Methods

getContent()

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

Source

model/types/legend/IMapLegend.ts:13