MapLegend Class

Declaration

export class MapLegend extends MapLegendBase

Inherited Members

Inheritance

MapLegendBase
MapLegend

constructor

Initializes a new instance of the MapLegend class.

Declaration

constructor(
    modelJson?: any,
    serializer?: ModelSerializer
)

Parameters

Name Type Description
modelJson any

A JSON object used for dashboard deserialization. Do not pass this parameter directly.

serializer ModelSerializer

An object used for dashboard deserialization. Do not pass this parameter directly.

Properties

orientation Property

Declaration

orientation: ko.Observable<MapLegendOrientation>

Property Value

Type
Observable<MapLegendOrientation>

Methods

getInfo Method

For internal use.

Declaration

getInfo(): ISerializationInfoArray

Returns

Type Description
ISerializationInfoArray

An array of objects that provide serialization info.