MapObjectLegend
geovisto-map / MapObjectLegend
Class: abstract
MapObjectLegend\<T>
The interface declares functions for management of legends.
Author
Tomas Koscielniak
Extended by
Type parameters
• T extends IMapObject
Constructors
new MapObjectLegend()
new MapObjectLegend\<
T
>(mapObject
):MapObjectLegend
\<T
>
Parameters
• mapObject: T
Returns
MapObjectLegend
\<T
>
Source
model/internal/legend/MapObjectLegend.ts:13
Properties
mapObject
private
mapObject:T
Source
model/internal/legend/MapObjectLegend.ts:11
Methods
getContent()
abstract
getContent(tool
):undefined
|HTMLElement
It returns a HTML div element conatining the legend.
Parameters
• tool: IMapTool
\<IMapToolProps
, IMapToolDefaults
, IMapToolState
\<IMapToolProps
, IMapToolDefaults
, IMapToolConfig
, IMapToolInitProps
\<IMapToolConfig
>>, IMapToolConfig
, IMapToolInitProps
\<IMapToolConfig
>, IMapToolAPI
>
Returns
undefined
| HTMLElement
Source
model/internal/legend/MapObjectLegend.ts:24
getMapObject()
protected
getMapObject():T
Returns
T