2.260 MapLegend

Applies to RDL 2010/01 and RDL 2016/01

The MapLegend element specifies a legend to be drawn in a Map.

The following are the parent element, attribute, and child elements of the MapLegend element.

Parent elements

MapLegends

Attributes

MapLegend.Name

Child elements

MapLegend.ActionInfo

MapLegend.AutoFitTextDisabled

MapLegend.BottomMargin

MapLegend.DockOutsideViewport

MapLegend.EquallySpacedItems

MapLegend.Hidden

MapLegend.InterlacedRows

MapLegend.InterlacedRowsColor

MapLegend.Layout

MapLegend.LeftMargin

MapLegend.MapLegendTitle

MapLegend.MapLocation

MapLegend.MapSize

MapLegend.MinFontSize

MapLegend.Position

MapLegend.RightMargin

MapLegend.Style

MapLegend.TextWrapThreshold

MapLegend.ToolTip

MapLegend.TopMargin

MapLegend.ZIndex

The following is the XML Schema definition of the MapLegend element.

 <xsd:complexType name="MapLegendType">
   <xsd:choice maxOccurs="unbounded">
     <!--MapSubItem Start-->
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <xsd:element name="MapLocation" type="MapLocationType" minOccurs="0" />
     <xsd:element name="MapSize" type="MapSizeType" minOccurs="0" />
     <xsd:element name="LeftMargin" type="xsd:string" minOccurs="0" />
     <xsd:element name="RightMargin" type="xsd:string" minOccurs="0" />
     <xsd:element name="TopMargin" type="xsd:string" minOccurs="0" />
     <xsd:element name="BottomMargin" type="xsd:string" minOccurs="0" />
     <xsd:element name="ZIndex" type="xsd:string" minOccurs="0" />
     <!--MapSubItem End-->
     <!--MapDockableSubItem Start-->
     <xsd:element name="Position" type="xsd:string" minOccurs="0" />
     <xsd:element name="DockOutsideViewport" type="xsd:string" minOccurs="0" />
     <xsd:element name="Hidden" type="xsd:string" minOccurs="0" />
     <xsd:element name="ActionInfo" type="ActionInfoType" minOccurs="0" />
     <xsd:element name="ToolTip" type="xsd:string" minOccurs="0" />
     <!--MapDockableSubItem End-->
     <xsd:element name="Layout" type="xsd:string" minOccurs="0" />
     <xsd:element name="MapLegendTitle" type="MapLegendTitleType" minOccurs="0" />
     <xsd:element name="AutoFitTextDisabled" type="xsd:string" minOccurs="0" />
     <xsd:element name="MinFontSize" type="xsd:string" minOccurs="0" />
     <xsd:element name="InterlacedRows" type="xsd:string" minOccurs="0" />
     <xsd:element name="InterlacedRowsColor" type="xsd:string" minOccurs="0" />
     <xsd:element name="EquallySpacedItems" type="xsd:string" minOccurs="0" />
     <xsd:element name="TextWrapThreshold" type="xsd:string" minOccurs="0" />
     <xsd:any namespace="##other" processContents="lax" />
   </xsd:choice>
   <xsd:attribute name="Name" type="xsd:normalizedString" use="required" />
   <xsd:anyAttribute namespace="##other" processContents="lax" />
 </xsd:complexType>