MapServerLegendGroup

A class containing a group of legend classes.

Property

Type

Description

Heading

string

The title of the group of legend classes.

LegendClasses

MapServerLegendClass[]

Array of legend classes, each referencing a label and symbol swatch.

Remarks

Legends are associated with renderers that belong to each layer in a map. Each layer has a separate renderer. Each renderer has one or more legend groups. Each legend group has one or more legend classes. MapServerLegendClass objects are part of a MapServerLegendGroup object and these are part of a MapServerLegendInfo object. MapServerLegendInfo objects are returned from a call to the GetLegendInfo method on a map service.

11/8/2016